PRINT

<< Click to Display Table of Contents >>

Navigation:  Reference > Commands >

PRINT

The form of the PRINT command is:

PRINT [B] x,

PRINT [B] ALL,

where x is a buffer or a field.

The PRINT command is used at the Data Stage to write to the Report file the contents of x.

If x is a buffer, it must be within the range specified in the CARD NUMBERS command. If CARD CHARACTERS have been set, x must be a field within the limit specified. If x is not specified, buffer 0 is assumed. If ALL is specified, buffers 1 through the maximum specified will be assumed.

If B is not specified, multi-coded data locations with no character equivalents appear in the line as "?". When B is used, all codes in each data location are printed.

The command is used to list out selected records or parts of records, often records in error.

Examples of PRINT commands:

print $104-111,

printb all,

print 5,