Hi All,
I have two file of same format with Header and trailer. I want to append records from one file say File B to another file say File A, and I have to update the trailer count of the file A to which the records are appended. So now the Trailer count in File A will be (No of records in File A + No of records appended from File B).
Header will start with 'A in first 8 bytes. The trailer will start with '9' in first 8 bytes and 6 bytes after this will be the count of the records in the file (in the above case it is 000007). The files are VB file with Lrecl 436.
Another important thing, ICETOOL wont work in my system. Only DFSORT will work. So could any one tell me can this requirement be done with DFSORT tool. Please let me know at the earliest.
I searched the forum but end up with results having only ICETOOL to accomplish the requirements similar to mine. Please advice.
ya I am sure. Thats why I posted otherwise I could have used the results from my search. All the results of my search are explained with ICETOOL only. It is not working in my system. I dont know much about the configuration but I am saying this after getting error when I run the code posted in the searched forums.
Hello everybody, I have searched the forum none of the previos question matches mine. there is a slight difference, Please help me on this. Please help me on ICETOOL itself. I am using the following code. It giving error which is given below,
You have a blank after FNAMES=OPFILE instead of a comma. The blank ends the OUTFIL statement so the next line is flagged as an error. You also have TRAILER1 which is invalid for SECTIONS - you need TRAILER3 with SECTIONS. So the statements should be:
I can't figure out what you're trying to do here. 14,6,ZD doesn't seem to be a valid ZD field.
You would have done better to spend more time showing your input and output and what you wanted to accomplish rather than complaining about how you can't use ICETOOL.
I think you want to combine the two input files to get an output file with just one header, the sorted data records, and a trailer with the count of data records. I believe this DFSORT/ICETOOL job will do that.