The COPY-LIST command is similar to the COPY command, except that it copies saved select-lists instead of file items. The COPY-LIST command may be used to display a saved list on the terminal screen or send it to the printer, rename a saved list, or copy a saved list to a file item.
COPY-LIST uses this subset of the options available in the table below with the COPY command:
Option |
Description |
D |
Copies the saved list to another saved list or to a file item, then deletes the original saved list. This option is useful to rename a saved list. |
N |
Disables paging when copying the saved list to the terminal. |
O |
Overwrites an existing saved-list. |
P |
Copies the saved list to the printer. |
T |
Copies the saved list to the terminal screen. |
X |
Copies the saved list to the printer or terminal screen in hexadecimal format. |
After typing COPY-LIST, the system displays the prompt:
TO: |
Enter the destination as follows:
{dest-list [([DICT] filename)] item-ID} |
Copy the saved list either to another saved list or to a file item.
For example, assume there is a saved list on the system called LARGE-ORDERS. This list was created in 1988. At the beginning of 1989, the user might want to rename this list LARGE-ORDERS-88, as follows:
>COPY-LIST LARGE-ORDERS (D) TO: LARGE-ORDERS-88 1 LARGE-ORDERS TO LARGE-ORDERS-88 |
The list can be sent to the printer with this command:
>COPY-LIST LARGE-ORDERS-88 (P) |
See Also
Working with Saved Select-lists