You can create an output data set from the batched repository-update facility to hold the CREATE statements produced from DUMP commands. This data set is in the correct format for re-input to the batched repository-update facility without further editing; that is, it does not contain heading lines and the data is aligned in the correct columns. Note, however, that you may still need to edit this output data to modify the context, group names, version numbers, and so on.
When you use the DUMP command (see Creating and maintaining CICSPlex SM definitions), you may use the OUTPUT command to request that any resulting CREATE commands are written to an output data set, in addition to the normal report. The OUTPUT command must be the first command in the BATCHREP input data stream, to ensure that the command precedes any DUMP commands. You cannot specify more than one OUTPUT command.
The format of the OUTPUT command is:
OUTPUT DATASET DSNAME(data.set.name(member)) INQUOTES(NO|YES);
where:
Note that, if you specify INQUOTES(NO), the BATCHREP output can be used as input to any release of the CICSPlex® SM batched repository-update facility.
Note that, if you specify INQUOTES(YES), the BATCHREP output can be used only with the CICSPlex SM batched repository-update facility at CICS® Transaction Server for OS/390®, Version 1 Release 3 and later. The BATCHREP output is not compatible with, and cannot be used as input to, the batched repository-update facility supplied with earlier releases of CICSPlex SM.
For example, suppose a DESCRIPTION field contains the value:
1) Describe Resource
If you specify INQUOTES(NO), which is the default, the DUMP
routine will produce the following statement in the output data set:
DESCRIPTION(1) Describe Resource)
The CICSPlex SM batched repository-update facility interprets this as a DESCRIPTION field containing the value 1, followed by two unrecognizable keywords.
If you specify INQUOTES(YES),
the DUMP routine places quotes around the field value. The output
data set would contain the statement:
DESCRIPTION('1) Describe Resource')
This statement is interpreted correctly by the CICSPlex SM batched repository-update facility.