Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Does DFSORT have length limit?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Does DFSORT have length limit?
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    Post subject: Re: DOES DFSORT HAVE LENGTH LIMIT?
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 Moderator


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

PostPosted: Thu Oct 20, 2005 7:52 pm    Post subject:
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    Post subject:
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 Moderator


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

PostPosted: Sun Oct 23, 2005 9:01 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts DFSORT MUL FIELDS tspr52 DFSORT/ICETOOL 16 Fri Mar 03, 2017 11:53 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us