IMPORT configuration command

You can use the IMPORT command to apply multiple updates or single updates to the configuration file for a running Classic data server. You can also use the IMPORT command to perform recovery operations to restore configuration information.

Description

The updates that the IMPORT command processes must reside in an existing IBM® z/OS® PDS member or sequential file. You can use either of the following methods to build the input file:
  • Manually create the file and populate it with a defined set of commands.

    When you manually create a command file, you can specify any valid format of the ADD, SET, or DELETE configuration commands.

  • Issue the EXPORT command to generate an IMPORT command file.

All commands in the file are processed whether or not a single command fails. Any errors encountered during the IMPORT process are displayed on the operator console. For example, unknown commands or incorrect command syntax can cause errors. Attempting to add a service that already exists can also cause an error. A status message is displayed when the process is complete.

You can use the IMPORT command at any time to change configuration parameter settings for existing services on a running Classic data server.

Importing configuration command files

IMPORT command format:
IMPORT,CONFIG,FILENAME=DSN:dsname | DSN:dsname(member) | DDN:ddname
 | DDN:ddname(member) 

The data that you import must be in the command file format as described for the EXPORT command.

Example:

Parameters

ddname
The DD statement defined in the JCL that starts the Classic data server. The DD name points to the source IMPORT command file.
dsname
The name of the IMPORT data set.

Example

This IMPORT command imports the file USER.PDS.FILE.
IMPORT,CONFIG,FILENAME=DSN:USER.PDS.FILE(USER1)