Also, you may need a dcb on the sysut2 dd to keep your 254 byte lrecl. Try
//sysut2 dd sysout=g,dcb=(lrecl=254,blksize=254,recfm=fb)

MA

On Mon, Apr 7, 2008 at 11:43 AM, Mary Anne Matyaz <[EMAIL PROTECTED]>
wrote:

> Lionel,
> You can wrap your file in the IEBGENER jcl and ftp it, then the file will
> be in the output queue.
> Like so in the file you ftp to the intrdr:
> //jobname
> //gen exec pgm=iebgener, region=0m
> //sysprint dd sysout=*
> //sysin dd dummy
> //sysut1 dd *
>   This is the text of the file I'd like to send over to mvs..
>    yada yada
>    yada
> /*
> //sysut2 dd sysout=g
>
> FTP it, and the three lines starting with 'This is the text' will be in
> the output queue in its own entry, and you can select it based on the output
> class g.
>
> Mary Anne
>
> On Fri, Apr 4, 2008 at 11:49 AM, Lionel B. Dyck <[EMAIL PROTECTED]>
> wrote:
>
> >
> > It seems I can't do what I was hoping for so I've adjusted my code to
> > ftp the file to z/OS and then ftp a batch job to do an IEBGENER. I was
> > hoping to avoid the '2 step' but as that is all I can do right now that is
> > what I'm going to do to move forward.
> >
> > Thanks to all who replied directly or via the listservs
> >
> >  ------------------------------
> > *Lionel B. Dyck, Consultant/Specialist *
> > Enterprise Platform Services, Mainframe Engineering
> > KP-IT Enterprise Engineering
> > 925-926-5332 (8-473-5332) | E-Mail: [EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > AIM: lbdyck *|* Yahoo IM: lbdyck *
> > Kaiser Service Credo: "Our cause is health. Our passion is service.
> > We're here to make lives better." *
> > *
> > I never guess. It is a capital mistake to theorize before one has data.
> > Insensibly one begins to twist facts to suit theories, instead of theories
> > to suit facts.
> > - Sir Arthur Conan Doyle *
> > *
> > NOTICE TO RECIPIENT: *If you are not the intended recipient of this
> > e-mail, you are prohibited from sharing, copying, or otherwise using or
> > disclosing its contents. If you have received this e-mail in error, please
> > notify the sender immediately by reply e-mail and permanently delete this
> > e-mail and any attachments without reading, forwarding or saving them. Thank
> > you.
> >
>
>

Reply via email to