View previous topic :: View next topic
|
Author |
Message |
jramuk
New User
Joined: 14 Nov 2007 Posts: 18 Location: US
|
|
|
|
Hi,
I would require the output for the following input. Could you help me out.
Input.
AAAA;B001;B002;B0003
BBBB;B004;B005;B006
AAAA;B003;B004;B007
CCCC;B006;B007;B009
Output.
AAAA;B001;B002;B003;B004;B007
BBBB;B004;B005;B006
CCCC;B006;B007;B009
The record AAAA should be written only once and the repeating error number (B003) should be written only once.
Thanks |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
how many unique error numbers possible? |
|
Back to top |
|
|
jramuk
New User
Joined: 14 Nov 2007 Posts: 18 Location: US
|
|
|
|
The unique error numbers would be 30 |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
what is the input lrecl. assume the output lrecl is 155 max.
do you want VB files or a 155 FB output? |
|
Back to top |
|
|
jramuk
New User
Joined: 14 Nov 2007 Posts: 18 Location: US
|
|
|
|
It is FB file with 155 lrecl |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Though it is a DFSORT solution to a request in the JCL forum (which is normally syncsort),
the following link may give you an idea on how to solve your problem:
ibmmainframes.com/viewtopic.php?t=54373 |
|
Back to top |
|
|
|