YDUPAPPOBJ (Duplicate Application Objects) Command

Duplicates into a named library the application objects from Synon/2E that are required to run Synon/2E generated programs. This command is useful when you want to run an application independently of Synon/2E; that is, without the Synon/2E product library in your library list. You can, as an option, duplicate Synon/1E objects necessary to display help text and menus.
ca2e87
Duplicates into a named library the application objects from Synon/2E that are required to run Synon/2E generated programs. This command is useful when you want to run an application independently of Synon/2E; that is, without the Synon/2E product library in your library list. You can, as an option, duplicate Synon/1E objects necessary to display help text and menus.
Contents
Optional
YDUPAPPOBJ-Optional YDUPAPPOBJ-Optional Required (59)
Parameters
The following are parameters for the YDUPAPPOBJ command.
GENLIB
Name of library into which required objects are duplicated. Values for these parameters are as follows:
  • *GENLIB
    -- (default) Use the default generated source library name as specified by the YGENLIB model value in the first model found in the library list.
  • *CURLIB
    -- Use current library for invoking job.
DUPOPT
Types of application objects that are duplicated. Values for these parameters are as follows:
  • *ALL
    -- (default) Duplicate all objects.
  • *CRT
    -- Only duplicate objects needed for compilation.
  • *EXEC
    -- Only duplicate objects needed for execution, both for CUA Text and CUA Entry.
  • CUAENT
    -- Duplicate objects needed for execution but without support for CUA Text.
  • *CUATXT
    -- Duplicate objects needed for the CUA Text subset.
  • *Y1HLP
    -- Duplicate
    CA 2E
    Toolkit objects needed for help text display.
  • *Y1MNU
    -- Duplicate
    CA 2E
    Toolkit objects needed for menu display.
  • *TRG
    -- Duplicate 2E trigger-related objects.
  • *WS
    -- Duplicate 2E web service related objects.
CRTOPT
Duplicate existing objects option. Values for these parameters are as follows:
  • *ALL
    -- (default) Duplicate all objects. Replace any existing objects with updated versions.
  • *NEW
    -- Only duplicate objects that do not already exist in the destination library.
Notes
You should implement this command over your generation library or over a copy of your generation library.
The source for the
CA 2E
objects is supplied in the Synon/2E shipped source library.
Example
To duplicate the
CA 2E
- and
CA 2E
Toolkit-required objects into generation library MYGEN:
YDUPAPPOBJ GENLIB(MYGEN)
For a diagram illustrating the entries of the two intersecting lists, see the YOPRMDLLST command.