Defining a normal STM object
The majority of objects that TOM manages are normal objects. Generally, TOM starts a normal object when MVS initializes and the object runs for the life of the IPL. This section describes how to specify the required fields using the object add or edit dialog in the TOM user interface (UI) to define a simple normal object, and also provides some tips for some often-used fields that are not required.
To specify a name for a normal object
Enter the ADD primary command on the TOBJ view.The Specify Object Name and Managed ObjectType dialog is displayed.
Specify Object Name and Managed ObjectType
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Enter the name of the Object:
BBPLEX01.SJSC.TSO
Specify managed object type:
S STM Started Task Management
_ UPM USS Process Management
_ WRM WLM Resource Management
_ GSM Generic Stateless Mgmt
Next - Next step
CANcel - Cancel dialog
HELP - Display help for step(required) In the Enter the name of the Object: field, specify a name for the object.
This is a required field; values can be 1 to 64 characters long (including blanks) and you can use mixed case letters. You cannot use the following characters in the object name:- a plus sign (+) as the object name
- a slash (/) anywhere within the name of the object
- Select the object type of STM Started Task Management for an MVS object, UPM USS Process Management.
The TSO object in this example is an STM Started Task Management object. - To proceed to the next panel in the dialog, enter NEXT. in the COMMAND line.
The Specify General Object Information panel is displayed.
To specify general information
The fields on the Specify General Object Information panel are all optional. This section describes recommended values that help identify the object and can define which systems TOM can manage the object.
(optional) In the Description field, enter a brief description of the object.
Specify General Object Information
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
General Information
Description:
Short Name:
Pattern:
Valid systems: 1
Affinity to primary system: High Med Low
Schedules: 0
Calendar Overrides: 0
Transient: Yes
MdlFrom:
Is this a model: Yes
Suspend Options: None
Reinstate at IPL: Yes
IPL count:
Verify reinstatement: Yes
Default reply: Yes No Var
Timeout: (hh:mm:ss/var)
IPL Level: (? for defined list)
Cmd console name: (name/var)(optional) In the Short Name field, specify a 1 to 8 character identifier for the object.
(optional) In the Valid Systems field, enter the ADD primary command to add the names of additional systems that this object can run on.
The following shows an example of the Valid Systems panel with SJSC already entered because this is the system where the object is being defined.
Valid Systems
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Line commands: Edit, DELete, Up, Down, Top, Bottom
CMD I System System Notes
--- - -------- --------------------------------
SJSC MVTOM Ready
ADD - Add new system
ALL - List all in sysplex
MERGE - Merge inherited records
END
CANcel
Help- To save changes to the Valid Systems list, enter the END command.The General Object Information panel is redisplayed.
- To proceed to the next panel in the dialog, enter NEXT in the COMMAND line.
The Specify Started Task Information panel is displayed.
To specify started task information
The fields on the Specify Started Task Information panel are all optional. This section describes recommended values that can help TOM by providing information that TOM uses to determine the actual status of the object in the system.
(optional) In the Started Task name field, enter the STC (started task) name or jobname.
Specify Started Task Information
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Started Task Information
Started Task name: TSO (Variable permitted)
Step name: (Variable permitted)
_ Start validations: 0
_ Stop validations: 0
_ ABEND validations: 0Note that in this figure, TSO is entered by default as the Started Task name.
(optional) In the Step name field, specify the step name of the started task.
(optional) Enter the E (edit) line command in the following fields to define start, stop, or abend validation events for the object:
- Start validations
- Stop validations
- ABEND validations
After you enter the E line command in the Start validations field, the Startup Validations panel is displayed.
To specify startup event validations information
The fields on the Startup Validations panel are all optional. This section describes entering events that TOM uses to identify when an object has started on the system. This example shows entering the IKT005I message ID that when fired, signifies to TOM that the TSO object has started.
(optional) On the COMMAND line, enter the ADD primary command to add a start event for the object.
Startup Validations
COMMAND ===> ADD SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Line commands: Edit, DELete, Repeat, Merge, Up, Down, Top, Bottom
CMD I STC Proc/Job Type ID or
Name Step Name Queue
--- - -------------------- -------------------- ------- ----------------
ADD - Add new event
MERGE - Merge inherited records
LEFT - Scroll left
RIGHT - Scroll rightThe Startup Validations panel is displayed.
Startup Validations
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Specify Event Type
Type: _MSG _ALRT _CMD _JRNLThis example shows entering the IKT005I message ID that when fired, signifies to TOM that the TSO object has started.
(optional) Select the MSG event type in the Startup Validations panel.
Startup Validations
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Specify Event Type
Type: SMSG _ALRT _CMD _JRNL
Next
CANcel
HelpThe Specify Startup Validation Message panel is displayed.
Specify Startup Validation Message
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Startup Validation Message Information
Message ID: IKT005I
Originating STC: &@STCNAME (required)
Proc/Jobstep:
Message:
* Value inherited from model(optional) Enter the IKT005I message ID as the start event.
- Enter the END command to save the start validation event and return to the Startup Validations panel.
- Enter NEXT in the COMMAND line to display to the Start Command Information panel.
To specify start command information
Most of the fields on the Specify Start Command Information panel are optional. This section describes entering a start command that TOM uses to start an object on the system, which is a required object attribute. This example shows entering the S (START) command that TOM will use to start the TSO object.
(required) On the Start commands field, enter the E (edit) line command to add a start command for the object.
Specify Start Command Information
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Object Start/Initiation Information
_ Reset start count at term?: Yes
_ Reset start count after: (hh:mm:ss)
_ Restart only?: Yes
Max start count: 3 (0-99999)
_ Start commands: 0
_ Default Start cmd: (variable allowed)
_ Pre-Start commands: 0
_ Start-retry commands: 0
_ Post-Start commands: 0
Verify start?: Yes
Default reply: Yes No Var
Timeout: (hh:mm:ss/var)
State Detection
Active Check Program: (Partial)
Automatic Detection NoThe Start Commands panel is displayed.
Start Commands
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Line commands: Edit, Repeat, Merge, DELete, Up, Down, Top, Bottom
CMD I Command (partial)
--- - -----------------------------------------------------------
ADD - Add new command
MERGE - Merge inherited records
LEFT - Scroll left
RIGHT - Scroll right(required) Enter the ADD primary command
The Specify Start Command panel is displayed.Specify Start Command
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Specify Command Information
Command type: s MVS EXEC USS AOSV
Timeout: 00:03:00 (hh:mm:ss)
User Id: (variable permitted)
Spawn job name: (variable permitted)
Command label: (? for OMODE List)
Description:
Command:
S TSO
* Value inherited from model- (required) Select the MVS option.
In this example, the command type to start the object is an MVS command. (required) Enter a time in the Timeout field, using the format hh:mm:ss.
In this example, the time is 00:03:00. TOM will wait for up to 3 minutes after issuing the command before timing out.
If you specify (optional) start retry commands, TOM issues those retry commands (when the timeout value is reached) one at a time until TOM receives either the system entry event or the start event, signifying that the TSO object started. If TOM issues all of the start retry commands without successfully starting the TSO object, the TSO object will have a status of FAILURE-REC-INIT.(required) Enter a start command in the Command field.
In this example, the start command is S TSO (START TSO).- Enter the END command to save the start command definitions and return to the Start Commands panel.
- Enter the END command to return to the Start Command Information panel.
- Enter NEXT in the COMMAND line to display to the Stop Command Information panel.
To specify stop command information
Similar to the specify Stop Command Information panel, most of the fields on the panel are optional. This section describes entering a stop command that TOM uses to stop an object on the system, which is a required object attribute. This example shows entering the P (STOP) command that TOM will use to stop the TSO object.
(required) On the Stop commands field, enter the E (edit) line command to add a stop command for the object.
Specify Stop Command Information
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Object Stop/Termination Information
STOP in dependency order: No
Lock at next IPL: Yes
Shutdown quick: Yes
Stop commands: 0
Default Stop cmd:
Pre-Stop commands: 0
Stop-retry commands: 0
Post-Stop commands: 0
Verify stop: Yes
Default reply: Yes No Var
Timeout: (hh:mm:ss/var)
Object ABEND Information
Recovery Commands: 0
Move if object failure: Yes
Move if system failure: NoThe Stop Commands panel is displayed.
Stop Commands
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Line commands: Edit, Repeat, Merge, DELete, Up, Down, Top, Bottom
CMD I Command (partial)
--- - -----------------------------------------------------------
ADD - Add new command
MERGE - Merge inherited records
LEFT - Scroll left
RIGHT - Scroll right
END
CANcel
Help(required) Enter the ADD primary command
The Specify Stop Command panel is displayed.Specify Stop Command
COMMAND ===> SCROLL ===> PAGES
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Specify Command Information
Command type: s MVS EXEC USS AOSV
Timeout: 00:03:00 (hh:mm:ss)
User Id: (variable permitted)
Spawn job name: (variable permitted)
Command label:
Description:
Command:
P TSO
* Value inherited from model- (required) Select the MVS option.
In this example, the command type to stop the object is an MVS command. (required) Enter a time in the Timeout field, using the format hh:mm:ss.
In this example, the time is 00:03:00. TOM will wait for up to 3 minutes after issuing the command before timing out.
If you specify (optional) stop retry commands, TOM issues those retry commands (when the timeout value is reached) one at a time until TOM receives either the EOM event or the stop event, signifying that the TSO object stopped. If TOM issues all of the stop retry commands without successfully stopping the TSO object, the TSO object will have a status of FAILURE-REC-TERM.- (required) Enter a stop command in the Command field.
In this example, the start command is P TSO (STOP TSO) or, S &@STCNAME. - Enter the END command to save the stop command definitions and return to the Stop Commands panel.
- Enter the END command to return to the Stop Command Information panel.
- Enter NEXT in the COMMAND line to display to the Dependency & Client/Server Information panel.
To specify dependency and client/server information
Most objects will have a dependency on another object, meaning that the object will not start (or stop) unless another object is also started (or stopped). TOM keeps track of this dependency structure and uses it to start and stop objects in the correct order. From this panel, you can define the immediate parents of the object (that is, the object(s) that needs to be started before TOM starts this object).
(optional) On the Dependency field, enter the E (edit) line command to add a dependency definition for the object.
Specify Dependency, Client/Server Information
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Object Dependency Information
Dependency: 0
Dependency formula: (Partial)
Parent strength: STRONG WEAK Var
User Property Information
User Properties: 0
Client/Server Information
Servers: 0
User Attributes
User1:
User2:
User3:
User4:
User5:
User6:
User7:
User8:
User Notes: (Partial)The Dependencies panel is displayed.
Dependencies
COMMAND ===> SCROLL ===>
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Line commands: Edit, Merge, DELete, Up, Down, Top, Bottom
CMD I Parent Object Name
--- - ----------------------------------------------------------------
ADD - Add new dependency
MERGE - Merge inherited records
LEFT - Scroll left
RIGHT - Scroll right
END
CANcel
Help(optional) Enter the ADD primary command
The Specify Parent Property panel is displayed.Specify Parent Property
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Dependency Information
Expression ID: (Required for dependency formula)
Parent object or set name:
Child to Parent Dependency
Strength: STRONG WEAK Var
Parent actions for this child object:
Start Stop Restart
Property: @STATUS (? for list)
On System: (variable allowed)
Condition: S EQ NE LT GT LE GE
Property Value: (Enter ? below for list)
ACTIVE
(optional) Enter the name of a parent object or set in the Parent object or set name: field.
- Enter the END command to save the parent definition and return to the Dependencies panel.
- Enter the END command to return to the Specify Dependency, Client/Server Information panel.
- This is the last panel of the object add/edit dialog. Enter the END command to save the TSO object definition.The Confirm Object Definition Add panel is displayed.
Select Yes in the Proceed with Add?: and press Enter to confirm that you want to save the TSO object definition.
Confirm Object Definition Add
COMMAND ===> SCROLL ===> PAGE
Sysplex: BBPLEX01 DefBase: SAMPLE
Object: BBPLEX01.SJSC.TSO
Product: Started Task Management
Object Wizard Exit Confirmation:
Proceed with Add?: _ Yes _ No
ENTER - Terminate dialog
CANcel - Return to previous step
HELPThe TSO object definition is written to the registry. TOM redisplays the TOBJ view where you can view the newly added object.
Related topic