z/OS HCD User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Import an IODF

z/OS HCD User's Guide
SC34-2669-00

Import an IODF

This utility function allows you to import configuration data (previously exported from another system) into an IODF. It is assumed that the mentioned configuration data has been received outside HCD, for example, using the TSO RECEIVE command, and stored in a sequential data set.

The data set containing IODF data to be imported has to be specified with DD name HCDIN.

This function is invoked by passing the following parameter string.

Import an IODF
Read syntax diagramSkip visual syntax diagram|--IMPORT--,--IODF name--,--+--------+--,--+---------+----------|
                            '-volume-'     '-REPLACE-'
 
IODF name
Specifies the name of the target IODF (fully qualified).
volume
Specifies the volume serial number of the IODF destination. This parameter is neglected if the target IODF already exists and REPLACE is specified, or, if the data set is SMS managed.
REPLACE
Specifies that an IODF with the same name will be replaced by the received IODF. If REPLACE is not specified, the IODF is not replaced.

Batch invocation

A data set must be allocated to the following DD names when invoking the batch utility.

DD nameDescription
HCDINThe data set containing IODF data to be imported
HCDMLOGHCD Message Log data set
HCDTRACETrace data set (if trace is activated)

Example: 

//BWINJOB  JOB (3259,RZ-28),'BWIN',NOTIFY=BWIN,CLASS=A,
//             MSGCLASS=Q,MSGLEVEL=(1,1),REGION=4M
//*
//* IMPORT AN IODF
//*
//IMPORT   EXEC PGM=CBDMGHCP,
//            PARM='IMPORT,BWIN.IODF08,DATA04'
//HCDIN    DD   DSN=BWIN.EXPORTED.IODF03,DISP=SHR
//HCDMLOG  DD   DSN=BWIN.HCD.LOG,DISP=OLD
//

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014