I'm guessing that because the second line has a different length than the 
first, the Converter will set RECFM to V or VB. It's worth an RCF.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Paul Gilmartin [[email protected]]
Sent: Tuesday, April 21, 2020 3:55 PM
To: [email protected]
Subject: SYSIN DCB Attributes

I'm soliciting suggestions for what I might put in an RCF.

The JCL Ref. for DD * contains an example containing
the enigmatic line:
     Extra line to make DD * variable record length

There is no text accompanying the example explaining
how or why this might work, nor is there a similar
example for DD DATA.  Are they different?

The example appears to have been cribbed from an SR I
submitted around 2017 which was never resolved.

I'd like to know what governs the attributes merged by
OPEN into the DCB for SYSIN DD.  Empirically, it seems
for JES2:
o If LRECL is specified on the DD statement, that value
  is merged into the DCB.
o Otherwise, if no record exceeds 80 bytes, the attributes
  are RECFM=FB,LRECL=80.
o Otherwise, if all lines are of equal length, the
  attributes are RECFM=FB,LRECL=length of any line.
o Otherwise, RECFM=VB,LRECL=4+length of longest line.

JES3 seems to be different: RECFM is always FB.

This (or the facts if I'm in error) should be documented
in text, not left to be inferred empirically or by example.

I copied directly to INTRDR from a RECFM=VB file,
bypassing TSO SUBMIT.

Any suggested enhancements for an RCF?

Thanks,
gil

----------------------------------------------------------------------
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