Page 1 of 1

SORT to process the records under group

PostPosted: Tue Feb 28, 2012 10:27 pm
by dn2012
Hello,
I have a current JCL and its work fine.

000011 //STEP010 EXEC PGM=IEBGENER
000012 //SYSUT1 DD DSN=SYSMC.TCIS.AGNCYIMF.DATA (-4),DISP=SHR
000013 //SYSUT2 DD DSN=IMSTESTA.IMF310.ITD.SOURCE(TCIS0228),DISP=SHR
000014 //SYSIN DD DUMMY
000015 //SYSPRINT DD SYSOUT=*
000016 //*SYSUT1 DD *
000017 //*

Now I like to add SORTING. I like to process the records under group MCIPROB from SYSMC.TCIS.AGNCYIMF.DATA (-4).

How should I add sort feature here?

Thank You

Re: SORT

PostPosted: Tue Feb 28, 2012 11:14 pm
by enrico-sorichetti
add a SORT step, to invoke the sort product installed in Your organization providing the proper sort control statements :geek:

since You did not care to tell anything about record layout and <sort> process to be done that' s the best answer You might get

Re: SORT

PostPosted: Wed Feb 29, 2012 12:44 am
by Frank Yaeger
dn2012,

If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:

http://www.ibm.com/support/docview.wss? ... g3T7000080