Example: Using OGET with a sequential data set
If a person with the user ID TURBO enters the following command:
OGET '/u/turbo/wkld/proja/nov' WORKLOAD.PROJA.NOV CONVERT(YES)
the
system: - Copies the text file /u/turbo/wkld/proja/nov into the sequential data set TURBO.WORKLOAD.PROJA.NOV. (The default file type is a text file.)
- Converts the data from code page IBM-1047 to the MVS™ code page IBM-037, using the default conversion
table. You can specify a table name if you do not want to use the
default table. If you do not want conversion, omit the CONVERT operand.
For more information, see Copying data: Code page conversion.
If you are moving the z/OS UNIX file permanently to an MVS data set, remove it from the file system with the rm shell command.