Previous Topic: Create an Element from an Existing ElementNext Topic: Edit an Element


Copy an Element into an Edit Panel

You can copy an element from an inventory location into an ISPF Edit panel.The Copyelm command lets you copy another element into an existing element that you are editing or an element you are creating.

To copy any element into an Edit panel

  1. Type the Copyelm command on the command line of the ISPF Edit panel for the element you are creating or editing, specify the target line, and then press Enter.
    1. The Copyelm command as the following format:
      Copyelm [elmname Typename]
      
      elmname

      (Optional) Specifies the name of the element you want to copy.

      Typename

      (Optional) Specifies the Type name of the element you want to copy.

    2. Specify the target location of the copy. Type the line commands B (Before) or A (After) on the line number in the Edit session to indicate the destination of the copy. You do not need to specify a target, if the element is empty.

    The Quick-Edit Copy Element panel opens displaying the inventory location for the current edit session element. If the element or Type names were specified on the Copyelm command, these appear as the defaults on the Copy Element Panel. You can change any of the fields displayed on the panel.

  2. Complete the Endevor Location fields on the CA Endevor Quick Edit Copy Element panel to specify the element you want to copy and press Enter.

    Note: If you do not explicitly specify the Endevor Location fields, selection lists will open, and then you must select from each successive selection list until the specification is complete. You can use the List Option fields to limit the selection lists that are returned. For more information about selection lists, see Select Inventory Locations from Selection Lists.

    The Edit panel opens showing that the element you selected has been copied into the Edit panel.

Copy from an External Data Set

You can copy data from an external data set into an Edit panel using the Edit session Copy command.

To create an element from an external data set

  1. Type CR on the command line of the CA Endevor Quick-Edit Option panel, complete the fields on the panel, and then press Enter. For more information about the fields, see Create an Element.

    An empty ISPF Edit panel opens.

  2. Enter the Copy command on the command line and press Enter.

    The Edit/View Copy panel opens.

  3. Enter the name of the source output library or a base library. Specify the name of the element to be copied. Press Enter.

    The element you requested appears on the Edit panel.

  4. Make the necessary changes to the element and enter the End command.

    The new element is created as version 1, level 00 (VER 01 LVL 00) and is added to the entry Stage of the specified Environment. In addition, the Generate Processor is executed if Generate Element After Edit=Y is set on the Action Options panel. Whether the generate processing occurs in foreground or batch depends on the Generate Processor Mode setting in the Action Options panel.

    Note: For more information about the generate action options, see Change Action Options.

Menu RefList Utilities Help ¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢ Edit/View - Copy Command ===> More: + "Current" Data Set: From ISPF Library: Project . . . Group . . . . . . . . . . . . . Type . . . . Member . . . (Blank or pattern for member selection list) From Other Partitioned or Sequential Data Set, or z/OS UNIX file: Name . . . . . + Volume Serial . . (If not cataloged) Data Set Password . . (If password protected) Line Numbers (Blank for entire member, sequential data set or z/OS UNIX file)

First line . . . . Last line . . . . . F1=Help F2=Split F3=Exit F7=Backward F8=Forward F9=Swap F10=Actions F12=Cancel