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


Chapter 3 Tools : SELECT_OBJ

SELECT_OBJ
Provides a screen that can be used to list and select objects that meet specified criteria. (C)
Invocation
EXECUTE IN BROWSE SELECT_OBJ(name, type, unit, author, library, location, children, subtype)
 
Specifies if all subtype objects such as report tables should be listed and returned as subtype table (such as RPT_TABLE) or as TABLE
Usage Notes
Executing SELECT_OBJ with null arguments displays the following screen. If values are provided for any of the arguments, they appear in the appropriate fields in the Object Selection screen and the selected objects are entered into the bottom portion of the screen. If required, you can edit the provided values in the Object Selection screen.

 
O b j e c t S e l e c t i o n
COMMAND ==>
Location: Select All: N
Library (for RULES): List Children:
Presentation Environment:
+-------------------- Selection Specification -----------------+
| Attr Op Value |
| ------ ---- ---------------- |
| NAME ____ ________________ AND unspecified |
| TYPE = ________________ AND attributes will |
| UNIT ____ ________ AND be ignored |
| AUTHOR ____ ________ |
+--------------------------------------------------------------+
Scroll:
Name Type Library Environment Unit
---------------- ---------------- ---------------- ---------------- --------
 
 
 
 
 
 
PFKEYS: ENTER=UPDATE 3=SAVE SELECTION 12=CANCEL

 
Prompt values are predefined for the Op field and the Type field. Press PF1 to display the values for selection.
After you specify the selection criteria and press Enter, the selected objects appear in the bottom portion of the screen. You can do a further selection on the items that you require from this screen, using the line command S.
UNLOAD shows an example of using SELECT_OBJ from within another tool.
Example
The following example provides values for the arguments library, location, children, and subtype:

 
RULE EDITOR ===> SCROLL: P
SELECT_OBJ_1;
_
_ ---------------------------------------------------------------------------
_ ------------------------------------------------------------+--------------
_ EXECUTE IN BROWSE SELECT_OBJ('', '', '', '', 'USR40', | 1
_ 'NODE3', 'Y', 'N'); |
_ ---------------------------------------------------------------------------

 
Object Selection Screen
After executing the rule, the following screen appears:

 
O b j e c t S e l e c t i o n
COMMAND ==>
Location: NODE3 Select All: N
Library (for RULES): USR40 List Children: Y
Presentation Environment:
+-------------------- Selection Specification -----------------+
| Attr Op Value |
| ------ ---- ---------------- |
| NAME ____ ________________ AND unspecified |
| TYPE = ________________ AND attributes will |
| UNIT ____ ________ AND be ignored |
| AUTHOR ____ ________ |
+--------------------------------------------------------------+
Scroll:
Name Type Library Environment Unit
---------------- ---------------- ---------------- ---------------- --------
 
 
 
 
 
 
 
PFKEYS: ENTER=UPDATE 3=SAVE SELECTION 12=CANCEL

 

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