YDUPTKOBJ (Duplicate Toolkit Objects)

Duplicates into a named library the toolkit objects from that are required to run generated programs. This command is useful when you want to run a toolkit command independently of Toolkit; that is, without the product library in your library list. You can, as an option, duplicate CA 1E objects necessary to display help text and menus.
ca2e87
Duplicates into a named library the toolkit objects from
CA 2E
that are required to run
CA 2E
generated programs. This command is useful when you want to run a toolkit command independently of
CA 2E
Toolkit; that is, without the
CA 2E
product library in your library list. You can, as an option, duplicate CA 1E objects necessary to display help text and menus.
Contents
Optional
YDUPTKOBJ
YDUPTKOBJ-Optional
YDUPTKOBJ-Required
Parameters
The following are parameters for the YDUPTKOBJ command.
TOLIB
Name of library into which required objects are duplicated. Values for these parameters are as follows:
  • *CURLIB
    -- Use current library for invoking job.
  • Named Library
You should not run YDUPTKOBJ with Y1SY or any product libraries as the target.
DUPOPT
Types of toolkit objects that are duplicated. Value for this parameter is described in the following:
  • *CVTSPLF
    -- Only duplicated objects needed for converting spooled files.
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.
Example
To duplicate the
CA 2E
Toolkit-required objects into generation library MYGEN:
YDUPPKOBJ TOLIB(MYGEN)