NAMESWAPFAIL control statement

Specifies the action which the Smart Reorg utility takes when the IDCAMS program returns an error during name swapping.

This control statement is optional. This control statement is ignored unless NAMESWAP=YES is specified. The default is NAMESWAPFAIL=ABORT.

Read syntax diagramSkip visual syntax diagramNAMESWAPFAIL=ABORTBACKOUTWTOR
ABORT
The Smart Reorg utility ends abnormally without the automated backout processing. After the Smart Reorg utility job, the manual backout processing is required by using the IDCAMS command stream produced in the HPSGSWAP data set.
Note: IBM® recommends that the HPSGSWAP data set is specified in the JCL stream.
BACKOUT
The Smart Reorg utility attempts the automated backout processing to restore the data set names to the names at the start of name swapping. After the backout processing, the DBRC flags, which are the READ ONLY flag and the PROHIBIT AUTHORIZATION flag, are also restored automatically to the original state.
WTOR
The Smart Reorg utility issues a message to request the operator's action and reply. One of the following replies is allowed:
CANCEL
The behavior of the Smart Reorg utility is the same as NAMESWAPFAIL=ABORT.
RETRY
The Smart Reorg utility attempts to issue the failed IDCAMS command again and continue the name swap processing. Before this reply, the appropriate operation is needed to avoid another failure. The number of retries allowed is 10.
BACKOUT
The behavior of the Smart Reorg utility is the same as NAMESWAPFAIL=BACKOUT.