help db
-------------------------------------------------------------------------------
Title
[R] db -- Launch dialog
Syntax
Syntax for db
db commandname
For programmers
db commandname [, message(string) debug dryrun ]
Set system parameter
set maxdb # [, permanently ]
where # must be between 5 and 1,000.
Description
db is the command-line way to launch a dialog for a Stata command.
The second syntax (which is the same but includes options) is for use by
programmers.
If you wish to allow the launching of dialogs from a help file, see [P]
smcl for information on the dialog SMCL directive.
set maxdb sets the maximum number of dialog boxes whose contents are
remembered from one invocation to the next during a session. The default
value of maxdb is 50.
Options
message(string) specifies that string be passed to the dialog box, where
it can be referred to from the __MESSAGE STRING property.
debug specifies that the underlying dialog box be loaded with debug
messaging turned on.
dryrun specifies that, rather than launching the dialog, db show the
commands it would issue to launch the dialog.
permanently specifies that, in addition to making the change right now,
the maxdb setting be remembered and become the default setting when
you invoke Stata.
Remarks
The usual way to launch a dialog is to pull down the Data, Graphics, or
Statistics menu and to make your selection from there. When you know the
name of the command that you want to run, however, db provides a way to
invoke the dialog from the command line.
db follows the same abbreviation rules that Stata's command-line
interface follows. So, to launch the dialog for regress, you can type
. db regress
or
. db reg
Also see
Manual: [R] db
Help: [R] query