Previous Topic: DEFINE SUBRTN ONLY (D)Next Topic: Removing EXHIBIT Statements


EXHIBITS

An exhibit allows you to observe the specific value of an element as the dialog is executed. In most cases, exhibits are used with the TRACE ALL (A or X) option. The option EXHIBITS ONLY also traces exhibit statements.

Add EXHIBIT statements to the process code by using CA IDMS DME Here is the syntax:

 EXHIBIT element-name

 EXHIBIT element-name OF record-name

If you use an EXHIBIT statement as the first statement of a dialog, the statement must end with a period.

CA ADS Trace comments out the EXHIBIT statement and adds code acceptable to ADSC. The syntax of the commented EXHIBIT statement is:

 !<> EXHIBIT element-name.

During subsequent trace generations, you do not need to uncomment this statement; CA ADS Trace recognizes this syntax and adds any code necessary to trace the value of the exhibited variable.

If exhibits for numeric data elements that have decimal points are specified, CA ADS Trace rounds up elements that have values of .5 to .9, and rounds down elements that have values of .1 to .4. For example, if you are exhibiting a field called WK-AMOUNT which has a picture of 999.99 and a value of 100.95, the CA ADS Trace replay shows this value as 101.00. Numeric elements which have no decimal points show the actual value.