7 27 2 DISPLAY Comments Warnings

LANSA Technical

7.27.2 DISPLAY Comments / Warnings

The DISPLAY command is a "mode sensitive" command. For details of mode sensitive command processing, refer to Screen Modes and Mode Sensitive Commands.

  • The following table indicates all combinations of the DESIGN and IDENTIFY parameters and what values actually result when any of the default values are used:

Specified: DESIGN

Specified: IDENTIFY

LANSA uses: DESIGN

LANSA uses: IDENTIFY

*IDENTIFY

*DESIGN

*DOWN

*LABEL

*IDENTIFY

*COLHDG

*ACROSS

*COLHDG

*IDENTIFY

*LABEL

*DOWN

*LABEL

*IDENTIFY

*DESC

*DOWN

*DESC

*IDENTIFY

*NOID

*ACROSS

*NOID

*DOWN

*DESIGN

*DOWN

*LABEL

*DOWN

*COLHDG

*DOWN

*COLHDG

*DOWN

*LABEL

*DOWN

*LABEL

*DOWN

*DESC

*DOWN

*DESC

*DOWN

*NOID

*DOWN

*NOID

*ACROSS

*DESIGN

*ACROSS

*COLHDG

*ACROSS

*COLHDG

*ACROSS

*COLHDG

*ACROSS

*LABEL

*ACROSS

*LABEL

*ACROSS

*DESC

*ACROSS

*DESC

*ACROSS

*NOID

*ACROSS

*NOID

 

  • The following table indicates all combinations of the DESIGN and IDENTIFY parameters and what values result when the *DESIGN default is used in the associated DOWN_SEP or ACROSS_SEP parameters:

Specified: DESIGN

Specified: IDENTIFY

*DESIGN Specified: DOWN_SEP

*DESIGN Specified: ACROSS_SEP

*IDENTIFY

*DESIGN

1

1

*IDENTIFY

*COLHDG

5

1

*IDENTIFY

*LABEL

1

1

*IDENTIFY

*DESC

1

1

*IDENTIFY

*NOID

1

1

*DOWN

*DESIGN

1

1

*DOWN

*COLHDG

5

1

*DOWN

*LABEL

1

1

*DOWN

*DESC

1

1

*DOWN

*NOID

1

1

*ACROSS

*DESIGN

5

1

*ACROSS

*COLHDG

5

1

*ACROSS

*LABEL

1

1

*ACROSS

*DESC

1

1

*ACROSS

*NOID

1

1

 

  • In some cases all the fields specified in the FIELDS parameter will not fit on one screen. In this case a second, third, fourth, etc. screen is automatically designed as required.
  • In terms of the RDML program they can be treated like a single "long" screen. LANSA will automatically process the screens one after another until they have all been processed. When all screens have been processed the next RDML command is executed. So when you use the DISPLAY command you may in fact be requesting that 2 or 3 or more screens be displayed one after another.
  • This facility is a feature of the automatic design procedures. If you are coding the RDML program yourself it may be advisable in some circumstances to "split up" the DISPLAY command into multiple DISPLAY commands that have only one screen format each.
  • If you use an expandable group expression in a DISPLAY command FIELDS parameter and you change the layout using the report design facility, LANSA will substitute the expression with the actual fields. This is the only way LANSA can assign attributes to the individual fields, regardless of which group they initially came from.