Can anyone help,
I have a file which contains some records.In this file at 21st position if I have 'AC' then I need to format the data at 55th position for all the records.How can I do this using sort and also the rest of the records have to be copied?
But can u please tell me how to do the same thing using ICETOOL. Actually as far as formatting is concerned I want the 4 digits from 32 position to be moved to 36th and they should be preceeded by 4 zeroes.
I want the 4 digits from 32 position to be moved to 36th and they should be preceeded by 4 zeroes.
To show you how to do that, I need you to tell me the RECFM and LRECL of your input file and output file. Since you're adding 4 bytes to those records, do you want to remove the last 4 bytes from those records, or do you want to expand all of the records by 4 bytes. It would be best if you showed an example of your input records and expected output records.
You could have saved everyone time by giving the details of what you wanted in your first post. Please do that in the future.