IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How the data is to be stored in dataset for sorting


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nutan

New User


Joined: 27 Jan 2006
Posts: 26

PostPosted: Tue Feb 07, 2006 4:44 pm
Reply with quote

Hi,
Just tell me how to use sort utility in JCL ? How the data is to be stored in dataset for sorting ?

regards,
Nutan
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Tue Feb 07, 2006 5:03 pm
Reply with quote

HI,


Quote:
Just tell me how to use sort utility in JCL How the data is to be stored in dataset for sorting ?


COde in following way in your JCL

Code:

//STEP01      EXEC PGM=SORT
//SORTIN      DD DSN=<dataset name>,DISP=SHR
//SORTOUT   DD DSN=<dataset name>,
//                 DISP=(new,catlg,delete) 
//SYSIN         DD *                     
  sort control statements described below?
/*
//SYSOUT       DD SYSOUT=*
//SYSUDUMP   DD SYSOUT=*


Input file should be mentioned in SORTIN and outout in SORTOUT.

Hope it is clear now.

Regards
Rupesh
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Feb 07, 2006 10:41 pm
Reply with quote

Nutan,

Since 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:

Use [URL] BBCode for External Links
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top