Where are rest of records?



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

Where are rest of records?

Postby ranga_subham » Tue Sep 30, 2008 4:38 pm

Hi,

I am using below INCLUDE condition on an input file with 223942 no. of records.

//SYSIN    DD *                     
 SORT FIELDS=COPY                   
 INCLUDE COND=(726,6,CH,NE,C'??????')
/*                                   


It gives me 289 records in the output file. How to capture the remaining records into a separate file?

Please help.

TIA.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: Where are rest of records?

Postby Alissa Margulies » Tue Sep 30, 2008 8:30 pm

Try this:
//SORT1  EXEC PGM=SORT                   
//SORTIN   DD DSN=input.file
//SORTOUT  DD DSN=output.file                           
//SORTOF01 DD DSN=remaining.records
//SYSOUT   DD SYSOUT=*
//SYSIN    DD *                                     
  SORT FIELDS=COPY                                   
  OUTFIL FILES=OUT,INCLUDE=(726,6,CH,NE,C'??????')
  OUTFIL FILES=01,SAVE           
/*
Alissa Margulies
Syncsort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Alissa Margulies
Global moderator
 
Posts: 369
Joined: Tue Feb 26, 2008 11:15 pm
Location: USA
Has thanked: 1 time
Been thanked: 3 times

Re: Where are rest of records?

Postby ranga_subham » Tue Sep 30, 2008 8:44 pm

Alissa, Thank you very much for speedy reply............ :D

You are excellent ! :idea:

Thanks once again.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post