INQUIRE TRANDUMPCODE
Retrieve information about a transaction dump code.
Conditions: END, ILLOGIC, NOTAUTH, NOTFND
For more information about the use of CVDAs, see CICS-value data areas (CVDAs).
Description
You can use the INQUIRE TRANDUMPCODE command to look at some of the information in the transaction dump table entry for a particular transaction dump code.
- Producing a transaction dump.
- Producing a system dump (an MVS™ SDUMP).
- Forwarding an SDUMP request to related z/OS® images.
- Shutting down CICS.
CICS provides a transaction dump table with default actions for CICS transaction abend codes (those beginning with the letter A). You can change or add actions by using the SET TRANDUMPCODE command or the CEMT transaction. Such changes are preserved over executions of CICS until an initial or cold start occurs.
CICS builds table entries, using default values, when it receives a dump request with a code for which it does not have an entry. You can also add your own entries with the SET TRANDUMPCODE command or a CEMT transaction.
Entries you add remain over executions of CICS until an initial or cold start occurs, but the entries CICS builds are considered temporary and are discarded at shutdown.
Consequently, if you enquire about a
code that is not explicitly defined before it appears in a dump request,
you get a not found
response.
Valid characters include uppercase characters (A-Z), lowercase characters (a-z), digits (0-9), and the special characters $ @ # / % & ? ! : | ; , ¢ + * ¬ - and _. In some cases, the characters < > . = and " are also valid depending on where you set them. Any lowercase characters you enter are converted to uppercase.
Browsing
You can also browse through all of the entries in the transaction dump table by using the browse options (START, NEXT, and END) on INQUIRE TRANDUMPCODE commands. See Browsing resource definitions for general information about browsing, including syntax, exception conditions, and examples.
Options
- CURRENT(data-area)
- Returns a fullword binary field that shows the number of dump requests with this dump code made since the count was last reset. (The count is reset automatically at CICS shutdown and can be reset explicitly with a SET SYSDUMPCODE RESET command or its CEMT equivalent.) The count includes requests that do not result in dumps, either because they are suppressed for this code or because the number for this code has reached its maximum.
- DUMPSCOPE(cvda)
- Returns
a CVDA value that shows whether a request for a dump with this dump
code should cause an SDUMP (system dump) request to be sent to related z/OS images.
A related image is one which contains a CICS region doing work on behalf of the task that caused the dump request - specifically, a region that has a task doing work under the same APPC token as the task causing the dump.
The sending of SDUMP requests occurs only when the table entry for this code specifies a system dump (that is, the SYSDUMPING value is SYSDUMP), and only in a sysplex environment executing under MVS/ESA Version 5.1 or later and the z/OS Workload Manager.
CVDA values are as follows:- LOCAL
- SDUMP requests are not to be sent.
- RELATED
- SDUMP requests are to be sent.Note: A setting of DUMPSCOPE(RELATED) results in a single dump being taken for each affected z/OS image. This dump contains the output from all the affected CICS regions in the image. For more information, see Automatic dump data capture from related CICS regions.
- MAXIMUM(data-area)
- Returns a fullword binary field that shows the maximum number of times CICS will take the set of actions indicated in the transaction dump table entry when a dump request with this code is received. A value of 999 means the default of no limit.
- SHUTOPTION(cvda)
- Returns
a CVDA value that shows whether the CICS system
is to be shut down after a request for a dump with this dump code.
CVDA values are as follows:
- NOSHUTDOWN
- The CICS system is not to shut down.
- SHUTDOWN
- The CICS system is to shut down.
- SYSDUMPING(cvda)
- Returns
a CVDA value that shows whether a system dump should be taken when
a transaction dump request with this code is received. However, even
when the dump table entry specifies a system dump, a dump is produced
only when the CURRENT value is no greater than the MAXIMUM, and system
dumps are not suppressed system wide (see the DUMPING option in the
INQUIRE SYSTEM command). CVDA values are as follows:
- NOSYSDUMP
- A system dump is not to be taken.
- SYSDUMP
- A system dump is to be taken.
- TRANDUMPCODE(data-value)
- Specifies the 4-character transaction dump code about which you are inquiring. A valid transaction dump code has no leading or imbedded blanks.
- TRANDUMPING(cvda)
- Returns
a CVDA value that shows whether a transaction dump should be taken
when a transaction dump request with this code is received. Even when
the dump table entry specifies a transaction dump, however, one is
taken only when the CURRENT value is no greater than the MAXIMUM.
CVDA values are as follows:
- NOTRANDUMP
- The transaction dump is to be suppressed.
- TRANDUMP
- The transaction dump is to be taken.
Conditions
- END
- RESP2 values:
- 2
- There are no more resource definitions of this type.
- ILLOGIC
- RESP2 values:
- 1
- You have issued a START command when a browse of this resource type is already in progress, or you have issued a NEXT or an END command when a browse of this resource type is not in progress.
- NOTAUTH
- RESP2 values:
- 100
- The user associated with the issuing task is not authorized to use this command.
- NOTFND
- RESP2 values:
- 1
- The dump code cannot be found.