Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

9.108 GET_SESSION_VALUE

Note
Note: Built-In Function Rules     Usage Rules     Usage Options

Returns the value for a specified X_RUN parameter.

...

The following pseudo X_RUN parameters are supported for LOB temporary file handling. They return directories that can be used in code to temporarily store LOB files for the current job or user. Use the OV_FILE_SERVICE Built-In Function to ensure the directory exists before creating files:

...

*ENC

Encoded root path. Returns an alphanumeric string that matches the Windows registry key for the currently executing application.

*HST

Returns the Host Monitor status (the meaning of the return values is not currently published).

*LPC

Returns 'Y' if the LANSA development environment is running. Otherwise returns 'N'.

*MEX

Returns the maximum export version that can be imported into the system, as 3 characters with a leading zero. For example, '001'.

Arguments

No.

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

X_RUN Parameter Name
Note: USER vs USEX
USER always uses value in upper case
USEX maintains case exactly as entered. For example:
If AbCd is entered, USER = ABCD
USEX = AbCd

1

4



Return Values

No.

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

X_RUN Parameter Value

1

256



2

A

Req

Return Code

OK = Parameter Returned OK

ER = Error returning value

2

2



...