GLOBALS

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:


Syntax Explanation

GLOBALS If the GLOBALS command is entered without parameters, a window appears where you can modify the parameter settings. For detailed information on this window, see Using Session Parameters in Using Natural Studio.
parameter

Parameter settings can be supplied in any order and must be separated by a blank.

If more parameters are specified than will fit on one command line, several GLOBALS commands must be issued.

Example:

GLOBALS DC=, ID=.

Note:
Certain session parameters can be modified only using the above mentioned window, but not via the command line.

List of Parameters

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
COMPR Set RPC Buffer Compression
CPCVERR Code Page Conversion Error
DBSHORT Interpretation of Database Short Names
DC Character for Decimal Point Notation
DFOUT Date Format for Output
DFSTACK Date Format for Stack
DFTITLE Output Format of Date in Standard Report Title
DU Dump Generation
EJ Page Eject
ENDIAN Endian Mode for Compiled Objects
FCDP Filler Character for Dynamically Protected Input Fields
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
NC Use of Natural System Commands
OPF Overwriting of Protected Fields by Helproutines
PM Print Mode
PS Page Size for Natural Reports
REINP Issue Internal REINPUT Statement for Invalid Data
RQTOUT REQUEST DOCUMENT Timeout
SA Sound Terminal Alarm
SF Spacing Factor
SM Programming in Structured Mode
SYMGEN Generate Symbol Table
THSEPCH Thousands Separator Character
TIMEOUT Wait Time for RPC Server Response
TRYALT Try Alternative Server Address
WH Wait for Record in Hold Status
XREF Creation of XRef Data for Natural
ZD Zero-Division Check
ZP Zero Printing

Interaction with SET GLOBALS and Other Statements

Statement SET GLOBALS

The system command GLOBALS and the statement SET GLOBALS 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.

Other Statements Influencing the Session Parameter Settings

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.