Re: Variable length records for SYSIN data sets

2021-11-02 Thread Paul Gilmartin
On Tue, 2 Nov 2021 11:39:17 -0500, Tom Wasik wrote: > > For RECFM V data sets, the LRECL is set to the length of the longest > record in the instream data. > Is that the length before or after SYMBOLS= substitution? What happens if substitution increases the length of that longest

Re: Variable length records for SYSIN data sets

2021-11-02 Thread Paul Gilmartin
On Tue, 2 Nov 2021 11:39:17 -0500, Tom Wasik wrote: >How the internal reader handles instream data sets is documented here: >https://www.ibm.com/docs/en/zos/2.4.0?topic=reader-record-length-sysin-data-sets >https://www.ibm.com/docs/en/zos/2.4.0?topic=reader-sysin-record-formats >Also note that

Re: Variable length records for SYSIN data sets

2021-11-02 Thread Tom Wasik
How the internal reader handles instream data sets is documented here: https://www.ibm.com/docs/en/zos/2.4.0?topic=reader-record-length-sysin-data-sets https://www.ibm.com/docs/en/zos/2.4.0?topic=reader-sysin-record-formats Also note that JES2 and JES3 work differently. But bottom line, for

Re: Variable length records for SYSIN data sets

2021-10-29 Thread Frank Swarbrick
2021 3:11 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Variable length records for SYSIN data sets I have a goal to concatenate a data set of variable length records (RECFM=VB,LRECL=204) with an instream data set of fixed length characters. My though was to add RECFM=V to my instream DD, i.e.: //INFILE

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Paul Gilmartin
On Thu, 28 Oct 2021 22:42:57 -0400, Steve Smith wrote: >SYSIN/SYSOUT are subsystem datasets, and the (sort of) "natural" interface >is by ACB/RPL, where each record has a specified length (in the RPL). >LRECL & BLKSIZE are rather nebulous concepts compared to QSAM/BSAM, which >are emulated; one

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Steve Smith
SYSIN/SYSOUT are subsystem datasets, and the (sort of) "natural" interface is by ACB/RPL, where each record has a specified length (in the RPL). LRECL & BLKSIZE are rather nebulous concepts compared to QSAM/BSAM, which are emulated; one might say on a best-effort basis. sas

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Seymour J Metz
on behalf of Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Thursday, October 28, 2021 10:04 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Variable length records for SYSIN data sets On Fri, 29 Oct 2021 01:43:48 +, Seymour J Metz wrote: >I see the confusion. The

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Paul Gilmartin
On Fri, 29 Oct 2021 01:43:48 +, Seymour J Metz wrote: >I see the confusion. The only way to have a RECFM=V instream data set is if >the internal reader for the job was RECFM=V. > Indeed. Suggested RFE: Simply allocate the INTRDR with attributes same as the input file. Strangely, LRECL is

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Barry Merrill
Discussion List On Behalf Of Seymour J Metz Sent: Thursday, October 28, 2021 8:42 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Variable length records for SYSIN data sets We burned the paper tape and scattered the ashes. Please don't bring it back. -- Shmuel (Seymour J.) Metz http://mason.gmu.e

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Seymour J Metz
<000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Thursday, October 28, 2021 8:56 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Variable length records for SYSIN data sets On Thu, 28 Oct 2021 22:49:49 +, Seymour J Metz wrote: >What happens with > >//INFILE DD DISP=SHR

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Seymour J Metz
edu> Sent: Thursday, October 28, 2021 9:17 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Variable length records for SYSIN data sets On Fri, 29 Oct 2021 12:03:14 +1100, Robin Vowels wrote: >We used to use RECFM=V in the 1960s with SYSIN >for PL/I source programs on paper tape. > What ha

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Paul Gilmartin
On Fri, 29 Oct 2021 12:03:14 +1100, Robin Vowels wrote: >We used to use RECFM=V in the 1960s with SYSIN >for PL/I source programs on paper tape. > What have we abandoned in the 20th Century?! Where can he order one? RPQ? >On 2021-10-29 11:56, Paul Gilmartin wrote: >> On Thu, 28 Oct 2021

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Robin Vowels
We used to use RECFM=V in the 1960s with SYSIN for PL/I source programs on paper tape. On 2021-10-29 11:56, Paul Gilmartin wrote: On Thu, 28 Oct 2021 22:49:49 +, Seymour J Metz wrote: What happens with //INFILE DD DISP=SHR,DSN=MY.VB.FILE // DD *,DCB=(RECFM=V,LRECL=204)

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Paul Gilmartin
On Thu, 28 Oct 2021 22:49:49 +, Seymour J Metz wrote: >What happens with > >//INFILE DD DISP=SHR,DSN=MY.VB.FILE >// DD *,DCB=(RECFM=V,LRECL=204) > >and have you reported it as a bug, citing the text that you quoted? > I haven't RTFM today, but I believe it has long been a

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Seymour J Metz
Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Frank Swarbrick [frank.swarbr...@outlook.com] Sent: Thursday, October 28, 2021 5:11 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Variable length records for SYSIN data sets I have a goal to concatenate a data set of variable length records (RECFM

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Peter Vels
d RECFM is not one of them. > > > From: IBM Mainframe Discussion List on behalf > of Peter Vels > Sent: Thursday, October 28, 2021 4:16 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Variable length records for SYSIN data sets > >

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Frank Swarbrick
: Re: Variable length records for SYSIN data sets Try this: //INFILE DD DISP=SHR,DSN=MY.VB.FILE // DD *,DCB=MY.VB.FILE Peter On Fri, 29 Oct 2021 at 08:57, John McKown wrote: > IIRC: > > //DD1 DD DSN=SOME.VB.DSN,DISP=SHR > // DD *,RECFM=VB,LRECL=??? /* LRECL FROM ABOVE >

Re: Variable length records for SYSIN data sets

2021-10-28 Thread Peter Vels
Try this: //INFILE DD DISP=SHR,DSN=MY.VB.FILE // DD *,DCB=MY.VB.FILE Peter On Fri, 29 Oct 2021 at 08:57, John McKown wrote: > IIRC: > > //DD1 DD DSN=SOME.VB.DSN,DISP=SHR > // DD *,RECFM=VB,LRECL=??? /* LRECL FROM ABOVE > //* > > On Thu, Oct 28, 2021 at 4:11 PM Frank Swarbrick < >

Re: Variable length records for SYSIN data sets

2021-10-28 Thread John McKown
IIRC: //DD1 DD DSN=SOME.VB.DSN,DISP=SHR // DD *,RECFM=VB,LRECL=??? /* LRECL FROM ABOVE //* On Thu, Oct 28, 2021 at 4:11 PM Frank Swarbrick wrote: > I have a goal to concatenate a data set of variable length records > (RECFM=VB,LRECL=204) with an instream data set of fixed length characters. >

Variable length records for SYSIN data sets

2021-10-28 Thread Frank Swarbrick
I have a goal to concatenate a data set of variable length records (RECFM=VB,LRECL=204) with an instream data set of fixed length characters. My though was to add RECFM=V to my instream DD, i.e.: //INFILE DD DISP=SHR,DSN=MY.VB.FILE // DD *,RECFM=V,LRECL=204 The RECFM is rejected as