how Split works



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

how Split works

Postby Naagju » Sun Mar 06, 2011 3:36 pm

How to copy alternate records from an input file intoto ps1 and ps2, suppose the input has 10 records?
Edited to be consistent with the job posted.

//STEPNAME EXEC PGM=SORT
//SORTIN DD DSN=SORTIN.INPUT.FILE.TO.SPLIT,DISP=SHR
//PS1    DD DSN=PS1.FILE,DISP=SHR
//PS2    DD DSN=PS2.FILE,DISP=SHR
//SYSIN DD *
  OUTFIL FNAMES=(PS1,PS2),SPLIT



Regards!!
Naagju.
Naagju
 
Posts: 16
Joined: Tue Feb 22, 2011 10:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how Split works

 

Re: how Split works

Postby dick scherrer » Sun Mar 06, 2011 9:34 pm

Hello,

Your post has been edited because it was not workable as posted.

The reply that mentioned a manual has been deleted as it used the wrong "Manual Title".

Suggest you read here (Smart DFSORT Tricks):
ftp://ftp.software.ibm.com/storage/dfso ... rttrck.pdf
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post