Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To display the Work with Display and Print Controls screen, select Administration from the Main System Menu (Advanced), choose Review system settings from the Administration Menu and then select Display and print controls from the Review of System Settings menu.

  DC@P8118        Work with Display and Print Controls


  DC@P8118        Work with Display and Print Controls

  Default for enable prompt key on screen commands default . : Y
  LANSA decimal point format   . . . . . . . . . . :   
  Show a leading zero  . . . . . . . . . . . . . . : N
  Popup window to use OS400 window facility  . . . : Y

  Popup window to trim second function key line  . : Y

  Use default STD

  Popup window to trim second function key line  . : Yç
  Use default STD_HEAD parameters  . . . . . . . . : Y 

  Printer form width default . . . . . . . . . . . : 132 

  Printer form length default

  Printer form length default.

 

.

 

.

 

.

 

.

 

.

 

.

 

.

 

.

 

.

 

.

 

:

 066

066
  Printer overflow line default  . . . . . . . . . : 060

  Vertical bar character . . . . . . . . . . . . . : |
  Horizontal bar character . . . . . . . . . . . . : -
  Field label fill character . . . . . . . . . . . : _
  Field column heading underline character . . . . : _
  Hex codes for 132 width workstations . . . . . . : 35 37 3F 45 17 40
                             40 40 40 40 40 40 40 40 40 40 40 40 40 40
  Hex codes for color workstations  . . . . . . . : 26 33 34 36 45 
                                                      40 40 40 40 40

  

  Fnn

  Fnn=Help Fnn=Exit Fnn=Cancel Fnn=Messages Fnn=Change

The Work with Display and Print Controls settings are retrieved from the data areas.

Setting

DC@A01

DC@A07

DC@OSVEROP

Prompt key

477



Decimal format

494



Leading zero



*LEADZERO=1

Popup window



*V2WINDOWS

Popup trim



*WINDOWTRIM

Printer width

149-151



Printer length

412-414



Printer overflow

415-417



Default STD_HEAD

421



Vertical bar character

484



Horizontal bar character

485



Field label fill

463



Field column underline

464



Hex for 132 widthworkstation

441-460



Hex for color workstation

465-474



Default for enable prompt key on screen commands

Position 477 in data area DC@A01.

If this value is set to "Y", the PROMPT_KEY parameter on DISPLAY, REQUEST and POP_UP RDML commands will be enabled by default. If set to "N" the prompt key is disabled by default. The default may be specifically changed for individual commands in your RDML code.

LANSA decimal point format

Position 494 in data area DC@A01.

...

Warning
Warning: If the value of this field does not relate to the value of QDECFMT then unpredictable results could occur with the use of numeric values.

Show a leading zero

Setting *LEADZERO=1 in data area DC@OSVEROP.

Setting this value to "Y" indicates that Visual LANSA code will display numeric values containing decimals with a leading zero. For example 0.12 or 0,12 depending on the LANSA decimal point format. This option would be suitable when QDECFMT="J".

Popup window to use IBM i window facility

Setting *V2WINDOWS in data area DC@OSVEROP.

Setting this value to "Y" indicates that pop-up windows created by LANSA should use the operating system windowing facilities. The use of the option is recommended on all IBM i systems.

Popup window to trim second function key line

Setting *WINDOWTRIM in data area DC@OSVEROP.

...

Only use this option in conjunction with the *V2WINDOWS option to enable existing functions that have been specifically sized onto line 24 of the display device to recompile without change.

Use default STD_HEAD parameters

Position 421 in data area DC@A01.

...

STD_HEAD parameter on screen commands specifies whether or not the standard LANSA design for the screen heading lines (lines 1 and 2) should be used.

Printer form width default

Positions 149 - 151 in data area DC@A01.

This value specifies the default printer form width. Typically 132.

Printer form length default

Positions 412 - 414 in data area DC@A01.

This value specifies the default printer form length (RPG limit). Typically 66.

Printer overflow line default

Positions 415 - 417 in data area DC@A01.

This value specifies the default printer form overflow line (RPG limit). Typically 60.

Vertical bar character

Position 484 in data area DC@A01.

This value specifies the vertical bar character to be used on reports such as RDML listings. If this value is left as blank (X'40') it defaults to ":" (X'6A'). This option may not be suitable for some national language sets and should be changed.

Horizontal bar character

Position 485 in data area DC@A01.

Horizontal bar character to be used on reports such as RDML listings. If this value is left as blank (X'40') it defaults to "-" (X'60'). This option may not be suitable for some national language sets and should be changed.

Field label fill character

Position 463 in data area DC@A01.

...

Note
Note: Recompilation is necessary for changes to this setting to take effect.

Field column heading underline character

Position 464 in data area DC@A01.

...

Note
Note: Recompilation is necessary for changes to this setting to take effect.

Hex code for 132 width workstations

Positions 441 - 460 in data area DC@A01.

...

This is only used by the report painter to aid the user design report layouts. Refer to the appropriate IBM manual for list of codes.

Hex code for color workstations

Positions 465 - 474 in data area DC@A01.

...