On Thu, 21 Jun 2018 14:28:51 +0000, Rob Scott wrote: >From the start of the JCL user guide, there is a blanket statement of "A JCL >statement consists of one or more 80-byte records". > That's not exactly true. IIRC, I've submitted JCL statements in records longer than 80 bytes; columns 73 and beyond are quietly ignored. So 72-byte records would be more accurate than 80-byte.
>However, looking at the SYSIN keyword it indeed says that the 80-byte limit is >a minimum length. > Does it state an upper limit? Does it explain how the LRECL and RECFM merged into the DCB at OPEN are determined? I've submitted an RCF on this and the information has not been added to the manual. On Thu, 21 Jun 2018 15:20:09 +0000, Rob Scott wrote: >From what I can tell from the documentation, both native TSO SUBMIT and ISPF >SUBMIT (via ISPCTLx) do not allow job submission for anything other than >RECFM=FB LRECL=80 datasets. > TSO SUBMIT fails with an error if the input data set is other than RECFM=FB LRECL=80. This could be changed with negligible compatibility impact to allocate INTRDR with the attributes of the input data set and proceed successfully. (Also on my wish list is that SUBMIT have an INDD() option so I could pipe from a UNIX process.) I suspect that ISPF SUBMIT copies its input to a RECFM=FB LRECL=80 data set (sometimes with SPACE problems). Changing to submit directly to INTRDR allocated with attributes of the input data set would have some compatibility impact and would have to be made optional. I have a macro that submits an Edit buffer to INTRDR, defaulting to attributes of the data set being edited, with option to force to FB 80. >As SDSF "SJ" uses EDIF and implicitly ISPF SUBMIT it is limited by the >TSO/ISPF restrictions. > Alas. Truncation should not be quiet; it's data loss. At a minimum, the user should be given a prompt with options: Truncate and submit/Retain attributes and submit/Cancel -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN