COBOL Manual for TNS and TNS/R Programs
Program Execution
HP COBOL Manual for TNS and TNS/R Programs—522555-006
12-16
PARAM Command
•
Additional Considerations
°
A parameter value that contains any embedded commas or leading or trailing
spaces must be enclosed in quotation marks. Between the delimiting quotation
marks, two consecutive quotation marks ("") represent any one quotation mark
(") that is part of the value. The delimiting quotation marks are not stored.
°
TACL provides internal storage for 1024 bytes of parameters. Each parameter
occupies a number of bytes equal to:
2 +
number-of-characters-in-parameter-name +
number-of-characters-in-parameter-value
°
Multiple PARAM name and value pairs must be delimited by commas.
°
The compiler makes use of certain parameters and their values in performing
the compilation (see PARAM Commands).
For more information on the PARAM command, see the TACL Reference Manual.
Example 12-4. PARAM Command
85> == Set the DEBUG switch, and set SWITCH-02
86> PARAM DEBUG ON, SWITCH-02 ON
87> == Set user parameter THEDATE
88> PARAM THEDATE 1991DEC02
89> == Route home terminal messages to a file
90> PARAM EXECUTION-LOG $ARK.GKH.D0289
91> == Return control when the file that "myprog"
92> == calls PRINT-FL leaves the ready state
93> PARAM PRINTER-CONTROL PRINT-FL
94> RUN myprog
...
99> CLEAR ALL PARAM