Natural for Mainframes Version 8.2.5 for Mainframes
 —  Parameter Reference  —

PM - Print Mode

The following topics are covered below:


Profile Parameter PM

The Natural profile parameter PM specifies how fields are to be printed or displayed.

Possible settings

C, P, I, R,

or combinations thereof

CI, CR, PI, PR

PM=C An alternative character set is to be used. It can be defined by the profile parameters TAB1 and TAB2.
PM=P The primary (standard) character set is to be used.
PM=I Specifies inverse, that is, right-to-left direction (for example, for use in Middle Eastern countries). See also Notes.
PM=R This resets the PM=I setting to normal (left to right) display direction.
Default setting PR    
Dynamic specification yes    
Specification within session yes Terminal command %V .
Application programming interface USR1005N  

Notes:

  1. PM=I affects any system controlled output screen items, that is, system variables and PF key lines. Moreover, all non-alphanumeric fields, for example, numeric and date are affected. In addition, for Natural Web I/O Interface terminals the field sequence is changed from left to right into right to left. The field inversion routine is supplied as assembler module NATPM in the Natural source library and can be modified in case of need.
  2. For detailed information on how to use the setting PM=I, see Bidirectional Language Support in the Unicode and Code Page Support documentation.

Top of page

Session Parameter PM

This session parameter PM is used to indicate how fields are to be displayed.

Possible settings PM=C An alternative character set is used (see the module NATPM in the Natural source library).
PM=D Defines DBCS-only fields that do not contain shift-out/shift-in characters (see Double-Byte Character Sets in the Operations documentation).
PM=I Field values are displayed in inverse direction; that is, from right to left (for example, for use in Middle East countries).
PM=N No hardcopy of the display can be made.
Default setting none The standard character set is used.
Applicable statements

DEFINE DATA
DISPLAY
FORMAT
INPUT
MOVE LEFT/RIGHT JUSTIFIED
PRINT
WRITE

 

Note:
More than one value may be specified.

Example:

LIMIT 1 
   READ EMPLOYEES 
   DISPLAY NOTITLE NAME 
   DISPLAY NOTITLE NAME (PM=I) 
   DISPLAY NOTITLE NAME 
   END

Result:

NAME                                                      
   --------------------                                              
   MORENO                                                            
                 ONEROM                                              
   MORENO

Top of page