Getting a PL/I function traceback

Often when you get close to a programming error, you want to know how you got into that situation, and especially what the traceback of calling functions is. To get this information, issue the command:
LIST CALLS ;

Example: sample PL/I program for debugging

For example, if you run the PLICALC example with the commands:
AT ENTRY READTOK ;
GO ;
LIST CALLS ;
the Log window will contain something like:
At ENTRY IN PL/I subroutine READTOK.
From LINE 17.1 IN PL/I subroutine PLICALC.
which shows the traceback of callers.