When you initiate the Source Listing Facility, you can easily name the program and position the display at any statement number with a single command:
LIST=progname,#nnnnn
Specifies the name of the program you want to view
Required
Indicates the statement number from 1 to 99999
Note:If the requested statement number is greater than the number of statements in the listing, the greatest number is displayed.
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
Specifies the name of the program you want to view
Specifies a one to six hexadecimal number from 0 to FFFFFF
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
Position the Source Listing display of program ASMDEMO with offset 0007E8 highlighted near the top of the display area enter:
LIST=ASMDEMO,7E8
Position the display area to include more data, source listing, or storage items using the Option #, Statement #, Margin=, and Search = fields of any Source Listing screen.
To display a specific section, select an Option # from the OPTS.
To display a particular statement, enter the desired statement number from 1 to 9999 in the Statement # field, and press Enter.
To display a particular nested program, enter the program name in the Nested = field, and press Enter.
To display 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.
To display the listing at a specific displacement in an Assembler program, enter the displacement from 0 to FFFFFF in the Displacement= field.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|