z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example: Using OPUTX with a PDSE

z/OS UNIX System Services User's Guide
SA23-2279-00

User TURBO wants to copy the members from the data set TURBO.PCALCLIB into the directory /u/turbo/pcalclib. He issues the command:
OPUTX PCALCLIB /u/turbo/pcalclib LC CONVERT(YES) SUFFIX(c)
This command:
  • Copies the partitioned data set to a directory. Because the data set name is not enclosed in single quotation marks, the system automatically uses the data set whose high-level qualifier is the user's user ID.
  • Converts data set member names to lowercase file names.
  • Converts the file to code page IBM-1047.
  • Appends the suffix .c to each file name.
The members of the partitioned data set become files in the directory:
Member name File name
TURBO.PCALCLIB(PGM1) /u/turbo/pcalclib/pgm1.c
TURBO.PCALCLIB(PGM2) /u/turbo/pcalclib/pgm2.c
TURBO.PCALCLIB(LIST) /u/turbo/pcalclib/list.c

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014