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
 

 

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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm


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