Displaying formatted XML (XML)
The XML command is used to parse raw data at a specified storage address and format it into a readable, indented XML tree structure. See XML command for the complete command syntax.
When invoked, a pop-up panel similar to the following is displayed: Figure 1. Sample Storage XML Mapping display
File View Services Help
─┌───────────────────────── Storage XML Mapping ──────────────────────────────┐
D│ │ 00000000-0000011F
C│ To view formatted XML data, specify the storage address in the Address │ Scroll ===> CSR
S│ field and press Enter. │
│ │
A│ Start Address ....... │
│ Format Length ....... 1000 (Decimal) │
│ │
│ F1=Help F3=Exit F12=Cancel │
└────────────────────────────────────────────────────────────────────────────┘
00000070 +70 00000000 00000000 00000000 00000000 *................*
00000080 +80 00000000 00001004 00020001 00040011 *................*
00000090 +90 000000FE 00000000 00000000 00000000 *................*
000000A0 +A0 03002401 00000000 00000000 00003401 *................*
000000B0 +B0 00000000 00000000 0001530E 0262B9A0 *................*
000000C0 +C0 28000000 00000000 FBFFFFFB FEFFFF78 *................*
000000D0 +D0 FFDEE000 00000000 FF36E008 00000000 *..\.......\.....*
000000E0 +E0 00000000 00000000 00000000 00000000 *................*
Lines 000000F0-00000100 (X'20' bytes) same as above
00000110 +110 00000000 057A564A 00000000 00000000 *.....:.0........*
Note:
If the XML command is issued
from the Dump Storage display, the Address field is automatically initialized to the current
address.
You can configure the following options on this panel:
- Start Address
- The explicit memory address where the XML formatting begins. The address parameter is 64-bit enabled. For details, see Specifying 64-bit addresses.
- Format Length
- The maximum number of bytes to read from the specified address. The default is 1000.
Press Enter to process the storage. The following output is displayed:
File View Services Help
──────────────────────────────────────────────────────────────────────────────────────────────────────────
XML Formatter Line 1 Col 1 132
Command ===> Scroll ===> CSR
SYSTEM=CICSOIA1 CODE=ZC2479 ID=65/0005 RNW1 2024/12/09 05:03:42
<?xml
version="1.0" encoding="UTF-8"?>.
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www
.w3.org/2001/XMLSchema-instance">.
<soapenv:Body>
<TXLife>
<UserAuthRequest>
<UserLoginName>
LPSM244
</UserLoginName>
<BatchID>
303
</BatchID>
</UserAuthRequest>
<TXLifeRequest>
<TransRefGUID>
X
</TransRefGUID>
F1=Help F3=Exit F5=RptFind F6=Actions F7=Up F8=Down F10=Left F11=Right
To exit from the XML display and return to the previous screen, enter EXIT (PF3).