Well the message is telling you that you're expecting a field at least 28 bytes 
long (because of the 19,10,CH statement) but you've only read in a record of 26 
bytes.

That does seems a bit strange. I mean, that date field is surely either going 
to be there in its entirety or not at all, not just have two bytes missing?

I can't see anything wrong with the SORT or ICETOOL statements.

Is your source IRRDBU00 extract ok? (browse it - it's nearly all readable text 
data)

Maybe also write the TMP0001 extract to a non-temporary file and examine that 
too.

Brian 


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
larry macioce
Sent: 01 March 2010 16:14
To: [email protected]
Subject: icetool help with short fields

I was graciously given some jcl to do a sort of an unloaded racf db.
The problem is I am getting:
ICE218A 1 26 BYTE VARIABLE RECORD IS SHORTER THAN 28 BYTE MINIMUM FOR
   FIELDS
the jcl is:

//TOOLIN DD *
 SORT    FROM(INDD) TO(TEMP0001) USING(ULDF)
 DISPLAY FROM(TEMP0001) LIST(PRINT) -
         PAGE -
         TITLE('LIST OF IDS') -
         DATE(4MD/) -
         TIME(24:) -
         BLANK -
         ON(10,8,CH) HEADER('USER ID') -
         ON(79,20,CH) HEADER('USER NAME') -
         ON(100,8,CH) HEADER('DEFAULT GROUP') -
         ON(19,10,CH) HEADER('CREATED')
//INDD DD DISP=SHR,DSN=SYS1.RACF.RPT
//TEMP0001 DD DISP=(NEW,DELETE,DELETE),SPACE=(CYL,(20,5,0)),
//  UNIT=SYSDA
//ULDFCNTL   DD *
 SORT FIELDS=(10,8,CH,A)
 INCLUDE COND=(5,4,CH,EQ,C'0200',AND,
               19,10,CH,GE,C'2008-07-01',AND,
               19,10,CH,LE,C'2009-06-30')  OPTION VLSHRT

As you can see I was given the vlshrt (didnt know what it was, looked it up)
option so now I am confused.
Thanks
mace

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to