Use the CRT statement to print data on the screen, regardless of whether a PRINTER ON statement has been executed. The syntax for print.list is the same as for PRINT statements.
print.list can contain any BASIC expression. The elements of the list can be numeric or character strings, variables, constants, or literal strings; the null value, however, cannot be output. The list can consist of a single expression or a series of expressions separated by commas ( , ) or colons ( : ) for output formatting. If no print.list is designated, a blank line is output.
Expressions separated by commas are printed at preset tab positions. You can use multiple commas together to cause multiple tabulation between expressions.
Expressions separated by colons are concatenated. That is, the expression following the colon is printed immediately after the expression preceding the colon. To print a list without a LINEFEED and RETURN, end the print.list with a colon ( : ).
The CRT statement works similarly to the DISPLAY statement.
If NLS is enabled, the CRT statement uses the terminal map in order to print. For more information about maps and devices, see WebSphere DataStage National Language Support Guide.