View previous topic :: View next topic
|
Author |
Message |
nutan
New User
Joined: 27 Jan 2006 Posts: 26
|
|
|
|
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 |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
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 |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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 |
|
|
|