Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example: Using ALLOCATE and OCOPY z/OS UNIX System Services User's Guide SA23-2279-00 |
|
Using the ALLOCATE command to associate each data set with a ddname,
user TURBO could enter:
where the DDNAME
keyword specifies the ddname. SHR indicates that this is an existing
data set and others can access it while the system is reading from
it. OLD indicates that this is an existing data set and others cannot
access the data set while the system is writing to it.TURBO could then enter the OCOPY command, using the ddnames from
the ALLOCATE command, to convert the data in TEMP1 from the MVS™ country-extended code page to
code page IBM-1047, and copy it to the data set TEMP1OC:
If
CONVERT is specified, you must also specify TO1047 or FROM1047. |
Copyright IBM Corporation 1990, 2014
|