Sometimes it is necessary to know which NCL is currently running and at what statement. Cases of interest might be:
- A self-written NCL starts but seems to hang or loop.
- CA-Customer support needs to know which NCL is running when the user expects a problem.
In such cases you can do the following:
1. Open a new Window by putting the Cursor in the first line of the panel and pressing PF02. If you already run two windows then simply press PF09 to switch into the other window.
2. Change into OCS and enter command SHOW NCL=REGION
This will show all NCL procedures running in the other window.
A display looks like
N11935 NCLID BASEPROC CURRENT LEV W TYPE INIT OWNER PG PRI P-UNITS
N11936 036855 $NMPMENU $CAWV000 002 1 FSPROC USER1 USER1 3 2 4.54
N11918 ...... PROCESSING 20190000 INTREAD SET TY
N11936 036858 $CAWV000 $CASL000 002 1 START 036855 USER1 3 2 1.15
N11918 ...... PROCESSING &PANEL STMT 21560000, P=$SL000LIST
This way you ca determine which NCL(s) are currently running and which statement they are currenty processing.