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


Chapter 3 Tools : OBJECT_MGMT

OBJECT_MGMT
Displays the contents of a table and enables a predefined set of commands that are unique to the table to operate on the display. (E)
Invocation
Do one of the following:
Type OBJECT_MGMT (tablespec) <Enter>
Type EX OBJECT_MGMT (tablespec) <Enter>
Where:
 
A string specifying the table name (and parameters, if any). Selection and ordering can also be specified. If used:
 
Usage notes
OBJECTMGR is the version of this tool called from within a rule, a version that does not trap exceptions. To trap exceptions, use OBJECT_MGMT.
If you do not supply a value for tablespec, executing OBJECT_MGMT displays a screen prompting for a value.
Further selecting and ordering can be specified through primary commands, selecting and ordering that is done only on the subset specified in tablespec.
OBJECT_MGMT (and its interactive version OBJECTMGR) uses DEFINE_OBJLIST when it is invoked. DEFINE_OBJLIST defines the appearance of the display and the commands to be used, and arranges up to two lines of titling. This is applied against the table given as an argument to OBJECT_MGMT.
ORDERED
Example
This example uses both the table and the information presented during the description of the fields of the DEFINE_OBJLIST tool. Executing OBJECT_MGMT against the table EMPLOYEES_0DPARM displays the following screen. Refer to DEFINE_OBJLIST to see how this table is formatted:

 
Command ==> Scroll P
 
EMPNO LNAME POSITION MGR# DEPTNO SALARY ADDR*
------ ---------------------- -------------- ------ ------ --------- -----
_ 80000 SMYTHE DIRECTOR 80002 20 986.73
_ 80002 ROTERDAM VP 99999 50 234.84
_ 80003 CHANG ASSOC.ANALYST 83020 10 589.91
_ 80004 GARZA ANALYST 80009 30 574.16
_ 80005 HANSON MGR 83020 20 890.00
_ 80006 MILMAN ANALYST 84021 10 699.49
_ 80008 HONCHRSKY STAFF 84021 50 711.19
_ 80009 CHESTERTON PROGRAMMER 80000 70 978.76
_ 80014 TOWNSEND PRESIDENT & GM 84021 70 230.23
_ 80019 PASTARINA MGR 80033 50 100.00
_ 80020 CHESSELL SECRETARY 83020 30 301.00
_ 80021 TOWNESEND RECEPTIONIST 84021 50 600.01
_ 80024 NAPIER SALES PERSON 80020 20 340.40
_ 80033 CANNON PROGRAMMER 80020 40 0.00
 
 
 
 
PFKEYS: 12=EXIT 13=PRINT 3=END 5=FIND NEXT 9=RECALL

 

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