Previous Topic: DESCRIPT Statement

Next Topic: GROUP Statement

DISPLAY Statement

The DISPLAY statement is required. Use it to select the desired data elements for display.

Positions 10-11 on the DISPLAY statement are reserved for the suffix of the desired Title Table module. CA JARS and each interface comes with a preassembled Title Table module, containing the TITLE control statements that explicitly define the data elements for that particular interface or product. The module name is JSIRTTxx, where xx is the suffix as shown below:

01 = CA JARS
02 = CA JARS/CICS Interface
03 = CA JARS/APPC
MA = CA JARS Roscoe Interface
QA = CA JARS Adabas Interface
VO = CA JARS VM Interface
MS = CA JARS IMS Interface
IS = CA JARS IDMS Interface (optional)
JV = CA JARS VAX Interface  (optional)
DC = CA JARS Datacom DB

The Output Data Element Selection Table allows you to select as many as 23 data elements from a pool of available elements to display in a given report. The table entries are in the format lnn where:

l

is a one-digit number of leading spaces.

nn

is a two-character code identifying the data element selected for display. This identification corresponds to the data element ID in the Output Data Elements Table. Refer to the IMS Interface Output Data Elements Table given in this chapter.

Each DISPLAY statement must have a set code.

The following example illustrates a typical DISPLAY statement:

ADISPLAY MS002101504105107506112129142146147

This DISPLAY statement defines the format for Report A as indicated by the set code in statement position 1. The data elements selected, in order, are: description field, control field, job name, PSB name, transaction type, transaction stop date, transaction stop time, processor time, percent of total charge, total charge, and distributed charge.

Each of the selected fields were preceded by the following number of spaces, respectively: 0,1,5,1,1,5,1,1,1,1,1. The total print line cannot exceed 132 print positions. By using the indicated output length in the Output Data Elements Table and the number of blanks preceding each selected data element, you can compute the total requested print line length.

Note: Figures are normally displayed with commas marking the thousands, millions and billions places. If a number does not fit the space available, the commas are dropped. Right-hand decimal places are the next characters dropped, two at a time. If the number is so large that even the rounded integer doesn't fit, the number is rounded further, the rightmost places dropped and the remaining numbers are followed by an asterisk and a number indicating the number of places dropped. Thus, 386,957 (or 387,000) becomes 387*3. Sign values are always retained.

Statement Position

Field Length

Field Name

Notes

1

1

Set Code

Must be supplied

2

8

Statement Type

DISPLAY

10-11

2

Title Table Override

Override Title Table. Use MS for IMS titles

12-80

3
.
.
.

Output Data Element Selection Table

1 to 23 occurrences of lnn where:

1 = Number of leading spaces (0-9)


nn = Output Data Element ID (01-B7).

Refer to the Output Data Elements Table

 

repeated 22 times