Purpose: The CLONE command can be used to create a product module, which is the DIF data structure called a PRD. This data structure normally contains the information about how to apply installation hooks, the default name of the product rules, and many other SCC product properties.
However, the CLONE command creates a product control block that simply contains a rule name. If the RELATED parameter is specified, the command will also obtain the symbolic fields from the specified prdname.
Syntax:
CLONE {newname} [rulename] [RELATED(prdname)]
Comments: This command is typically used by SCC Monitor installations to clone MON jobs. For more information, examine “Cloning Monitors” on page 5-13 in the MON-Snapshot User’s Guide.
Examples: The following DIF commands could be added
to START00 in the parameter library. The commands will
clone and start three different monitor tasks using three different rule
members. Different MONINIT and MONTERM
members will be established for each monitor to automatically activate and
terminate the monitor started tasks when the DIF START
and STOP commands are executed.
CLONE MON1 MONRUL01 RELATED(MON)
SET MON1 EXECINIT MON1INIT
SET MON1 EXECTERM MON1TERM
START MON1
CLONE MON2 MONRUL02 RELATED(MON)
SET MON2 EXECINIT MON2INIT
SET MON2 EXECTERM MON2TERM
START MON2
CLONE MON3 MONRUL03 RELATED(MON)
SET MON3 EXECINIT MON3INIT
SET MON3 EXECTERM MON3TERM
START MON3