GLOBALS [parameter=value
...]
|
This command is used to set Natural session parameters.
Note:
In batch mode, this command is only executable, if
parameters are specified. For example, GLOBALS SM=ON
can be executed in batch mode.
This document covers the following topics:
The following table contains a list of session parameters that can be
specified with the system command GLOBALS
.
Parameters | Function |
---|---|
CC |
Error Processing in Batch Mode |
CF |
Character for Terminal Commands |
CO |
Compiler Output |
CPCVERR
|
Code Page Conversion Error |
DBSHORT
|
Interpretation of Database Short Names |
DC |
Character for Decimal Point Notation |
DO |
Display Order of Output Data |
DU |
Dump Generation |
EJ |
Page Eject |
ENDIAN |
Endian Mode for Compiled Objects |
FS |
Default Format/Length Setting for User-Defined Variables |
GFID
|
Global Format IDs |
IA |
Input Assign Character |
ID |
Input Delimiter Character |
IM |
Input Mode |
LE |
Reaction when Limit for Processing Loop Exceeded |
LS |
Line Size |
LT |
Limit for Processing Loops |
ML |
Position of Message Line |
PD |
Size of Page Data Set |
PM |
Print Mode |
PS |
Page Size for Natural Reports |
SA |
Sound Terminal Alarm |
SF |
Spacing Factor |
SM |
Programming in Structured Mode |
THSEPCH |
Thousands Separator Character |
ZD |
Zero-Division Check |
ZP |
Zero Printing |
The system command GLOBALS
and the statement
SET GLOBALS
offer
the same parameters for modification. They can both be used in the same Natural
session. Parameter values specified with a GLOBALS
command remain in effect until they are overridden by a new
GLOBALS
command or SET
GLOBALS
statement, the session is terminated, or you log on
to another library.
Some parameter values may be overridden during program execution using
the LIMIT
,
EJECT
, and
FORMAT
statements and
by format entries specified in INPUT
,
DISPLAY
,
PRINT
, and
WRITE
statements.