VSAM macro return and reason codes

Reason Codes (RPLERRCD)

108(X'6C') Incorrect RECLEN. Some possible reasons are:

  1.  RECLEN specified was larger than the maximum allowed, equal to 0, or 
smaller than the sum of the length and the displacement of the key field.
  2.  RECLEN was not equal to record (slot) size specified for a fixed-length 
RRDS.
  3.  RECLEN was not sufficient to contain the new alternate index key pointer. 
With non-unique UPGRADE AIX®‘s, the record is automatically increased in size 
each time a record is added to the base cluster and this can cause an incorrect 
RECLEN. Make sure the maximum RECORDSIZE on the alternate index is large enough 
for all base pointers it must contain.


________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Steve Smith <[email protected]>
Sent: Monday, December 30, 2019 4:32 PM
To: [email protected] <[email protected]>
Subject: Re: VSAM record length 0

Well, I would like to know, so I tried it.  Evidently, an ESDS does not
support reclen=0.  My test input file (RECFM=VB) had no data in the 11th
record (the aforementioned x'00040000'), and the REPRO reported thus:

IDC3302I  ACTION ERROR ON SAS00.TEST.ESDS
IDC3351I ** VSAM I/O RETURN CODE IS 108 - RPLFDBWD = X'8408006C'
IDC31467I MAXIMUM ERROR LIMIT REACHED.
IDC0005I NUMBER OF RECORDS PROCESSED WAS 10
IDC0014I LASTCC=12
ADF041A ENTER A NULL LINE TO RETURN TO FULL SCREEN PROGRAM

Browsing the output ESDS shows the first ten records only.  Conversely, the
input file is browsable & editable in ISPF; but ISPF sticks a single blank
on null lines if saved (even as it trims trailing blanks from all others).

QED

btw, I'm a little surprised, as I also don't see any obvious reason a
"0-length" record couldn't be supported by ESDS.

sas

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to