One of the SYSUT1 DD statements needs to be SYSUT2. :>: -----Original Message----- :>: From: IBM Mainframe Discussion List [mailto:[email protected]] On :>: Behalf Of John McKown :>: Sent: Thursday, July 25, 2013 5:43 AM :>: To: [email protected] :>: 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 [email protected] with the message: INFO IBM-MAIN
