gopalrathi
Programmer
Hi All,
This is my first post in this forum.
I want to know if following can be achieved through SORT (DFSORT or SYNCSORT)or I need to have a program for this.
Input file is as follows. A and B are record types and TRL has the count of A and B records.
HDR
A
A
B
TRL0003
The output of SORT should be two files as follows
HDR
A
A
TRL0002
and....
HDR
B
TRL0001
HDR is same as in the input file. Files are fixed length (900 bytes). Platform : OS/390
Thanks,
Gopal.
This is my first post in this forum.
I want to know if following can be achieved through SORT (DFSORT or SYNCSORT)or I need to have a program for this.
Input file is as follows. A and B are record types and TRL has the count of A and B records.
HDR
A
A
B
TRL0003
The output of SORT should be two files as follows
HDR
A
A
TRL0002
and....
HDR
B
TRL0001
HDR is same as in the input file. Files are fixed length (900 bytes). Platform : OS/390
Thanks,
Gopal.