Useful IPCS commands and some sample output
Some IPCS commands that you can use when diagnosing crashes.
In IPCS option 6 (COMMAND Menu) type in a command and press the Enter key:
- ip st
- Provides a status report.
- ip select all
- Shows the Jobname to ASID mapping:
ASID JOBNAME ASCBADDR SELECTION CRITERIA ---- -------- -------- ------------------ 0090 H121790 00EFAB80 ALL 0092 BPXAS 00F2E280 ALL 0093 BWASP01 00F2E400 ALL 0094 BWASP03 00F00900 ALL 0095 BWEBP18 00F2EB80 ALL 0096 BPXAS 00F8A880 ALL
- ip systrace all time(local)
- Shows the system trace:
For suspected loops you might need to concentrate on ASID and exclude any branch tracing:PR ASID,WU-ADDR- IDENT CD/D PSW----- ADDRESS- UNIQUE-1 UNIQUE-2 UNIQUE-3 UNIQUE-4 UNIQUE-5 UNIQUE-6 09-0094 009DFE88 SVCR 6 078D3400 8DBF7A4E 8AA6C648 0000007A 24AC2408 09-0094 05C04E50 SRB 070C0000 8AA709B8 00000094 02CC90C0 02CC90EC 009DFE88 A0 09-0094 05C04E50 PC ... 0 0AA70A06 0030B 09-0094 00000000 SSRV 132 00000000 0000E602 00002000 7EF16000 00940000
ip systrace asid(x'3c') exclude(br)
- ip summ format asid(x'94')
- To find the list of TCBs, issue a find command for "T C B".
- ip verbx ledata 'ceedump asid(94) tcb(009DFE88)'
- Obtains a traceback for the specified TCB.
- ip verbx vsmdata 'summary noglobal'
- Provides a memory usage
report:
LOCAL STORAGE MAP ___________________________ | |80000000 <- Top of Ext. Private | Extended | | LSQA/SWA/229/230 |80000000 <- Max Ext. User Region Address |___________________________|7F4AE000 <- ELSQA Bottom | | | (Free Extended Storage) | |___________________________|127FE000 <- Ext. User Region Top | | | Extended User Region | |___________________________|10D00000 <- Ext. User Region Start : : : Extended Global Storage : =======================================<- 16M Line : Global Storage : :___________________________: A00000 <- Top of Private | | | LSQA/SWA/229/230 | A00000 <- Max User Region Address |___________________________| 9B8000 <- LSQA Bottom | | | (Free Storage) | |___________________________| 7000 <- User Region Top | | | User Region | |___________________________| 6000 <- User Region Start : System Storage : :___________________________: 0
- ip verbx ledata 'nthreads(*)'
- Obtains the tracebacks for all threads.
- ip status regs
- Shows the PSW and registers:
CPU STATUS: BLS18058I Warnings regarding STRUCTURE(Psa) at ASID(X'0001') 00: BLS18300I Storage not in dump PSW=00000000 00000000 (Running in PRIMARY key 0 AMODE 24 DAT OFF) DISABLED FOR PER I/O EXT MCH ASCB99 at FA3200 JOB(JAVADV1) for the home ASID ASXB99 at 8FDD00 and TCB99G at 8C90F8 for the home ASID HOME ASID: 0063 PRIMARY ASID: 0063 SECONDARY ASID: 0063 General purpose register values Left halves of all registers contain zeros 0-3 00000000 00000000 00000000 00000000 4-7 00000000 00000000 00000000 00000000 8-11 00000000 00000000 00000000 00000000 12-15 00000000 00000000 00000000 00000000 Access register values 0-3 00000000 00000000 00000000 00000000 4-7 00000000 00000000 00000000 00000000 8-11 00000000 00000000 00000000 00000000 12-15 00000000 00000000 00000000 00000000 Control register values 0-1 00000000_5F04EE50 00000001_FFC3C007 2-3 00000000_5A057800 00000001_00C00063 4-5 00000000_00000063 00000000_048158C0 6-7 00000000_00000000 00000001_FFC3C007 8-9 00000000_00000000 00000000_00000000 10-11 00000000_00000000 00000000_00000000 12-13 00000000_0381829F 00000001_FFC3C007 14-15 00000000_DF884811 00000000_7F5DC138
- ip cbf rtct
- Helps you to find the ASID by looking at the ASTB mapping to see which ASIDs are captured in the dump.
- ip verbx vsmdata 'nog summ'
- Provides a summary of the virtual storage management data areas:
DATA FOR SUBPOOL 2 KEY 8 FOLLOWS: -- DQE LISTING (VIRTUAL BELOW, REAL ANY64) DQE: ADDR 12C1D000 SIZE 32000 DQE: ADDR 1305D000 SIZE 800000 DQE: ADDR 14270000 SIZE 200000 DQE: ADDR 14470000 SIZE 10002000 DQE: ADDR 24472000 SIZE 403000 DQE: ADDR 24875000 SIZE 403000 DQE: ADDR 24C78000 SIZE 83000 DQE: ADDR 24CFB000 SIZE 200000 DQE: ADDR 250FD000 SIZE 39B000 FQE: ADDR 25497028 SIZE FD8 DQE: ADDR 25498000 SIZE 735000 FQE: ADDR 25BCC028 SIZE FD8 DQE: ADDR 25D36000 SIZE 200000 DQE: ADDR 29897000 SIZE 200000 DQE: ADDR 2A7F4000 SIZE 200000 DQE: ADDR 2A9F4000 SIZE 200000 DQE: ADDR 2AC2F000 SIZE 735000 FQE: ADDR 2B363028 SIZE FD8 DQE: ADDR 2B383000 SIZE 200000 DQE: ADDR 2B5C7000 SIZE 200000 DQE: ADDR 2B857000 SIZE 1000 ***** SUBPOOL 2 KEY 8 TOTAL ALLOC: 132C3000 ( 00000000 BELOW, 132C3000
- ip verbx ledata 'all asid(54) tcb(009FD098)'
- Finds the PSW and registers at time of the exception:
+000348 MCH_EYE:ZMCH +000350 MCH_GPR00:00000000 000003E7 MCH_GPR01:00000000 00000000 +000360 MCH_GPR02:00000001 00006160 MCH_GPR03:00000000 00000010 +000370 MCH_GPR04:00000001 082FE780 MCH_GPR05:00000000 000000C0 +000380 MCH_GPR06:00000000 00000000 MCH_GPR07:00000000 127FC6E8 +000390 MCH_GPR08:00000000 00000007 MCH_GPR09:00000000 127FC708 +0003A0 MCH_GPR10:00000001 08377D70 MCH_GPR11:00000001 0C83FB78 +0003B0 MCH_GPR12:00000001 08300C60 MCH_GPR13:00000001 08377D00 +0003C0 MCH_GPR14:00000000 112100D0 MCH_GPR15:00000000 00000000 +0003D0 MCH_PSW:07852401 80000000 00000000 127FC6F8 MCH_ILC:0004 +0003E2 MCH_IC1:00 MCH_IC2:04 MCH_PFT:00000000 00000000 +0003F0 MCH_FLT_0:48410E4F 6C000000 4E800001 31F20A8D +000400 MCH_FLT_2:406F0000 00000000 00000000 00000000 +000410 MCH_FLT_4:45800000 00000000 3FF00000 00000000 +000420 MCH_FLT_6:00000000 00000000 00000000 00000000 +0004B8 MCH_EXT:00000000 00000000
- blscddir dsname('DUMPHLQ.ddir')
- Creates an IPCS DDIR.
- runc addr(2657c9b8) link(20:23) chain(9999) le(x'1c') or runc addr(25429108) structure(tcb)
- Runs a chain of control blocks using the RUNCHAIN command.
addr
: the start address of the first blocklink
: the link pointer start and end bytes in the block (decimal)chain
: the maximum number of blocks to be searched (default=999)le
: the length of data from the start of each block to be displayed (hex)structure
: control block type