To display the source code for an entire program, place the cursor on any yellow point-and-shoot
source line number or listing statement number and press Enter. For example, if line number
69 was selected from an event in the interactive report, the display that is shown in
Sample Compiler Listing display might be displayed.
The source line or statement number that is initially selected
is highlighted.
The example that is shown here assumes that the display of pseudo-assembler
instructions is suppressed. For details on this suppression,
see Displaying source code.
Information that is displayed in blue (all lines that start in column 1)
pertains to the program source code. On the left side of the display is information
about the source line or listing statement number of the source displayed. This
information is followed by the actual source code at this location in the program.
To add machine instruction information to the listing, select the View
menu Add Pseudo Assembler Instructions option (for information about selecting this option in
general, refer to Action-bar pull-down menus). This option causes the Compiler Listing
display to be reformatted with pseudo-assembler instructions inserted into the program source
code as shown in Sample Compiler Listing display: Pseudo-assembler instructions enabled .
Information that is displayed in green (all lines that start in
column 15) pertains to the disassembly of machine instructions. This
information is shown interspersed with the source code information,
following the line of code to which they belong.
Note: For
COBOL programs compiled with TEST(NONE,SYM,SEPARATE),
all pseudo-assembler instructions are placed following the last line
of source code.
For all other programs, ensure that the
source line of interest is scrolled to the top of the display before
you add pseudo-assembler instructions to the listing display. The
extra display lines might cause the source line to disappear from
the current view.
To remove the pseudo-assembler instructions from the display, select
the View menu Remove Pseudo Assembler
Instructions option.
Information at the top of the listing indicates the source of the compiler listing or side. An
example is shown in Sample Compiler Listing display: Origin information. You can scroll to the top of the side file
listing by entering, for example, the UP MAX command.