View previous topic :: View next topic
|
Author |
Message |
sreejit_thoosath
New User
Joined: 18 Jan 2007 Posts: 5 Location: Pune
|
|
|
|
I am trying to sort a file of RECFM=FB,recl=80 into a "VB" recfm with maximum 80 recl using the "SORT" utility.
But the JCL is giving a retcode=16 with the following msg:
Code: |
ICE043A INVALID DATA SET ATTRIBUTES SPECIFIED SORTOUT RECFM
ICE052I END OF DFSORT
|
how do u resolve this error ?? |
|
Back to top |
|
|
Mfprogrammer
New User
Joined: 24 May 2006 Posts: 6
|
|
|
|
Hi,
Could you post your step here. What LRECL did you specify in our SORTOUT VB dataset? |
|
Back to top |
|
|
sreejit_thoosath
New User
Joined: 18 Jan 2007 Posts: 5 Location: Pune
|
|
|
|
the recl that I defined for the output PS is 84 (since the first 4 bytes store the length of the record) |
|
Back to top |
|
|
Mfprogrammer
New User
Joined: 24 May 2006 Posts: 6
|
|
|
|
Could you post your step here? |
|
Back to top |
|
|
sreejit_thoosath
New User
Joined: 18 Jan 2007 Posts: 5 Location: Pune
|
|
|
|
here's my step :
Code: |
//STEP1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=XXXXXXX.TEST.SORT.INPUT,DISP=SHR
//SORTOUT DD DSN=XXXXXXX.TEST.SORT.OUTPUT,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(10,10),RLSE),
// DCB=(LRECL=84,RECFM=VB)
//SYSIN DD *
SORT FIELDS=(4,20,CH,A)
/*
|
|
|
Back to top |
|
|
sreejit_thoosath
New User
Joined: 18 Jan 2007 Posts: 5 Location: Pune
|
|
|
|
P.S. Here the RECFM of SORTIN is "FB" |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
sreejit_thoosath
New User
Joined: 18 Jan 2007 Posts: 5 Location: Pune
|
|
|
|
GOT IT !!!.....THANX |
|
Back to top |
|
|
|