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

What is SORTPARM in JCL


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

New User


Joined: 19 May 2005
Posts: 15

PostPosted: Thu May 26, 2005 10:17 am
Reply with quote

please explain about SORTPARM IN JCL.

vinci
Back to top
View user's profile Send private message
Ganesh K Rajan

New User


Joined: 13 May 2005
Posts: 7

PostPosted: Thu May 26, 2005 10:53 am
Reply with quote

Hi Vincent,

Can u be more specific abt ur question.
Are u asking abt the SORT parameters or anything else.

Rgs,
Ganesh.K
Back to top
View user's profile Send private message
laxmi

New User


Joined: 24 May 2005
Posts: 9

PostPosted: Thu May 26, 2005 11:06 am
Reply with quote

hai,
SORT it is a UTILITY program used to sort the file based on the offset externally in JCL

Here is one example


//JOB1 JOB
//STEP1 EXEC PGM=SORT
//SYSPRINT DD SYSOUT = A
//SORTIN DD DSN=FILE.ORIGINAL, DISP = SHR
//SORTOUT DD DSN=FILE.SORTED,DISP=SHR
//SYSIN DD *
SORT FIELDS=(2,5,A,CH)
/*
//

BY USING THE ABOVE CODE WE CAN SORT THE FILE.ORIGINAL AND THE RESULTANT FILE WILL BE IN THE FILE.SORTED

I think it is more specific if u have any doubts plz let me know
bye
laxmi
Back to top
View user's profile Send private message
avalanches

New User


Joined: 10 May 2005
Posts: 28

PostPosted: Thu May 26, 2005 12:47 pm
Reply with quote

Please go through the following link for more info.

www-1.ibm.com/servers/eserver/zseries/zose/bkserv/zose/dfsortz16_srch.html
Back to top
View user's profile Send private message
vishal_a

New User


Joined: 24 May 2005
Posts: 45
Location: Noida

PostPosted: Thu May 26, 2005 2:15 pm
Reply with quote

sortparm is a option used while we sort file in cobol. This is given with the compiler utility.
Back to top
View user's profile Send private message
josephvincentd
Warnings : 1

New User


Joined: 19 May 2005
Posts: 15

PostPosted: Fri May 27, 2005 9:11 pm
Reply with quote

hallo friends i have got the answer thru my friend

it is actually the parameters used for sorting .

thanks a lot for ur reply

vinci
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

 


Search our Forums:

Back to Top