SORT to process the records under group



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

SORT to process the records under group

Postby dn2012 » Tue Feb 28, 2012 10:27 pm

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
dn2012
 
Posts: 114
Joined: Thu Feb 16, 2012 6:10 am
Has thanked: 0 time
Been thanked: 0 time

Re: SORT to process the records under group

 

Re: SORT

Postby enrico-sorichetti » Tue Feb 28, 2012 11:14 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: SORT

Postby Frank Yaeger » Wed Feb 29, 2012 12:44 am

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
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
User avatar
Frank Yaeger
Global moderator
 
Posts: 1080
Joined: Sat Jun 09, 2007 8:44 pm
Has thanked: 0 time
Been thanked: 14 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post