SHOW WHEN (2.7)
Related Topics
The SHOW WHEN screen (2.7) displays active when-conditions set in a program. The screen also allows you to remove when-conditions.
Access the SHOW WHEN screen by typing the number 7 on the Debugging Facilities Menu (2), or from any screen type =2.7 in the COMMAND field, or use the SHOW WHEN primary command.
SHOW WHEN Screen (2.7) for C, COBOL and PL/I
COMMAND ===>
SCROLL ===> CSR
MODULE: CWDEMC CSECT: Main_C_Demo_Code COMPILED: 21 MAR 2007 - 12:14:34
-------------------------------------------------------------------------------
MODULE:CSECT
DEL ACTIVE WHEN CONDITIONS
--- -------------------------------------------------------------------------
_ CWDEMC:Main_C_Demo_Code
WHEN main:sWsEmployeeNumber = 999
_ CWDEMCB2:CWDEMCB2
WHEN PAYEMP1 CHANGES
_ CWDEMCB2:CWDEMCB2
WHEN PAY999-LST-PCT CHANGES
_ CWDEMCB2:CWDEMCB2
WHEN WA-RATE CHANGES
**END*
Input Field
DEL
The D Line command may be used to delete a when-condition. To use the command, type a D in the DEL field next to the when-condition that you wish to delete, and press Enter.
Output Fields
ACTIVE WHEN CONDITIONS
The ACTIVE WHEN CONDITIONS field shows the when-conditions that are currently in effect. The entire WHEN command is displayed in this field. For more information on the format of the when-condition, see to WHEN (W) and WHEN-CONDITION.
MODULE:CSECT
The MODULE:CSECT field shows the name of the module and CSECT with which the when-condition is associated.