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 <john.archie.mck...@gmail.com>
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 <
> frank.swarbr...@outlook.com>
> 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.
> > 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 being conflicting with a SYSIN dataset:
> > IEFC009I KEYWORD RECFM IS MUTUALLY EXCLUSIVE WITH KEYWORD SYSIN ON THE DD
> > STATEMENT
> >
> > And yet the following section of the manual, "SYSIN data set" has
> > discussion of SYSIN data sets where "the record format is variable":
> > https://www.ibm.com/docs/en/zos/2.5.0?topic=ssds-sysin-data-set
> >
> > But how do I actually make the SYSIN dataset variable length?
> >
> > I do realize there are probably other options to accomplish my task, but
> > this is bugging me.
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to