>I would like to be able to create a PDS or PDSE, form a USS environment.
>I have looked thru the USS commands manual and nothing obvious pops out.

OPUT - Copy MVS sequential file to HFS file
OPUTX - Copy MVS PDS to USS file system

OGET - Copy HFS file to MVS sequential file
OGETX - Copy HFS directory to MVS PDS

OCOPY - Copy data in either direction

These commands can be executed from TSO, USS, or in Batch. As an example:

//COPYSTEP EXEC PGM=IKJEFT01
//INMVS    DD   DSN=dsname(member),DISP=SHR
//OUTHFS DD PATH='/u/xxxx/yyyyyy/zzzz',
//               PATHDISP=(KEEP,DELETE),
//               PATHOPTS=(OWRONLY,OCREAT,OEXCL),
//               PATHMODE=(SIRUSR,SIWUSR)
//SYSTSPRT DD SYSOUT=*
//SYSTSIN   DD *
  OCOPY INDD(INMVS) OUTDD(OUTHFS) PATHOPTS(USE)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to