Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Converting PDSs to PDSEs and Back z/OS DFSMS Using Data Sets SC23-6855-00 |
|
You can use IEBCOPY or DFSMSdss COPY to convert PDSs to PDSEs. You can convert the entire data set or individual members, and also back up and restore PDSEs. PDSEs can be converted back to PDSs. When copying members from a PDS load module library into a PDSE program library, or vice versa, the system invokes the program management binder. To copy one or more specific members using IEBCOPY, use the SELECT
control statement. In this example, IEBCOPY copies members A, B, and
C from USER.PDS.LIBRARY to USER.PDSE.LIBRARY.
This DFSMSdss COPY example converts all PDSs with the high-level
qualifier of "MYTEST" on volume SMS001 to PDSEs with the high-level
qualifier of "MYTEST2" on volume SMS002. The original PDSs are
then deleted. If you use dynamic allocation, specify INDY and OUTDY
for the input and output volumes. However, if you define the ddnames
for the volumes, use the INDD and OUTDD parameters.
If you want the PDSEs to retain the original PDS names, use the
TSO RENAME command to rename each PDSE individually. (You cannot use
pattern-matching characters, such as asterisks, with TSO RENAME.)
If
you want to rename all the PDSEs at once, use the access method services
ALTER command and run a job:
Related reading: SeeCopying a PDSE or Member to Another Data Set for more about copying between PDS and PDSE with IEBCOPY. See z/OS DFSMSdfp Storage Administration for information about using DFSMSdss and z/OS DFSMSdfp Utilities for information about using IEBCOPY to convert PDSs to PDSEs. |
Copyright IBM Corporation 1990, 2014
|