COBOL Manual for TNS/E Programs (H06.03+)
Program Execution
HP COBOL Manual for TNS/E Programs—520347-003
12-11
PARAM Command
TAPE-DIALOGUE
is ignored.
PRINTER-CONTROL
specifies that the operating environment must return control to the program
when the printer specified by the cobol-file-name is not ready or is out of
paper.
cobol-file-name
is the FD name of a file in a COBOL program (not the operating system file
name or a DEFINE name).
When the PRINTER-CONTROL parameter is absent, the HP COBOL run-time
routines provide automatic handling for printer fault conditions, without control
returning to the program until the printer is again made ready.
parameter-name
is a parameter to be handled through the SMU. For information on the SMU,
see Saved Message Utility (SMU) Overview.
parameter-value
is the value to be given to parameter-name.
Usage Considerations:
•
WAITED-IO and HP COBOL Fast I-O
If a program for which WAITED-IO was specified attempts to open a file for
HP COBOL Fast I-O, sequential block buffering of buffered cache is used instead,
degrading performance by a factor of five to ten.
•
EXECUTION-LOG Parameter
There are three circumstances in which a COBOL program can interact with the
home terminal without your explicitly instructing it to do so:
°
A DISPLAY statement does not include an UPON phrase, so it defaults to the
OUT file, which itself is defaulted to the home terminal.
°
An ACCEPT statement does not include a FROM phrase, so it defaults to the
IN file, which itself is defaulted to the home terminal.
°
A run-time routine needs to report an error or to engage in dialog with the
system operator, and normally does so through the home terminal.
Note. To see what parameters are currently defined, enter just PARAM followed by a
carriage return.










