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.

|<br />

|<br />

|<br />

dbx: dump<br />

Option<br />

>file dump output to the specified file.<br />

Usage Note<br />

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

dump redirects output to the specified file.<br />

Examples<br />

1. To display names and values of variables in the current procedure, enter:<br />

dump<br />

2. To display names and values of variables in the add_count procedure, enter:<br />

dump add_count<br />

3. To redirect names and values of variables in the current procedure to the<br />

var.list file, enter:<br />

dump > var.list<br />

edit subcommand for dbx: Invoke an editor<br />

Format<br />

edit [procedure | file]<br />

Description<br />

The edit subcommand invokes an editor on the specified file. The file can be<br />

specified through the file argument or through the procedure argument (in which<br />

case the editor is invoked on the file containing that procedure). If no file is<br />

specified, the editor is invoked on the current source file. The default editor is the<br />

ed editor. Override the default by resetting the EDITOR environment variable to the<br />

name of the desired editor.<br />

Usage Note<br />

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

v The edit subcommand is not supported in GUI (socket) mode (-p).<br />

Examples<br />

1. To invoke an editor on the current source file, enter:<br />

edit<br />

2. To invoke an editor on the main.c file, enter:<br />

edit main.c<br />

3. To invoke an editor on the file containing the do_count procedure, enter:<br />

edit do_count<br />

Related Information<br />

The ed editor.<br />

The list subcommand for the dbx command.<br />

file subcommand for dbx: Change the current source file<br />

Format<br />

file [file]<br />

198 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!