102 Tivoli Business Systems Manager Version 2.1: End-to-End Business Impact Management
? DeleteAppLauncherMenuEntry.sh with arguments:
-n Entry name
-c Class ID
-m Name of menu item
-r Remove parent menu if empty
3.7.2 z/OS subsystems command support
Command support has been predefined for most of the z/OS subsystems, such
as DB2, CICS, or IMS. These commands are send to z/OS through Tivoli
NetView for z/OS with a NETCONV session. Command are invoked using the
program tgmtask from the database server.
As an example, we show the implementation on a single Started Task object with
the MVS Display Active command. The steps are:
1. Define a program to invoke the MVS D A,<stcname> command in NetView. This
must be done because the console reply is asynchronous.
2. Define a stored procedure to invoke the tgmtask command that sends the
command to NetView.
3. Define the stored procedure as a method for the Started Task object.
4. Define the menuitem to invoke the method for a StartedTask object.
NetView command
The NetView command is called MVSDACMD, and its content is shown in
Example 3-3.
Example 3-3 MVSDACMD
/*REXX*/
arg stcname .
'PIPE NETV MVS D A,'||stcname '| CORRWAIT | COLLECT | CONSOLE'
exit
All console commands must be correlated and collected into a single multi-line
message and shown in the console.
Stored procedure
We call the stored procedure _MVSDA. Note the underscore: All stored
procedures that are used as a method for an IBM Tivoli Business Systems
Manager object start with an underscore. The method nameis MVSDA (without
the underscore).