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 are 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