To copy one or more rules from the current table to another table, type C (Copy) by the rules names in the Rule List screen and press Enter. The screen shown in Figure 16 is displayed.
Figure 16 Rule List Screen Copy Window
RULES OF LIBRARY: CTO.PROD.RULES                                TABLE: EXIT
COMMAND ===>                                                    SCROLL===> CRSR
OPT  RULE       TYP------------- DESCRIPTION -------------------------------
     EXIT        E EXIT    EXIT 000 
     EXITMSG1    E EXIT    EXIT 001
     EXITMSG2    E EXIT    EXIT 002
     EXITMSG3    E EXIT    EXIT 003
     EXITMSG4 +-----------------------------------------------------------+
     EXITMSG5 |                                                           |
 C   EXITMSG6 |     SPECIFY DESTINATION LIBRARY,TABLE AND RULE NAME       |
     EXITMSG7 |                                                           |
     EXITMSG8 |  LIBRARY :  CTO.PROD.RULES                                |
     EXITMSG9 |  TABLE   :                                                |
     EXITMSG0 |  RULE    :  EXITMSG0                                      |
     EXITMSGA |                                                           |
     EXITMSGB |  PRESS END/RESET TO CANCEL     ENTER TO PERFORM THE COPY  |
     EXITMSGC +-----------------------------------------------------------+
     EXITMSGD    E EXIT    EXIT 00D
     EXITMSGE    E EXIT    EXIT 00E
     EXITMSGF    E EXIT    EXIT 00F
     EXITMSGG    E EXIT    EXIT 00G
     EXITMSGH    E EXIT    EXIT 00H
     EXITMSGI    E EXIT    EXIT 00I
 OPTIONS S SELECT D DELETE I INSERT C COPY                               15.37.39
The window contains the fields in Table 32. Some fields contain default values which can be modified.
Table 32 Fields of the Rule List Screen Copy Window
Field  | 
Description  | 
|---|---|
LIBRARY  | 
Library containing the table into which the rule should be copied. Must be an existing library. Default: the current library  | 
TABLE  | 
Name of the table into which the rule should be copied.  | 
Note: A rule can only be copied to another table. It cannot be copied to its own table (even if the rule is renamed). If the specified table does not exist, the table is created when the request is performed.  | 
|
RULE  | 
Name of the rule to be copied. If multiple rules are selected, the window is first displayed with the first selected rule. As each request is preformed or canceled, the next requested rule name appears.  | 
Parent Topic |