Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

INITIALIZE procedure

The INITIALIZE procedure sets the environment variables that are evaluated by the Java VM. This is done by setting the corresponding structure elements of the structure variable SYSPOSIX. Other existing structure elements of this structure remain unchanged. If the structure variable SYSPOSIX does not already exist, it will be created.

Parameters

JAVA-HOME

Determines the value of the environment variable JAVA_HOME (see chapter "Environment variables"). If the parameter is not specified or is set to ’*STD’, the variable is not assigned. Any existing assignment is cleared.

CLASSPATH

Determines the value of the environment variable CLASSPATH. If the parameter is not specified or is set to ’*STD’, the variable is not assigned. Any existing assignment is cleared.


LD-LIBRARY-PATH

Determines the value of the environment variable LD_LIBRARY_PATH. If the parameter is not specified or is set to ’*STD’, the variable is not assigned. Any existing assignment is cleared.

PWD

Sets the value of environment variable PWD and thereby determines the current working directory . If the parameter is not specified or is set to ’*STD’ , the directory set for the user id with the command 
/
MODIFY-POSIX-USER-ATTRIBUTES DIRECTORY= ... is used.

DISPLAY

Determines the value of the environment variable DISPLAY. This specifies the address of the screen in which the X-Windows are displayed. If the application operates without X-Windows, the value of this variable is irrelevant.If the parameter is not specified or is set to ’*STD’, the variable is not changed.

SCOPE

Specifies the scope of the structure variable SYSPOSIX. The default value is ’*TASK’. The parameter is passed directly to the SCOPE operand of the DECLARE-VARIABLE command (see manual “SDF-P (BS2000)” [7]). Only the ’*TASK’ and ’*PROCEDURE’ procedures with their sub-operands are meaningful, and ’*PROCEDURE’ is only meaningful if the procedure is called with INCLUDE-PROCEDURE.

Since the system is case-sensitive, all parameter values must be entered enclosed in single quotes.

In addition to this, the following environment variables are always set implicitly:

PROGRAM_ENVIRONMENT = ’shell’

as the Java VM can only be run in this mode.

HOME

to the home directory which was set for the user id with the command /MODIFY-POSIX-USER-ATTRIBUTES DIRECTORY= ... .