Previous Topic: LIST Command—Position the DisplayNext Topic: Issue Commands


Assembler Programs

When you initiate the Source Listing facility you can position the Assembler display at a specific offset location in a CSECT. Use the command form:

LIST=progname,offset

progname: is the name of the program you want to view.

offset is a one- to six-hexadecimal number from 0 to FFFFFF.

For example, to position the Source Listing display of program COBDEMO with statement 99 highlighted near the top of the display area enter:

LIST=COBDEMO,#99

To position the Source Listing display of program ASMDEMO with offset 0007E8 highlighted near the top of the display area enter:

LIST=ASMDEMO,7E8

You can position the display area to include more data, source listing, or storage items using the following options:

Option #

Displays a specific section, choose an Option # from the OPTS.

Statement #

Displays a particular statement, enter the statement number from 1 to 9999 in the Statement # field and press Enter.

Nested=

Display a particular nested program, enter the program name in the Nested = field and press Enter.

Search=

Displays the code defining a particular data item in Working‑storage, Local-Storage, or the Linkage section, enter the data name in the Search = field and press Enter. To display the code surrounding a particular paragraph or label, enter the paragraph name or label name in the Search = field and press Enter.

Displacement=

Display the listing at a specific displacement in an Assembler program, enter the displacement from 0 to FFFFFF in the Displacement= field.