Previous Topic: Delete Records when Comparison Type = Logical on Run Option MenuNext Topic: Paste Data Into a Screen


Copy Data From a Screen

Follow these steps:

  1. Type 14 on the Add Rules—Rule Actions Menu to display the Add Rule Actions—Cut Fields panel.

    A sample panel is shown next.

    Note: You can use the data you select any number of times on any number of panels.

    ------------------------ADD RULE ACTIONS - CUT FIELDS----------------16:52:11 ENTER COMMAND ===> RULE NAME: RUL00001 RULESET NAME: TCADS.CCC.ORDERAPP.001 TEST STREAM NAME: TCADS.CCC.ORDERAPP.001 CUT FROM: ROW COL LEN VALUE OR DESCRIPTION __ ___ ___ ____________________________________________________________ ____________________________________________________________ ____________________________________________________________ OUTPUT/INPUT FIELD ===> O (I=INPUT,O=OUTPUT) CUT ID = C00001 F1-HELP F2-PREVIEW F3-END F4-RETURN F9-SELECT

  2. For a description of the RULE NAME, TEST STREAM NAME, RULESET NAME, ROW, COL, and LEN fields, see the section Using the Rules Function Panels.
    CUT FROM

    Indicates the location of the field that contains the data you want to reuse. You can use a model screen to fill in the location values.

    Note: Data that you cut is not removed from the screen. It is copied so you can paste it into another screen.

    VALUE OR DESCRIPTION

    Type the name of the field to be cut; optional. The field name can be up to three lines long. In this field you can either put an explanation for why this field is being copied or a sample of the data being copied.

    INPUT/OUTPUT FIELD

    Indicates whether this rule applies to an input or an output screen. Specify I for input; O for output.

  3. After you complete the screen and press Enter, the system-generated CUT ID for the piece of data you have selected will appear on the panel.

    Note: The CUT ID always begins with the letter C and is followed by five numbers. A sample CUT ID would be C00001. You will use this CUT ID whenever you want to paste this particular data into another panel.