Using IPCS and the IMS offline dump formatter
You can interactively format IMS dumps offline by using a series of panels that provide formatting choices.
Method 1
Run the IMS Offline Dump Formatter as an IPCS verb exit to format and print the dump. You can then use IPCS to view unformatted dump storage referenced in your printed dump.
Method 2
Format, but do not print the dump. Invoke split screen mode on your terminal. On one half of the screen, use ISPF browse to view the formatted control blocks. On the other half, use IPCS to view any unformatted storage referenced in the formatted control blocks.
Choosing FMTIMS parameters
Identify the general problem area before you attempt to choose FMTIMS parameters. If you are unsure of the problem area, format the dump with the SUMMARY option.
The following table shows the FMTIMS parameters that are recommended for general types of problems. For example, if you suspect the problem is with your logger, specify the DISPATCH, LOG, and SYSTEM parameters on the FMTIMS statement.
To use the following table, locate your problem area in the top row. Then read that column to find the suggested formatting options (marked with an X) for that problem.
Parameters | Problem area | |||||||
---|---|---|---|---|---|---|---|---|
Checkpoint/Restart | DB | DC | FP | Log | System/other | Batch | CICS® | |
CBT | X | X | X | X | X | |||
CBTE | X | |||||||
DB | X | X | X | |||||
DBRC | X | X | X | X | ||||
DC | X | 2 | ||||||
DEDB | X | X | ||||||
DISPATCH |
X |
X |
X |
X |
X |
X |
3 |
|
EMH |
X |
X |
X |
|||||
LOG |
X |
X |
||||||
MSDB |
X |
X |
||||||
QM |
X |
2 |
||||||
RESTART |
X |
2 |
||||||
SAP |
X |
|||||||
SAVEAREA1 |
X |
X |
X |
X |
X |
X |
2 |
|
SB |
X |
X |
X |
X |
||||
SCD1 |
X |
X |
X |
X |
X |
X |
X |
X |
SPST |
X |
X |
2 |
|||||
SUBS |
X |
2 |
||||||
SUMMARY1 |
X |
X |
X |
X |
X |
X |
X |
X |
UTIL |
X |
X |
2 |
|||||
Notes:
|
See Solving IMS problems by using the IMS Offline Dump Formatter for a list of the modules formatted with each of the parameters. See Syntax restrictions on the FMTIMS statement to understand the syntax rules for FMTIMS statements.
Using the dump title to choose FMTIMS parameters
When
you are deciding which areas to format for your problem, you can use
the CALLER and TCB fields of the dump title (described in Dump title) as a guide.
Unless one or both of these fields specify unknown,
they should
indicate why a dump was taken.
The following table shows the options you can choose based on valid CALLER and TCB information in the dump title.
CALLER= | TCB= | Recommended FMTIMS options1 |
---|---|---|
CTL | CTL LOG ESS LSD LSM RDS RST STC STM | DC2, Dispatch2, QM2, Summary, System2 Dispatch2, SPST, System2, SUBS, Summary Dispatch, Log, Restart, Summary, System Dispatch2, MSDB, Savearea, SCD2, Summary Dispatch2, MSDB, Savearea, SCD2, Summary Restart, Savearea, SCD2, Summary Restart, Savearea, SCD2, Summary CBT, Dispatch2, Savearea, SCD2, Summary CBT, Dispatch2, Savearea, SCD2, Summary |
CURR3 | DYA | Dispatch2, System2 |
DBRC | DBR | DBRC2, System2 |
DL/I | DLI STC | DB2, Dispatch2, SB2, System2 CBT, Dispatch2, Savearea, SCD2, Summary |
DP | BMP DEP | DB2, System2 DB2, System2 |
FP | BMP DEP4 XFP | DB2, DEDB, MSDB, System2 DB2, DEDB, MSDB, System2 DB2, SPST, System2 |
LOG | LOG | Log2, System2 |
Notes:
|
If CALLER=CURR, the current address space and IMS control region are dumped. This occurs when no CALLER parameter is provided or no IMSDUMP parameter list is passed and DFSFDMP0 cannot match the caller's TCB address and address space ID (ASID) with the TCBs in the IMS TCB table. You can still format the dump data set using the abend number and PSW as a guide in solving the problem. Dynamic allocation also causes CURR to be placed in the CALLER= field. In this case, format the areas listed in the above table.
If CALLER=DP, the abend occurred under the task of a dependent region address space.
If CALLER=IRLM, you need to use the IRLM Offline Dump Formatter to format the IRLM modules.
If CALLER=TRAP, a diagnostic trap for an address space abended.
Offline Dump Formatter parameters
The Offline Dump Formatter provides the option of choosing an 80-column output format in addition to the default value of 120/132 columns. This option allows viewing of formatter output on an 80-column-width screen without needing to shift left or right.
Hto the IMSDUMP formatter verb parameter string between the IMS job name and the FMTIMS keyword. The following are examples of 80-column format option requests under IPCS.
VERBX IMSDUMP 'imsname,R,H,D'
VERBX IMSDUMP 'imsname,H,FMTIMS SCD'
VERBX IMSDUMP 'imsname,D,H,R,FMTIMS (AUTO,MIN)'
Sample FMTIMS statements
FMTIMS (RESTART,SAVEAREA,(SCD,MIN),SUMMARY)
Following is a list of possible subsets you could format for specific error situations. This list is not exhaustive and is not meant to represent every possible error situation.
IMS control region problems (CALLER=CTL)
An IMS control region address space task abended. A common definition is SYS—System Services.
- SYS/CHKPT
- System Service Checkpoint Restart Processing
FMTIMS (SUMMARY,SAVEAREA,(SCD,MIN),RESTART)
- SYS/CNTRL
- System Service Control
FMTIMS (SUMMARY,SAVEAREA,(SCD,MIN),(DISPA,MIN))
- SYS/ESS
- System Service External Subsystem Support
FMTIMS ((SYSTEM,MIN),SPST,(DISPA,MIN),SUBS)
- SYS/INIT
- System Service Initialization
FMTIMS (SUMMARY,SAVEAREA,(SCD,MIN))
- SYS/QMGR
- System Service Message Queue Management
FMTIMS (SUMMARY,SAVEAREA,(SCD,MIN),(DISPA,MIN),QM)
- SYS/SCHD
- System Service Scheduling
FMTIMS ((SYSTEM,MIN),SPST,(DISPA,MIN))
- SYS/SMGR
- System Service Storage Management
FMTIMS ((SYSTEM,MIN),SPST,CBT)
DBRC problems (CALLER=DBRC)
A DBRC address space task abended. You would use the same FMTIMS statement for all of the following problems with Database Recovery Control:
- DBRC/CMD
- Database Recovery Control Command Processing
- DBRC/CNTRL
- Database Recovery Control Processor
- DBRC/EXIT
- Database Recovery Control Exit Processing
- DBRC/SER
- Database Recovery Control Services
FMTIMS ((SYSTEM,MIN),(DBRC,MIN))
Data communication problems (CALLER=CTL)
An IMS data communication task abended under the CTL TCB.
- DC/CMD
- Data Communication Command Processing
- DC/CNTRL
- Data Communication Control
- DC/CONV
- Data Communication Conversational Processing
- DC/LMGR
- Data Communication Line Manager
- DC/MFS
- Data Communication Message Format Services
- DC/TPCALL
- Data Communication DL/I Telecommunications
DL/I problems (CALLER=DL/I or CALLER=DP)
A DL/I address space task abended.
- DB/ACSMTH
- Database Access Method Interface
- DB/ANAL
- Database Call Analyzer
- DB/CMGR
- Database Call Resource Management
- DB/DBCALL
- Database Call Action Processing
- DB/INTRF
- Database Application/Scheduling Interface
Fast Path problems (CALLER=FP)
A Fast Path task abended.
- FP/CNTRL
- Fast Path Control
- FP/DEDB
- Fast Path Data Entry Database Processing
- FP/EMH
- Fast Path Expedited Message Handling Call Analyzer
- FP/MSDB
- Fast Path Main Storage Database Call Analyzer
Log problems (CALLER=LOG)
An IMS control region address space log TCB task abended. Log is part of SYS—System Services.
- SYS/LOG
- System Service Logging
Other problems
If you suspect that the failure was in VSAM, you do not need to run AMBLIST to secure a listing of VSAM modules IDA019L1 and IDA0192A of the failing system. Data Facility Products (DFP) formats the entry points for these modules. IMS includes LPA modules in offline dump data sets only if LPALIB is listed in the SDUMP options for your system. However, this is not recommended because the LPA modules occupy so much space in the dump data sets.
z/OS MVS Diagnosis: Tools and Service Aids describes how to generate a z/OS trace.