COBOL Manual for TNS and TNS/R Programs
Executing and Debugging HP COBOL Programs
HP COBOL Manual for TNS and TNS/R Programs—522555-006
25-9
Changing or Clearing Unwanted Preparation
Commands
Changing or Clearing Unwanted Preparation Commands
To change or clear a DEFINE, you must use these TACL commands:
For details on the preceding TACL commands, see the TACL Reference Manual.
To change or clear an ASSIGN or PARAM command, you use the TACL command
CLEAR. Some examples of the CLEAR command follow.
Executing an HP COBOL Program
You can start your program executing either from a TACL prompt (that is, from your
TACL process) or from any other process. In either case, the operating environment
creates a new process—your executing program—and that process is affected by any
ASSIGN commands, PARAM commands, and DEFINEs that are active when the
process is created (see Preparing to Execute an HP COBOL Program).
Like every new process, your executing HP COBOL program receives a startup
message from the operating environment. The startup message contains names for
the IN file, the OUT file, the home terminal, and the default volume and subvolume. As
an HP COBOL application programmer, you need not get involved with the startup
message itself. If you need to manipulate the startup message, you can use Saved
Message Utility (SMU) routines.
Topics:
•
Starting an HP COBOL Program From a TACL Prompt
•
Specifying Default Input and Output Devices
•
Specifying the Home Terminal
•
Specifying the debugger: see Debugger Selection
•
Naming the New Process
TACL Command Function
ALTER DEFINE Changes the attribute values of an active DEFINE
DELETE DEFINE Clears (deletes) an active DEFINE
Active Command TACL Command That Clears It
ASSIGN PROG1.MAJORACCT,&
\NICE.$FRNC.SIGNIF.CUST
CLEAR ASSIGN PROG1.MAJORACCT
PARAM NONSTOP OFF CLEAR PARAM NONSTOP
One or more ASSIGN commands CLEAR ALL ASSIGN
One or more PARAM commands CLEAR ALL PARAM
One or more ASSIGN or PARAM commands CLEAR ALL