Previous Topic: Modify a PackageNext Topic: Cast a Package


Build Package SCL

You can build SCL statements for a new package or modify SCL statements in a package, provided the package has a status of IN-EDIT. The Build Package SCL screen opens after you have either created a package using the Create a Package screen, or you press Enter on the Modify a Package Screen.

To build or modify package SCL statements

  1. Select a specific object type (Natural programming object, Error message text, DDM, or Predict object) and the action type you want (Move, Delete, Generate, or Sign-in), from the Build Package SCL screen. Press Enter.

    The appropriate interface (for the object type and action type you selected) opens.

  2. Enter action information just as you would for Foreground or Batch action processing, either selecting elements from a selection list (with Selection List set to Y) or selecting elements without a selection list (with Select List set to N). For each element selected, a corresponding SCL statement is generated and appended to the SCL of the package.
  3. You can construct a package consisting of different object types and action types by returning to the Build Package SCL Menu and choosing a different object type and action type combination to generate additional SCL.
  4. At any time, view or edit your current SCL by returning to the Build Package SCL Menu and pressing PF10 (SCL).

    The SCL for Package window opens. You can enter # next to any line of SCL to delete it, and you can place the entire window into EDIT mode by pressing PF11 (Edit). When in EDIT mode, make any changes you want and press Enter to save. You can import SCL that exists in the Natural library EINESCL by entering a P on any line while in Edit mode. You can toggle the window back to DISPLAY mode by pressing PF11 again.

    If you are building SCL from scratch, template SCL is provided for each SCL function. Specifying these objects using the Import function lets you customize the template. The sample SCL objects are:

    NATSDIS (display); NATSRET(retrieve); NATSADD (add); NATSMOV (move); NATSDEL (delete); NATSGEN (generate); NATSTRN (transfer); and NATSSGN (signin).

  5. When you leave the Build Package SCL Menu screen, the Save Package SCL Confirmation opens, giving you the option to press Enter and save all SCL changes to CA Endevor SCM or press PF3 to cancel and discard all SCL changes.