PRINT [ HP Transact Reference Manual ] MPE/iX 5.0 Documentation
HP Transact Reference Manual
PRINT
Alters or displays the Transact/iX PRINT option.
Syntax
PRINT [ON ]
[OFF]
Parameters
ON Turns on the PRINT flag to direct the output generated
from any DISPLAY or OUTPUT verbs to the line printer.
This action is the same as issuing a SET(OPTION) PRINT
statement within the Transact/iX source program.
OFF Turns off the PRINT flag.
Discussion
This command allows you to change, programmatically, the current value
for the Transact/iX PRINT option. By toggling this option, you can
direct output to the line printer. If neither ON or OFF is specified,
the current value of the PRINT option is displayed and you are prompted
to either keep it or modify it.
Example
The following example alters the PRINT option.
TRANDEBUG> PRINT
PRINT FLAG CURRENTLY OFF
CHANGE OPTION? (Y/N): N
TRANDEBUG> CONTINUE
Customer Dollars Spent
----------------------------
John Smith $100.25
Jane Doe $201.75
Joe Customer $ 21.45
BREAKPOINT ENCOUNTERED, EXECUTION STOPPED:
SYSTEM SEGMENT OFFSET
------------------------------------
1. PARENT 0 28
TRANDEBUG> PRINT ON
TRANDEBUG> CONTINUE { output is being redirected }
BREAKPOINT ENCOUNTERED, EXECUTION STOPPED:
SYSTEM SEGMENT OFFSET
------------------------------------
1. PARENT 0 28
TRANDEBUG> PRINT OFF
MPE/iX 5.0 Documentation