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

Does DFSORT have length limit?


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jay86

New User


Joined: 01 Aug 2005
Posts: 14

PostPosted: Thu Oct 20, 2005 3:13 pm
Reply with quote

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
View user's profile Send private message
tom_mat

New User


Joined: 13 Jul 2005
Posts: 11

PostPosted: Thu Oct 20, 2005 3:34 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Thu Oct 20, 2005 7:52 pm
Reply with quote

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
View user's profile Send private message
jay86

New User


Joined: 01 Aug 2005
Posts: 14

PostPosted: Fri Oct 21, 2005 6:33 am
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Sun Oct 23, 2005 9:01 pm
Reply with quote

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
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top