Order of processing SYSIN statements.



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

Order of processing SYSIN statements.

Postby ranga_subham » Mon Oct 20, 2008 4:17 pm

Hi,

I would like to know the order of processing of below SYSIN statements.

INREC FIELDS=(5,10,81:SEQNUM,3,ZD)
SORT FIELDS=(5,10,CH,A)           
SUM FIELDS=NONE                   


When I executed the job, it first processed INREC I thought but not sure.

Later I changed the SYSIN statements like below, but got same results !

SORT FIELDS=(5,10,CH,A)           
INREC FIELDS=(5,10,81:SEQNUM,3,ZD)
SUM FIELDS=NONE                   


All in all, I would like to know how one knows the order of input statements processed by SORT.

Please explain.

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

Re: Order of processing SYSIN statements.

Postby Alissa Margulies » Mon Oct 20, 2008 9:01 pm

It does not matter which order you specify the control cards in the job stream. INREC processing occurs before SORT processing, and then SUM occurs after the SORT. Please refer to Chapter 8 in the SyncSort for z/OS Programmer's Guide for the complete Flow of the Sort.
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: Order of processing SYSIN statements.

Postby ranga_subham » Mon Oct 20, 2008 9:03 pm

Thank you very much Alissa........ 8-)
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