16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

dbx: list<br />

All lines from the first line number specified to the second line number specified,<br />

inclusive, are then displayed, provided these lines fit in the list window.<br />

If the second source line is omitted, ten lines are printed, beginning with the line<br />

number specified in the SourcelineExpression argument.<br />

If the list subcommand is used without arguments, the default number of lines are<br />

printed, beginning with the current source line. The default is 10.<br />

To change the number of lines to list by default, set the special debug program<br />

variable, $listwindow, to the number of lines you want. Initially, $listwindow is set<br />

to 10.<br />

Usage Note<br />

The list subcommand can be run only while the dbx debug program is running.<br />

Examples<br />

1. To list the lines 1 through 10 in the current file, enter:<br />

list 1,10<br />

2. To list 10, or $listwindow, lines around the first executable line in the main<br />

procedure, enter:<br />

list main<br />

3. To list 11 lines around the current line, enter:<br />

list $-5,$+5<br />

Related Information<br />

The edit, listi, move, and set subcommands.<br />

listfiles subcommand for dbx: Display the list of source files<br />

Format<br />

listfiles [loadmap-index]<br />

Description<br />

The listfiles subcommand displays the list of files associated with each module in<br />

the load map.<br />

If the listfiles subcommand is used without arguments, the files for every module in<br />

the load map will be listed.<br />

Usage notes<br />

The listfiles subcommand can be run only while the dbx debug program is running.<br />

Examples<br />

1. To list all files in all modules, enter:<br />

listfiles<br />

2. To list the files only for module with index 0 in the loadmap, enter:<br />

listfiles 0<br />

Related Information<br />

The listfuncs and map subcommands.<br />

202 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!