Start and stop commands


This topic describes the commands used to start and stop OPERTUNE.

Start OPERTUNE

Use the following command to start OPERTUNE:

S opertuneProc,parameters
  • opertuneProc is the name of the OPERTUNEprocedure in your PROCLIB
  • parameters are the optional parameters used to start the procedure.

OPERTUNE can also be started as a batch job by coding the equivalent JCL statements in a batch job stream as follows:

//OPERTUNE EXEC opertuneProc,parameters

Stop OPERTUNE

Use the following command to stop OPERTUNE:

P opertuneID

opertuneID is the OPERTUNE system profile name (if OPERTUNE is running as a started task) or the job name of the batch job (if OPERTUNE is running as a batch job).

SHUTDOWN command

Use the SHUTDOWN command with the NORESET option to stop OPERTUNE without resetting the ZPARMs of the indicated subsystems to their original values. If the NORESET option is not specified, OPERTUNE is stopped as if P opertuneID was issued. If the NORESET option is specified, subsystems to be included are specified as follows:

The following command causes the specified OPERTUNE to terminate without resetting the ZPARMs for DB2P.

F <opertuneID>,SHUTDOWN NORESET (DB2P)

The following command causes the specified OPERTUNE to terminate without resetting the ZPARMs for DB2X and DB2Y.

F <opertuneID>,SHUTDOWN NORESET (DB2X,DB2Y)

This command causes the specified OPERTUNE to terminate without resetting the ZPARMs for all subsystems under OPERTUNE control.

F <opertuneID>,SHUTDOWN NORESET (*)

Command syntax and parameters

image2018-12-26_21-46-12.png

Value

Description

NORESET

The indicated Db2 subsystems are terminated without resetting the ZPARMs.

DB2ssid

The subsystem ID of a Db2 subsystem to be terminated.

*

All Db2 subsystems will be terminated.

Related topic


 

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