basic.print.on Statement/BASIC Program

basic.print.on

Command basic.print.on Statement/BASIC Program
Applicable release versions: AP, R83
Category BASIC Program (486)
Description directs output to one of a number of open print files.

On AP, 100 print files may be opened at one time. The range of the "print.file.number", however, is between 0 and 32767.

The "print.file.number" has no connection to Spooler print file numbers. This number is logical and local to the current program and is used to group output.

Each logical "print.file.number" is assigned the next available spool job number, so it is possible to have the statement "print on 1 answer" output to job #3 and "print on 2 string" output to job #30.
Syntax print on print.file.number print.expression
Options
Example
print on 0 oconv(chk.dt,"d2/") "l#9":amt "r2*20"
Purpose
Related basic.statements
basic.crt
basic.printer
runoff.pfile
tcl.sp-assign
basic.print
basic.,