|
View previous topic :: View next topic
|
| Author |
Message |
josephvincentd Warnings : 1 New User

Joined: 19 May 2005 Posts: 15
|
|
|
|
please explain about SORTPARM IN JCL.
vinci |
|
| Back to top |
|
 |
Ganesh K Rajan
New User

Joined: 13 May 2005 Posts: 7
|
|
|
|
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 |
|
 |
laxmi
New User
Joined: 24 May 2005 Posts: 9
|
|
|
|
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 |
|
 |
avalanches
New User

Joined: 10 May 2005 Posts: 28
|
|
| Back to top |
|
 |
vishal_a
New User

Joined: 24 May 2005 Posts: 45 Location: Noida
|
|
|
|
| sortparm is a option used while we sort file in cobol. This is given with the compiler utility. |
|
| Back to top |
|
 |
josephvincentd Warnings : 1 New User

Joined: 19 May 2005 Posts: 15
|
|
|
|
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 |
|
 |
|
|