Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
SORT Error: VARIABLE RECORD IS SHORTER THAN 1204

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
avaneendra_linga

New User


Joined: 13 Dec 2006
Posts: 73
Location: Hyderabad

PostPosted: Wed Apr 18, 2007 3:01 pm    Post subject: SORT Error: VARIABLE RECORD IS SHORTER THAN 1204
Reply with quote

HI WHEN I AM REFORMATING THE VB FILE , I AM GETTING THE FOLLWOING ERROR CAN ANY BODY HELP ON THIS....
WHILE REFORMATING I NEED TO CHANGE 236 TH CHAR AS 'N' .
LENGH OF THE INPUT AND OUTPUT VB FILES ARE 1204.

Code:

//CTL2CNTL DD   *                                         
  OUTFIL FNAMES=EXCEP,REMOVECC,INCLUDE=(67,3,CH,EQ,C'100'),
    OUTREC=(1,235,C'Y',237:237,968)                         
  SORT FIELDS=(7,60,A,67,3,A),FORMAT=BI,EQUALS,           
    FILSZ=E50000000,DYNALLOC=SYSALLDA                       
/*     


ERROR:ICE218A 3 833 BYTE VARIABLE RECORD IS SHORTER THAN 1204 BYTE FOR EXCEP FIELDS
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed Apr 18, 2007 3:31 pm    Post subject:
Reply with quote

Variable means that some of the records might not be as long as the max record size. The error is saying that at least one is shorter.
Have a look at the section on OUTREC in your sort manual, I think you will find a way to specify filling out the record from 237 to the end of the record without having to tell it how long the record is.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Wed Apr 18, 2007 3:49 pm    Post subject:
Reply with quote

avaneendra,

Change the outrec statement in your sort card to-

Code:
OUTREC OVERLAY=(236:C'Y')
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: Wed Apr 18, 2007 8:59 pm    Post subject:
Reply with quote

Change the OUTREC parameter in your OUTFIL statement to:

Code:

  OUTFIL FNAMES=EXCEP,REMOVECC,INCLUDE=(67,3,CH,EQ,C'100'),
    OUTREC=(1,235,C'Y',237:237)
...


This tells DFSORT to copy the bytes from position 237 to the end of each record.

Or better yet, use DFSORT's OVERLAY function instead of OUTREC:

Code:

  OUTFIL FNAMES=EXCEP,REMOVECC,INCLUDE=(67,3,CH,EQ,C'100'),
   OVERLAY=(236:C'Y')
...
Back to top
View user's profile Send private message
avaneendra_linga

New User


Joined: 13 Dec 2006
Posts: 73
Location: Hyderabad

PostPosted: Thu Apr 19, 2007 10:08 am    Post subject:
Reply with quote

thanks a lot.Frank.......it was a nice information......
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us