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

SORT Error: VARIABLE RECORD IS SHORTER THAN 1204


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Wed Apr 18, 2007 3:31 pm
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: 1436
Location: Bangalore,India

PostPosted: Wed Apr 18, 2007 3:49 pm
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 Developer


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

PostPosted: Wed Apr 18, 2007 8:59 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Error when install DB2 DB2 2
Search our Forums:

Back to Top