Displays values from data records in a record stream on the
current default output device. PRINT is intended for testing
and learning. Using PRINT, you can type a query at the terminal
and see the results immediately. You can also use the SET OUTPUT
statement to write the results to a file or another output
device.
PRINT is valid only in RDO. To retrieve values in an RDBPRE
program, use the GET statement to assign database values to host
language variables.
RDO Example:
RDO> FOR J IN JOBS
cont> PRINT J.JOB_CODE, J.JOB_TITLE
cont> END_FOR
Additional Information:
explode
extract