![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |
CALL COPY_DEFN(objecttype, instancename, library, environment, srclocation, destlocation, parentonly)
The TIBCO Object Service Broker object type of the object that is to be copied. Valid object types are:
•
•
•
•
• Specifies the name of the rules library where the rule is stored if the object is a rule. This argument, although not currently used, must be supplied. You can enter a null ('') value. Specifies if all the objects or only the parent object should be copied. Valid values are:If you do not populate the table, it is populated automatically with newname=name, newlibrary=library, and overwrite=N.
The type of the object (for example, rule or screen). If the object is a table, use the subtype name, such as TDS_TABLE or SCR_TABLE, or execute the OBTAINSUBTYPE(objtype, objname, lib, env, srcloc) rule to determine the subtype name, where the following are the arguments:
• objtype – The general type of the object (for example, TABLE).
• objname – The name of the object.
• lib – The library, if the object is a rule.
• env – The environment (default is 3270).
• srcloc – The node where the object exists.
• COPYDEFN is an interactive version of this tool used on the workbench.
•
• Specify a value for parentonly if the object is composed of one or more other objects, for example, a report is composed of report tables.
• References to event rules and reference tables are copied, not the rules and tables themselves.
• The original statistics for the object or object set (for example, CREATED, AUTHOR, UNIT, and SEGMENT) are also copied to the new library.
• If you are copying to a remote node, your user ID must be identical on both nodes or security complications could occur.
Raised if anything goes wrong with the copy operation. The exception should be handled by the calling rule.Further information describing the circumstances of the failure is in the @OBJECTMSG.MSG field.The following rule copies the definition of the screen NEW_EMPLOYEES and its child objects from NODE1 to NODE2:
![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |