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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Usage Note<br />

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

Examples<br />

1. To search backward in the current source file for the letter z, enter:<br />

?z<br />

2. To repeat the previous search, enter:<br />

?<br />

Related Information<br />

The / (search) subcommand.<br />

/ subcommand for dbx: Search forward for a pattern<br />

Format<br />

/ [RegularExpression]<br />

Description<br />

The / subcommand searches forward in the current source file for the pattern<br />

specified by the RegularExpression argument. Entering the / subcommand with no<br />

arguments causes dbx to search forward for the previous regular expression.<br />

Usage Note<br />

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

Examples<br />

1. To search forward in the current source file for the number 12, enter:<br />

/ 12<br />

2. To repeat the previous search, enter:<br />

/<br />

Related Information<br />

The ? (search) subcommand.<br />

alias subcommand for dbx: Display and assign subcommand aliases<br />

Format<br />

alias [name] [string]<br />

Description<br />

The alias subcommand creates aliases for dbx subcommands. The name<br />

argument is the alias being created. The string argument is a series of dbx<br />

subcommands that, after the execution of this subcommand, can be referred to by<br />

name. If the alias subcommand is used without aliases, it displays all current<br />

aliases.<br />

Usage Note<br />

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

Examples<br />

1. To set tracef1 to be an alias for trace in f1, enter:<br />

alias tracef1 "trace in f1"<br />

2. To define a stopf alias with file and line arguments to allow shorthand for<br />

setting a breakpoint within a file, enter:<br />

dbx: ?<br />

Chapter 2. Shell command descriptions 189

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

Saved successfully!

Ooh no, something went wrong!