8 3 Task Specify Default Server for JSM Client

Installing LANSA on Windows

8.3 Task: Specify Default Server for JSM Client

During a Visual LANSA install, a default file (jsmcltdta.txt) is inserted into the LANSA Execution Environment's path (<root directory>\X_WIN95\X_LANSA).

Below is the jsmcltdta.txt file's contents when it is first installed:

    # localhost:4560 is the installed value for DefaultServer

    # If you are connecting to a different server and/or using

    # a different port, please change the setting below to reflect 

    # the server and/or port, ie, 

    # DefaultServer=MyHost:4560

    DefaultServer=localhost:4560

    ExcludePrefix=JSM

Please change these two entries as required:

Keyword

Comment

DefaultServer

Defines the default location of the JSM Server. If JSM_OPEN is called without arguments then the default server location as specified in JSMCLTDTA.txt will be used. Example:

DefaultServer=localhost:4560

 

ExcludePrefix

Defines which fields will be excluded from being exchanged with JSM Server. Example:

ExcludePrefix=JSM