Setting processing options for repository-update commands
The default behavior of batched repository-update commands can be modified by the OPTION command.
The format of the OPTION command is:
OPTION type keyword [keyword ...]
where
- type identifies the option which is being set.
- keyword specifies the value(s) to be set for an option type.
The following option types are currently supported:
- DUPREC
- Specify how the CREATE command will handle the RECORD_EXISTS condition.
One of the following keywords must be specified:
- REJECT (default)
- The existing record is not modified; the BATCHREP input stream is flushed and no more commands are processed.
- ABORT
- The existing record is not modified; the job is terminated immediately.
- SKIP
- The existing record is not modified; processing continues with the next BATCHREP command.
- UPDATE
- The existing record is updated by redriving the CREATE command as if it were an UPDATE.
Note:
If a STATUS other than RECORD_EXISTS is returned by the CREATE
command, the command is not retried and all remaining commands in the input
file are flushed.- Several link type CICSPlex SM resource tables do not support the UPDATE
action. If a BATCHREP input stream that creates any of the following resource
types must be restarted, OPTION DUPREC SKIP must be specified or the command
retry will fail. Affected resource tables are:
- CMDMPAPS - APSPEC to Primary CMAS
- CMDMSAPS - APSPEC to Secondary CMAS
- CSGLCGCG - CICSGRP in CICSGRP
- CSGLCGCS - CICSSYS in CICSGRP
- LNKSxSCG - xxxSPEC to CICSGRP, where xxx is MON, RTA or WLM
- LNKSxSCS - xxxSPEC to CICSSYS, where xxx is MON, RTA or WLM
Multiple OPTION commands can be placed in the BATCHREP input stream. An OPTION command affects all commands until another OPTION command is encountered for the same option type or the input command stream reaches end-of-file.