The CT command copies file items to the terminal or to the printer.
Format
CT [DICT] filename item-list [(options)] |
Parameter(s)
DICT |
Copies the file dictionary. |
|
filename |
Name of the file. |
|
item-list |
List of individual item-IDs. Enclose each item-ID in single quotes. An asterisk (*) lists all items. |
|
options |
The following options are supported: |
|
F |
Inserts a form feed between each item. |
|
N |
Suppresses the end-of-page wait (NOPAGE). |
|
P |
Copies to the printer (LPTR). |
|
S |
Suppresses line numbers. |
|
X |
Copies data to the terminal or the printer in hexadecimal. |
Copying Items to the Terminal
This example copies an item from the PAYROLL file to the terminal:
>CT PAYROLL 404-82-9927
404-82-9927 001 3745 002 SMITH, JOHN 003 1234 MAIN STREET 004 DALLAS 005 TX
> |