Hp XP Command View Advanced Edition Software Manuale Utente Pagina 141

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 310
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 140
CLI command coding format
This section describes the CLI command coding format for each command type.
REXX external routine coding format
REXX external routines provided by Smart Manager for Mainframe must be called as subroutines.
Therefore, write a REXX script as shown below, and then execute the script.
REXX script coding format
CALL
1
command-name
1
"parameter"
Script coding method
Use the RESULT variable to acquire the return code of a CLI command.
When a CLI command is executed, values are set or updated in the REXX variable structure. To
check the command execution results, code a REXX script to output the REXX variables in the REXX
variable structure.
When a CLI command is executed, a message is generated by the command. That message is
stored in the REXX variable message structure. The message structure is initialized each time a CLI
command with the same message structure name specified is called.
Before executing any one of the CLI commands listed below, you must execute the KTLOAD com-
mand. The KTLOAD command loads the information necessary for executing the CLI command
from the configuration file to the REXX variable structure.
KTACTTPG
KTDCTTPG
KTQRYRLC
KTQRYTPG
KTQSTATS
Multiple REXX variable structures are expanded for a single CLI command. If only some of the
REXX variable structures are deleted, subsequently issued commands might not operate normally.
To delete REXX variable structures, you need to delete all the related REXX variable structures.
Related topics
Chapter 8, page 193
TSO/E command coding format
To execute a CLI command categorized as a TSO/E command from a REXX script, code the script
as follows.
REXX script coding format
ADDRESS
1
TSO
1
"command-name
1
parameter"
User Guide 141
Vedere la pagina 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 309 310

Commenti su questo manuale

Nessun commento