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


Chapter 3 Tools : RULEPRINTER

RULEPRINTER
Prints a rule or prints an application structure using the root rule as the base. (E)
Invocation
Do one of the following:
Type rule <Enter>
Where:
 
Usage Notes
A print tree does not extend to the descendants of entry-level or validation rules; you must produce a separate print tree for every rule that is listed as entry-level or validation.
The Rules Printer Screen
The following sections describe the Rules Printer screen.
Rules Printer Screen Illustrated

 
Print Rule Utility
Library: DOCMSGS2 Wednesday, Mar 15, 2000
Print Destination: Hardcopy Y else Message Log
or File:
Print Rule List
Sel:
Name Unit Modified Print Application Structure
- ---------------- -------- ----------
_ BROWSE_TBL USR40 2000-06-11 Root rule:
Full Doc with tree (Y/N): N
Detailed prt options (Y/N): N
Specify parameterized tables
used in indirect references
in the area at the bottom.
Use the form t(a,b)
Scroll to use as many lines
as needed.
--------------------- Tables for Indirect References ---------------------
PFKEYS: 2=LOGS ENTER=SEL LST 12=EXIT 3=END 4=PRT RULES 5=PRT TREE 6=PRT XREF

 
Header Fields
The following attributes are defined to the fields in the top portion of the screen:
 
The library you are presently using appears here by default. To view or access another library, enter a new value to this field. To view the rules in the specified library, press Enter.
PRINT DESTINATION
Hardcopy – Y (yes) is entered by default. It can be changed to N (no) or blank if the information is to be sent to the message log or a file.
Message Log – If hardcopy is set to N or blank and no file is provided, the output is sent to the message log.
File – Enter a filename where the rules are to be printed. If the name in the filename field is a z/OS data set, it must be pre-allocated with the Record Format VB and LRECL of 80 or greater. The existing contents of a sequential data set are overwritten. A new member can be created for a partitioned data set.
For Open Systems, in the filename field specify either the full path or only the filename. If you specify only the filename, the DSDIR Execution Environment parameter must be set to point to the directory to use. Refer to TIBCO Object Service Broker Parameters for more information about this parameter.
Print Rule List Section
The following attributes are defined to the fields used to print a selected listing of rules:
 
You can type a selection string using the field names NAME, UNIT, AUTHOR, MODIFIED, MODIFIER, UNIT and ENTRY. Pressing Enter displays the selected rules.
Rule List
You can also use the line commands D and S to delete or select the required rules.
Print Application Structure Section
The following attributes are defined to the fields used to print an application structure:
 
Choose N for a more concise printout or Y for a complete printout. If you choose N, the following print options are selected for you:
List of Unresolved Names – prints a list of elements within the rules that RULEPRINTER is unable to identify as a particular object type (for example, rule, screen, or table).
Tables for Indirect References Section
If tables are used as indirect references (that is, rules are called by placing their names in a table), type the name of the tables and their parameters in the bottom portion of the screen in the form Table(parm1, parm2, and so on). The percent sign (%) can be substituted for a table name if more than one table instance is being referenced, as shown here:
FCNKEYS(NEW_EMPLOYEE) %(DELETE_EMPLOYEE).
PF Keys
To process your selections, use the following PF keys:
A print tree is a listing of a rule and its descendant rules, along with cross-reference information on local variables, screens and tables used, exception handlers, and so on.
A cross-reference, like a print tree, is a listing of a rule and its descendant rules, along with cross-reference information on local variables, screens and tables used, exception handlers, and so on.
Note:  The cross reference lists only the rule names and does not print the rules.

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