3 8 Data Areas

LANSA Integrator

3.8 Data Areas

On IBM i the Java Service Manager uses two data areas, JSMCLTDTA and JSMMGRDTA.

On Windows and Linux, these data areas are implemented as flat files, jsmcltdta.txt and jsmmgrdta.txt. Their structure is based on lines with keyword-value pairs. Lines starting with a # are comments and will not be processed.

1.     JSMCLTDTA

If the JSMCLTDTA data area is not in the library list, then the default server and exclude prefix are set to LOCALHOST:4560 and JSM.

The data area layout is:

1-50

Default host name and port.
For example: LOCALHOST:4560

51-60

LANSA field name exclude prefix.
For example: JSM

 

 

If the jsmcltdta.txt file is not found, then the default server and exclude prefix are set to LOCALHOST:4560 and JSM.

The jsmcltdta.txt file is located and installed in <sysdir>.

The file keywords are:

DefaultServer

Default host name and port.
For example: DefaultServer=LOCALHOST:4560

ExcludePrefix

LANSA field name exclude prefix.
For example: ExcludePrefix=JSM

 

 

2.     JSMMGRDTA

The JSMMGRDTA data area is updated with the JSM instance directory during the install process.

The data area layout is:

1-50

Default instance path.
For example: /LANSA_xxxPGMLIB/jsm/instance

 

 

The jsmmgrdta.txt file is shipped with reasonable default values.

The file keywords are:

Priority

Process priority.
For example: Priority=NORMAL

Instance

Instance path.
For example: Instance=..\JSMInstance

JVM

Path to Java program.
For example: JVM=java

JVMOptions

Java program options.
For example: -Xms128M -Xmx128M -Xrs -Djava.endorsed.dirs=.\endorsed