DIAGNOSE (perform diagnostics)
The report shows
- Name
- Length
- Assigned value
- Data type (E is numeric; blank indicates characters)
- Significant decimal places (3 is .001)
Syntax
DIAGNOSE
Usage
The DIAGNOSE statement should be used only for PRL program execution analysis.
The following example shows the use of DIAGNOSE to analyze a previously executed PRL program. DIAGNOSE is added before the END statement.
SET TITLE = 'MVCICS COMMON SYSTEM AREA (CSA) ANALYSIS'
SELECT TYPE 11 RECORDS FROM CMRSTATS
USING CMRDATE CMRTIME CSATSKCT CSAGTMAN CSAFRMAN -
CSADUMPS CSASOSCT
ORDER BY CSATSKCT
REPORT
**************************************************************
* Insert DIAGNOSE statement before END if PRL does not execute *
* properly. DIAGNOSE produces system snap dump and list of *
* variable pool elements showing variable attributes. *
**************************************************************
DIAGNOSE
END
SELECT TYPE 11 RECORDS FROM CMRSTATS
USING CMRDATE CMRTIME CSATSKCT CSAGTMAN CSAFRMAN -
CSADUMPS CSASOSCT
ORDER BY CSATSKCT
REPORT
**************************************************************
* Insert DIAGNOSE statement before END if PRL does not execute *
* properly. DIAGNOSE produces system snap dump and list of *
* variable pool elements showing variable attributes. *
**************************************************************
DIAGNOSE
END
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*