SWITCHTIME


SWITCHTIME allows you to tell LOADPLUS when you want the rename or FASTSWITCH process to begin for your staging data sets.

SWITCHTIME.png

This option is valid only if SHRLEVEL CHANGE (except an SQLAPPLY load) or SHRLEVEL REFERENCE is in effect.

Restrictions

The following restrictions apply to SWITCHTIME:

  • When invoking DSNUTILB, LOADPLUS ignores this option.
  • If you specify SWITCHTIME and EXCHANGE, LOADPLUS uses the last keyword that it finds in the command string.

NOW

SWITCHTIME NOW (the default) tells LOADPLUS to begin the rename or FASTSWITCH process as soon as the load process is complete.

PAUSE

SWITCHTIME PAUSE tells LOADPLUS to pause after the load process is complete.

Use this option to control the outage incurred during the rename or FASTSWITCH process. By specifying PAUSE, you can schedule the UTILTERM phase to minimize the impact on data availability.

Restarting

You can restart the utility at the beginning of the UTILTERM phase by specifying RESTART or RESTART(PHASE) on your EXEC statement. Note the following information about restarting your job:

  • You do not need to change the SWITCHTIME option on the LOAD command. When restarting a SWITCHTIME PAUSE job, LOADPLUS ignores the PAUSE specification.
  • When you restart a SWITCHTIME PAUSE job, the object must be in the same status that it was in during the original load job.

WTOR

SWITCHTIME WTOR tells LOADPLUS to issue the following message to the MVS system console after the load process is complete, and to wait for a reply:

BMC51563A  JOB <jobName>, STEP <stepName>, FOR TABLESPACE <DBName>.<tableSpaceName>
           REACHED SWITCHTIME. REPLY (G)O OR (P)AUSE

Specify G (or GO) to tell LOADPLUS to start the rename or FASTSWITCH process now. Specify P (or PAUSE) to tell LOADPLUS to pause. When you specify P in response to this message, LOADPLUS functions as if you specified SWITCHTIME PAUSE.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*