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


Example: Using OPUT with a sequential data set

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

If the user ID TURBO wants to copy a sequential data set into a file, TURBO enters the following TSO/E OPUT command:
OPUT WORKLOAD.PROJA.NOV '/u/turbo/wkld/proja/nov' TEXT CONVERT(YES)
This command:
  • Copies the MVS™ sequential data set TURBO.WORKLOAD.PROJA.NOV to a text file with the path name /u/turbo/wkld/proja/nov.
  • Converts the data from the MVS code page IBM-037 to code page IBM-1047, using the default conversion table because YES was specified.
  • Because nov is a new text file, this command sets a default mode (read-write-execute permission) of octal 600, representing:
    • owner=rw-
    • group=---
    • other=---

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014