Example: Using OPUT with a sequential data set
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=---