I have a requirement in a project .
I have a input file which his FB and lrecl of 424 . I have to use two fields in that file to check a condition say its sorted by address field.
The starting position for the account his 1 and the length his 9 and for address feild his 66 and the length his 192 the address feild occurs 6 times with length of 32 each. in this example i have just given the line 1 of the address.
Sample input file
Code: Select all
Account no Address line 1
ABC993267 china
ABC913450 china
ABC113450 china
ABC998740 india
ABC138740 india
ABC923240 india
DEF123423 india
DEF928740 india
GHI912340 usa
GHI992140 usa
Code: Select all
Output
Account Address line 1
ABC993267 china
ABC913450
ABC113450
ABC998740 india
ABC138740
ABC923240
DEF123423
DEF928740
Thanks in advance