This is not really what you asked - but the pax command can read directly from a z/OS dataset - you don't need to copy to a Unix file first.
Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Aug 25, 2011 at 7:49 AM, Angel Tamayo <a.tamay...@gmail.com> wrote: > Hi List, > > Maybe someone here could have the same or similar case. > > I run job: > > //COPY1 EXEC PGM=IEBGENER,REGION=0M > //SYSPRINT DD SYSOUT=* > //SYSUT1 DD DISP=SHR,DSN=HLQ.COMPRESS.PAX > //SYSUT2 DD PATH='/TEST/COMPRESS9', > // PATHOPTS=(OWRONLY,OCREAT,OEXCL), > // PATHDISP=(KEEP,DELETE) > //SYSIN DD DUMMY > > I received message: > > ICH408I USER(ZOSUSER ) GROUP(OMVSGRP ) NAME(USER NAME ) 479 > /TEST/COMPRESS9 CL(FSOBJ ) > FID(00003813000000410000000000000000) > INSUFFICIENT AUTHORITY TO > OPEN > ACCESS INTENT(RW-) ACCESS ALLOWED(OWNER > ---) > EFFECTIVE UID(0009999999) EFFECTIVE GID(0000000001) > > > The RACF persons says that I need to have OMVS segment setup for my userid > with UID(0). > > I suppose UID(0) will solve the problem but it is really the only way to > solve it?. > I'm looking for a solution without UID(0), any idea on this will be > appreciated. > > As additional information ZOSUSER have authority to use SU (superuser) in > OMVS environment, don't really know if this helps to this case. > > Angel > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html