Previous Topic

Next Topic

Book Contents

Book Index

Copying Rules to Another Table

To copy one or more rules from the current table to another table, type C (Copy) in the OPT column of the Rule List screen, next to the rule names, and press Enter. The following window is displayed:

Figure 78 Window for Copying Rules to Another Table

RULES OF LIBRARY: CTM.PROD.RULES                                TABLE: TESTJ

COMMAND ===>                                                    SCROLL===> CRSR

OPT  RULE       TYP -------------- DESCRIPTION --------------------------------

     JOBNAM1     R  ON JOB JOBNAM1  ARRIVAL FORCEJOB                          

     JOBN*2      R  ON JOB JOBN*2   ARRIVAL ADDCOND                           

     JOBNAM3     X  ON JOB JOBNAM3  JOBEND  FORCEJOB                          

 C   JOBN*4      X  ON JOB JOBN*4   JOBEND  DELCOND                           

     JOBDST*    +-----------------------------------------------------------+

     MERGE      |                                                           |

     CICSP      |     SPECIFY DESTINATION LIBRARY AND TABLE                 |

     PROD*      |                                                           |

======= >>>>>>> |  LIBRARY :  CTM.PROD.RULES                                |

                |  TABLE   :                                                |

                |  RULE    :  JOBN*4                                        |

                |                                                           |

                |  PRESS END/RESET TO CANCEL     ENTER TO PERFORM THE COPY  |

                +-----------------------------------------------------------+

                                                                              

                                                                              

                                                                              

                                                                              

                                                                              

                                                                              

OPTIONS:  S SELECT   D DELETE   I INSERT   C COPY                      12.22.27

The window contains the fields shown in the following table. Some fields contain default values that can be modified.

Table 98 Fields in the Window for Copying Rules to Another Table

Field

Description

LIBRARY

Library containing the table into which the rules must be copied. Must be an existing library. Default is the current library.

TABLE

Name of the table into which the rule must be copied.

Notes: 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 selected 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 initially display with the first selected rule. As each request is performed or canceled, the next requested rule name is displayed.

To perform a request, press Enter.

To cancel a request, press END (PF03/PF15) or RESET (PF04/PF16).

Parent Topic

CMEM Rule Definition Facility