OOPS! The UNIX file should be on SYSUT2.

On Thu, Jul 25, 2013 at 10:34 AM, retired mainframer <
retired-mainfra...@q.com> wrote:

> One of the SYSUT1 DD statements needs to be SYSUT2.
>
> :>: -----Original Message-----
> :>: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On
> :>: Behalf Of John McKown
> :>: Sent: Thursday, July 25, 2013 5:43 AM
> :>: To: IBM-MAIN@LISTSERV.UA.EDU
> :>: Subject: Re: Establishing and using Unix file system and USS under z/OS
> :>:
> :>: That would be in the JCL manual. But there aren't any examples. And if
> :>: you
> :>: are not really UNIX literate, but just learning, it could be difficult
> :>: to
> :>: put together something useful. So I'll give an example, using IEBGENER.
> :>: This will copy the READ macro from SYS1.MACLIB into a UNIX file in your
> :>: home directory.
> :>:
> :>: //STEP1 EXEC PGM=IEBGENER
> :>: //SYSPRINT DD SYSOUT=* OR WHATEVER
> :>: //SYSIN DD DUMMY
> :>: //SYSUT1 DD DISP=SHR,DSN=SYS1.MACLIB(READ),
> :>: //SYSUT1 DD PATH='/u/myusername/READ.macro',
> :>: // PATHOPTS=(OWRONLY,OTRUNC,OCREAT),
> :>: // PATHMODE=(SIRUSR,SIWUSR),
> :>: // FILEDATA=TEXT,
> :>: // RECFM=FB,LRECL=80,BLKSIZE=0
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>



-- 
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?

Maranatha! <><
John McKown

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