XMLDATA IPCS subcommand

To make it easier to analyze z/OS XML System Services dumps, the XMLDATA subcommand is provided for use with the IPCS formatter. To use the subcommand, input the following under IPCS option 6:
COMMAND: XMLDATA address option
The address parameter is the address of the z/OS XML parser’s Parser Anchor Block (PAB); this is a required parameter. The address parameter accepts both 31- and 64-bit addresses. If you do not know the value for the address parameter, you can place a '0' in the address field, and XMLDATA will try to locate the value for you, for example: XMLDATA 0 TRACE. Although this method is not guaranteed to work, it is still an available option.
The option parameter allows you to select what information you want to review within the provided dump (see Table 1 for a list of options and their descriptions). If nothing is provided for the option parameter, XMLDATA will use the default option BASIC. The following table lists the options available for XMLDATA:
Table 1. XMLDATA options
Option Description
BASIC Displays to the screen widely used dump information. Such information includes the following: the PSW and any general information during the abend; the value of the registers; an API trace; a user input parameter list; feature flags, return code and reason codes; and the last 64 bytes of the input and output buffers.
PARAM Displays the parameter list values for the GXL1PRS or GXL4PRS entry points.
BUFFER (inlen, outlen, fraglen) Displays the last inlen bytes of the input buffer ending at where the parser abends, displays the last outlen bytes of the output buffer and displays the first fraglen bytes of the fragment buffer. The fragment buffer option is only available for a non-validating dump. For a validating dump, the input buffer option will not display the most current bytes of data at where the z/OS XML parser abends, but instead the input buffer option will display from the beginning of the input buffer for inlen bytes that has been loaded for parsing within the validating z/OS XML parser. If the length value of zero is provided for a specific buffer type, that specific buffer information will be skipped. The inlen, outlen, and fraglen parameters are all optional. For any that are not specified, the default is 128 bytes.
EXTENT Displays all available free and external extents’ information.
MISC Displays the status of each feature flag, input document encoding, exit services, return code and reason codes.
TRACE (option) Displays the trace of the API calls. The option parameter is optional. Providing ‘ADV’ in the option parameter displays a more advanced API trace. Otherwise, a simple API trace will be displayed. (Default is to display a simple API trace).
PAB Displays all the defined fields in the PAB.
STRUCT (option, address) Displays the formatted control blocks including the z/OS XML parser diagnostic area, element stack, default attribute record, local name tree, prefix tree, namespace tree and data buffer. The data buffer option is only available if the dump is taken with the validation feature flag turned on. The option parameter is required, otherwise no control block will be displayed. The options include the following: XD, XELE, XATT, LN, PFX, URI, DBUF, respectively. The address parameter is optional and is only available for local name, prefix, namespace tree and data buffer option. For local name, prefix, and namespace trees, if you do not want to display the tree from the root node, then provide a child node address for the tree to use as the root node. For data buffer, if you want to display the details of a specific internal input buffer, then provide a data buffer address. (For the address parameter, the default for the trees is the tree root node address.) If no options or addresses are selected, a menu of all available options will be displayed.
MARKED Displays data that was parsed by the z/OS XML parser, but has not yet been placed in the output buffer, due to the interruption of an abend. This option is only available if the dump is taken with the validation feature flag turned off.
PMM Displays the formatted Module Map: PMM, Secondary Table: PST, and System Control: PSC.
HELP Displays all available options and their descriptions.
The following is an example of the XMLDATA subcommand:
XMLDATA 00002940121498028 PAB