CP Command Reference for General Users (Rel 6 PLC 17 Apr81)
Page29(41 of 213)
• 16 byte qroups, aliqned on 16 byte boundaries, hexadeGimal format, printel four fullwords plus EBCDIC translation per line. For the first format, enter the DISPLAY command as: you receive the response: 001024 xxxxxxxx xxxxxxxx xxxxxxxx For the seGond format, enter the command as: display t1026-102c ana the response is: (E BCDI C trans.) 001020 xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx * •••••••••••••••• * You can also specify the area of storage to be displayed by entering a hexalecimal byte count such as: display 1024.12 The response displays 20 bytes as follows: 001024 xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx 001034 xxxxxxxx BYTE ALIGNMENT ON TERMINAL OUTPUT The previous responses illustrate the byte alignment that takes place in each of the two display formats. If the first location to be displayed is not on the appropriate 4 or 10 byte boanaary, it is rounded down to the next lower boundary that applies. If the last location to be displayed does not fall at the end of the appropriate 4 or 16 hyte group, it is rounded up to the end of that qroup. If you enter: display k1024-3200 the keys that are assigned to each 2K segment of the specified storaqe area are displayed. contiquous 2K segment with identical storaqe keys are combined; for example, the response could have been: 001000 T8 OQ27FF KFY=FO 002800 TO 003800 KEY=EO To lisplay all storaqe keys, enter: display k Section 3. CP Command Usage 29
If your virtual machine is in extended control mode (ECMJDE), you can interrogate anv of the control reqisters: display X1 4 A and receive the response: EeR 1 ECR 4 ECR 10 xxxxxxxx xxxxxxxx xxxxxxxx However, the same command entered while your virtual machine is not in exten1e1 control mode results in the response: ECR 0 0 Ee: R 0 xxxxxxxx xxxxxxxx xxxxxxxx As each operand in the command line is processed, VM/370 determines that ECMODE is OFF and replaces any reference to a control register with ECF 0, the onlv control reqister available in basic control (BC) mode. PRINTER OUTPUT With the DUMP command you can dump the contents of all registers, the °SW and the storage keys, along with any specified area of virtual storaqe, to the virtual machine's spooled printer. The printer format for storage locations is 8 fullvords per line plus the EBCDIC +ranslation on the riqht. To print only the registers, the PSW, and the storage keys, you need only enter: dllmo 0 To also print an area of virtual storage, you can specify the beginninq and ending hexadecimal locations: dLlmp 1064-10ff TOU can also specify the beginning location and the number of bytes to be dumpe1; both values are entered in hexadecimal: dump 1064.9b If you are printinq a series of dumps, you can fncludinq its identification on the DUMP command asterisk: dump 1000-2000 * dump no. 1 identify each one by line, following an To oriat the dump data on the real printer you must first close the virtual printer. Issue the command: close printer and the dump 1ata spool file is placed on an appropriate system printer queu e. In addition, if vour installation has the VM/IPCS Extension program product ilstallpd, you can use the VMDUMP command that dumps storage for quest virtual machines. VMDUMP provides the VM/IPCS Extension with 30 IBM VM/370 CP Command Peference for General Users