Chapter Contents |
Previous |
Next |
Running the Debugger under TSO |
This section provides specific instructions for running the SAS/C Debugger under TSO. SeeQuick Start to Using the Debugger under TSO for more general information.
Compiling Your Source Files |
Compile each source file that you want to debug with the
debug
compiler option. Use the LC370 CLIST
in order to compile your program. If you use the recommended naming conventions
for your source data set and debugger data set (userid.pdsname.C and userid.pdsname.DBGLIB)
and you do not fully qualify your source data set when you invoke the CLIST,
the CLIST automatically associates your debugger file with the DDname SYSDBLIB.
Otherwise, you are first prompted for the name of your debugger data set,
and then the CLIST associates it with the DDname SYSDBLIB.
Linking Your Programs |
Invoking the Debugger under TSO |
Allocate data sets that are needed at run time, and call the debugger.
sname
option, the member name in DBGLIB is
the section name that you specify. Otherwise, the member name is the default
section name.
=d
with the following command:
call dsname '=d'
The dsname names the load module and must follow standard TSO naming conventions.
test dsname '=d'
program-name =d <arguments>
or
c program-name =d <arguments>
You can also use TEST with a command processor by issuing the following command:
test dsname cp
Then TEST prompts you with ENTER COMMAND FOR CP, and you type
program-name =d <arguments>
smc fs(tsoout) tds('userid.group.type (out5)') asis
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.