FILE SYSTEMS
Environment/Configuration Variables
M
X
800 SERIES PROGRAMMERS GUIDE 17
Most shell environment variables in Linux/Unix systems are stored in upper case.
If an application expects an environment variable that resides in a configuration
file to use the current case-setting, the application must retrieve the environment
variable from the configuration file and then set it to use the current shell
environment using putenv().
For instance, if the environment variable “myfile=some_path” is stored in a
configuration file, the application must perform a getEnvFile() for “myfile” to
retrieve its value and then set it in the current shell environment with
putenv(“MYFILE=some_path”) as the application expects the case to be set.
Until a putenv() is performed with case-sensitivity in mind, the variable does not
reside in the current shell environment.
Form Feed 0x0C 12 This is a reserved character and cannot
be used in any field. If used, unexpected
and unsupported results may occur.
Carriage Return 0x0D 13 This is a reserved character and cannot
be used in any field. If used, unexpected
and unsupported results may occur.
Hash Sign (#) 0x23 35 This character is used for comments to
be inserted into configuration file. Any
section specified for a label starting with
the # character will be inserted into the
file and the line will be treated as a
comment.
Semi-colon (;) 0x3B 59 This character is used for comments to
be inserted into configuration file.
Anything after a “;” character is treated
as and inserted into the file as a
comment.
Forward Slash (/) 0x2F 47 This is a reserved character and cannot
be used within the section field.
Left Bracket ([) 0x5B 91 This is a reserved character and cannot
be used within any field. If used,
unexpected and unsupported results
may occur.
Right Bracket (]) 0x5D 93 This is a reserved character and cannot
be used within the section field.
Table 4
Character Hex Decimal Usage
NOTE
None of the environment variables in the configuration file actually reside in the
current shell environment.