Versions Compared

Key

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

[ Image Removed |../../index.htm#lansa/lcesetsessionoption.htm]
You are here:

...

This function enables you to switch options to:

...

The default values are reinstated when the session is closed.
This function will be extended to support more options as they are required.

BOOL

LceSetSessionOption

(int

iSession,

 

 



 int

iOption,

 

 



 char far *

strValue)

  
Parameters

iSession

The session identifier.

iOption

The option to be set. Available options are listed in the Notes.

strValue

The value of the option. Refer to the Notes for the available values.

  
Return Values
TRUE is returned if the option was set successfully.
FALSE is returned if an invalid option or value was specified.
Notes
The default values required for these options should be set in the Windows System Registry. If these defaults are not set, LANSA Open sets those described with each option.
Refer to Configuration File in the PC Configuration File section of this guide for further information about setting the default values.
LCE_OPT_NUMERIC_DATA
This option can be set and reset at any time during a session.

...

LANSA Open's default: All the files are opened at the beginning of a session, to ensure that all the I/O modules exist.
[ Image Removed |../../index.htm#lansa/lcesetsessionoption.htm]