Administration Commands
query_tp_definition
A text string describing the TP, as specified in the definition of the TP.
instance_limit
Maximum number of simultaneously active instances of the specified TP.
instance_count
Number of instances of the specified TP that are currently active.
locally_started_count
Number of instances of the specified TP which have been started locally (by the TP issuing a TP_STARTED verb).
remotely_started_count
Number of instances of the specified TP that have been started remotely (by receiving an Attach request).
2.175.3 Error Return Codes
If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.
Parameter Check
If the command does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
PARAMETER_CHECK
secondary_rc
Possible values are:
INVALID_LU_ALIAS
The lu_alias parameter value was not valid.
INVALID_LU_NAME
The lu_name parameter value was not valid.
INVALID_TP_NAME
The list_options parameter was set to LIST_INCLUSIVE to list all entries starting from the supplied name, but the tp_name parameter value was not valid.
State Check
No specific state errors, other than those listed in Appendix A, Common Return Codes from snapadmin Commands, occur for this command.
Other Conditions
Appendix A, Common Return Codes from snapadmin Commands, lists combinations of primary and secondary return codes that are common to all commands.
2.176 query_tp_definition
The query_tp_definition command returns information about transaction programs (TPs) defined on a SNAplus2 system. It can be used to obtain information about a specific TP or about multiple TPs, depending
561