We are going to be receiving files containing header information. This will be 1 line of code in each file containing the following format:
20050719hhmmsssfgr00310000537000000000000000
My question is...How can I pull parts of the header info and set it to vars in my shell. I will be inserting this information into an Oracle Table.
Also, contained in the header information, is the total amount of records contained in the file. Somone suggested that I could compare this amount with the sqlldr info. Any ideas on how I could do this?
If you are in the Columbus area. I will pick up the beer tab for this one.
If the orientation of data presented in that header information is always the same, then, why dont you look for the first n characters, or n characters starting from k-th postion etc.