Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tools : UNLOAD_DEFN

UNLOAD_DEFN
Unloads the definition of a TIBCO Object Service Broker object to a z/OS data set or a Windows or Solaris file. (C)
Invocation
CALL UNLOAD_DEFN(objecttype, objectname, library, presentationenv, location, parentonly)
 
The TIBCO Object Service Broker object type of the object definition to be unloaded. Valid object types are:
Prerequisites
You must call @OPENDSN before you call UNLOAD_DEFN. After calling @OPENDSN, you can make multiple calls to UNLOAD_DEFN provided you are writing to the same data set or file to the same member of a partitioned data set. Unloads to different data sets or to different members of a partitioned data set must be done in separate transactions.
Usage Notes
UNLOAD is the interactive version of this tool.
You can call UNLOAD_DATA within the same rule.
Specify a value for location only if the definition is located on a different node.
If you are using FTP to transfer unloaded data between z/OS and Windows or Solaris, it is no longer mandatory to use the S6BBRFRU z/OS utility before the data can be used by TIBCO Object Service Broker. Refer to TIBCO Object Service Broker for z/OS Utilities for more information about S6BBRFRU.
Example
The following rule unloads a report definition from NODE3 and a table definition from your default node location:

 
RULE EDITOR ===> SCROLL: P
UNLOAD_DEFN_1;
_
 _ ------------------------------------------------------------+--------------
_ ------------------------------------------------------------+--------------
_ CALL @OPENDSN('USR40.UNLOAD.HURON(TEST2)'); | 1
_ CALL UNLOAD_DEFN('REPORT', 'EMP_EXPENSE', '', | 2
_ '', 'NODE3', 'N'); |
_ CALL UNLOAD_DEFN('TABLE', 'EMPLOYEES', '', '', '', ''); | 3
_ ---------------------------------------------------------------------------

 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved