|
|
| Author |
Message |
jay86
New User
Joined: 01 Aug 2005 Posts: 13
|
|
|
|
I HAVE A PROBLEM.
WHEN I SORT A FILE
| Code: |
//SORT02 EXEC PGM=SORT,COND=(0,NE)
//SYSOUT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTWK01 DD UNIT=3390,SPACE=(CYL,(30,30),RLSE)
//SORTWK02 DD UNIT=3390,SPACE=(CYL,(30,30),RLSE)
//SORTWK03 DD UNIT=3390,SPACE=(CYL,(30,30),RLSE)
//SORTWK04 DD UNIT=3390,SPACE=(CYL,(30,30),RLSE)
//SORTWK05 DD UNIT=3390,SPACE=(CYL,(30,30),RLSE)
//SORTWK06 DD UNIT=3390,SPACE=(CYL,(30,30),RLSE)
//SORTMSG DD SYSOUT=*
//SORTIN DD DSN=CS01CPRD.S.CLB0003.AMBSRLS,DISP=SHR
//SORTOUT DD DSN=CS01CPRD.S.CLB0003.AMBSRLS.SORT,
// DISP=(NEW,CATLG,DELETE),
// UNIT=3390,SPACE=(CYL,(20,50),RLSE),
// DCB=(RECFM=FB,LRECL=6000,BLKSIZE=0)
//SYSIN DD *
SORT FIELDS=(4085,10,CH,A)
/* |
THE RETURN MESSAGE IS
| Code: |
1ICE000I J - CONTROL STATEMENTS FOR 5740-SM1, DFSORT REL 14.0 - 17:39 ON THU OCT
0 SORT FIELDS=(4085,19,CH,A)
ICE017A N CONTROL FIELD DISPLACEMENT OR LENGTH VALUE ERROR
ICE052I J END OF DFSORT |
WHAT IS THE PROBLEM?
THANKS FOR YOUR REPLY. |
|
| Back to top |
|
 |
References
|
|
 |
tom_mat
New User
Joined: 13 Jul 2005 Posts: 11
|
|
|
|
ICE017A CONTROL FIELD DISPLACEMENT OR LENGTH VALUE ERROR
Explanation: Critical.
The message was issued for one of the following reasons:
The length or position of a control field was specified incorrectly.
The position plus length for a control field exceeded 32753.
A bit position or length specified a control field whose format is not BI.
A bit position or length exceeded 7.
VLSHRT was in effect and control fields were too complex.
Check the position, length, and format of each control field for the situations described above.
Cheers |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Moderator
Joined: 15 Feb 2005 Posts: 4621 Location: San Jose, CA
|
|
|
|
| You're really behind on DFSORT service. Sort fields up to position 32752 have been supported in DFSORT since March, 2002. You don't have that PTF installed or any of the other functional PTFs since then. Ask your System Programmer to install DFSORT R14 PTF UQ95213 (Dec, 2004). That will give you all of the current DFSORT functional PTFs. |
|
| Back to top |
|
 |
jay86
New User
Joined: 01 Aug 2005 Posts: 13
|
|
|
|
thanks
but i still don't kown clearly,32752 bits?
in my case,the file length is 6000 bytes and i want to sort the field (4085,19).
thanks for your help again. |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Moderator
Joined: 15 Feb 2005 Posts: 4621 Location: San Jose, CA
|
|
|
|
| A field of 4085,19 ends in position 4103. Prior to the March, 2002 PTF, DFSORT only supported sort fields that ended at or before position 4092. With the March, 2002 PTF, DFSORT supports sort fields that end at or before position 32752. |
|
| Back to top |
|
 |
|
|
|