shri_shant New User Joined: 26 Oct 2005 Posts: 16
Hello friends I need your help in solving following question?
How to sort following records ?
I have flat seq. file in which Names & phone nos. are written continuously without space. In which names having diff. length. record format of file is FB .
Thanks in advance...
pushpagiri New User Joined: 07 Jul 2005 Posts: 51
I assume your LRECL = 80.Try this code.
//STEP1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=H
//SORTIN DD DSN=U123194.PUSH.F1,DISP=SHR
//SORTOUT DD DSN=U123194.PUSH.F93,DISP=(NEW,CATLG,DELETE),
//SYSIN DD *
Frank Yaeger DFSORT Moderator Joined: 15 Feb 2005 Posts: 7130 Location: San Jose, CA
If that doesn't help, you need to explain in more detail what you're trying to do, and show an example of your input records and what you want the output records to look like. Also, what is the RECFM and LRECL of the input file?
All times are GMT + 6 Hours