<< Click to Display Table of Contents >> Navigation: Reference > Commands > PT (print table) |
The form of the PT command is:
PT table [(ID='text')] [(F= ...)] [(RS=special)],
where table is a previously defined table
This command must only be used in a Print Stage. The same table can be printed more than once in a print stage.
If text (up to 20 characters) is set, it is used instead of the table name when printing the table ID. The same ID may be used for more than one table. This setting overrides the automatic table number (when set).
If any formats are set (using F=), each setting will override the setting for named format on the table.
If any specials are named (using RS=) these specials are replaced with the current values. More than one special can be named using / as a separator.
The PT command can be followed by any text definition, this text will replace the text previously added to the table.
Using the INX Run Control Parameter causes CL to produce an Index file which contains PT commands for all tables printed.
IMPORTANT: using RS= and text definitions immediately after a PT command are the only ways to change the text for tables from that assigned on their first definition.
Examples of PT commands:
pt #2a,
pt #15 (id='Demographic summary'),
pt #1b (id='1')(f=rth/dpr1),
%jh='New header',
pt #1b (rs=%jh),
vt='New row description',