Chapter Contents |
Previous |
Next |
Debugger PROFILEs, Configuration Files, and EXECs |
The configuration file controls the initial configuration of the PF keys and windows when you invoke the debugger. It is processed after your PROFILE, and you can specify a user-defined configuration file in a number of ways as described in Specifying a Configuration File. If no configuration file is specified, the debugger uses a default initial configuration that is supplied with the SAS/C Debugger.
The commands that are valid in a configuration file and the methods of saving configurations are described in Creating Configuration Files.
Specifying a Configuration File |
You can specify a user-defined configuration file in the following ways:
config file
command in your PROFILE. See Specifying a Configuration File from a PROFILE.
The format of the config
command that is used in your PROFILE to specify a user-defined configuration
file depends on your operating environment. See config for a complete description of the config
command.
config file filename
See the code sample in Setting Up a PROFILE under CMS for an example of this format. filename can be any valid CMS filename.
config file filename (member)
See the code sample in Setting Up a PROFILE under TSO for an example of the first form of this
format. In the first form, filename can be any
OS/390 data set name. The second form is used to specify the member name of a file that is stored in a partitioned data
set named userid.CDEBUG.CONFIG.
program-name DBCONFIG *
When you compile the program, specify program-name with the sname
option. Refer to the
SAS/C Compiler
and Library User's Guide, Third Edition for information about using
the sname
compiler option to
specify a program name under CMS.
Under OS/390 Create a partitioned
data set that is named userid.CDEBUG.CONFIG.
You can add members to this PDS that are selected by member name when you
compile your program. For example, you can create a configuration file that
is named userid.CDEBUG.CONFIG(myconfig), which is associated with your compilation by the
sname
option when you compile a program in userid.source.C(mycode). See the
SAS/C Compiler
and Library User's Guide, Fourth Edition for information about using
the sname
compiler option to
specify a program name under OS/390.
You can create a user-defined configuration file that sets your default initial configuration. This configuration is used only if you do not specify a configuration file in your PROFILE or as described in Associating a Configuration File with a Program.
UNKNOWN DBCONFIG *
Under OS/390, it is created as the following PDS member:
'first_level_qualifier.CDEBUG.CONFIG(UNKNOWN)'
Creating Configuration Files |
A configuration file can be created in the following ways:
config save
command.
The second method offers the easier way of creating a new configuration file.
PF key customization Any of the PF
keys may be customized by issuing appropriate keys define
commands, as described in Using PF Keys.
You can type these commands directly into a configuration file by using a
text editor, or you can use the config save
command after modifying PF key assignments with the Keys window. See Saving Your Configuration.
The following subcommands of the
window
command are valid in the configuration file:
autopop
border
color
config
context
intercepts
memory
open
scroll
trace
Note:
The autopop
, color
, config
,
context
, open
, and trace
commands take
a window name as a parameter.
The effect of specifying
window
commands outside the configuration file is discussed in Windowing Interface and Command Execution. Certain commands have
the effect of changing the configuration (window colors, window position and
size, number of windows, scroll amount, and so on) of the debugger. Similarly, keys define
commands that are issued during execution (see
Using PF Keys) may also
change the configuration. The debugger enables you to save this configuration
by issuing the config file
and config save
commands. For example, the following command
displays the name of the current configuration file in the Log window:
config file
Then, when you issue the following command, your configuration is saved to that file:
config save
You can save your configuration to a file other than
the current configuration file by issuing the config save
command with a FILENAME argument. For example, under CMS, the following command
saves the configuration to a configuration file that is named config1
:
config save config1
This command also changes the current configuration file to config1
.
Both the config file
and config save
commands are described in Command Directory.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.