Runtime Configuration

Top  Previous  Next

The runtime configuration consist in the creation of all those executable files that require to be recompiled and/or linked on the target system: during this task some XFRAME components are rebuilt to get access to third party softwares (i.e. compilers, databases, etc.).

The runtime configuration is almost automated and it is divided in two phases:

configuration
link

During the first phase, the XFRAME configuration tool asks you for all the information it needs to rebuild the XFRAME components (i.e. which components must be linked, where to find some libraries, etc.). During the link phase the XFRAME rebuild tool analyzes the information collected in the first phase and recompiles and links whatever component must be rebuilt.

The runtime configuration may run automatically or manually.

Automatic runtime configuration

To execute it automatically, simply install (or re-install) XFRAME according to the installation instructions: during the setup procedure, the configuration tool is started and, when all the information have been collected, the link phase is automatically performed.

If any problem arises during this operation, the setup procedure stops and shows where to find the log of the procedure that caused the problem.

Manual runtime configuration

If you want to manually configure the runtime you may follow this procedure:

login as the user that own XFRAME components (normally xframe)
change directory to $XFRAMEHOME
run the configuration tool with the command:

perl etc/xframeConfig

reply to all the questions, according to your environment
run the relink tool with the command:

ksh etc/xframeLink

If no error occurs during this phase, XFRAME is correctly rebuilt, otherwise check the xframeLink.log file to discover the cause of the failure.

Third party software

As described before, the runtime configuration is useful to add to the base XFRAME runtime all those components required to access the resources of third party softwares.

This components includes:

COBOL compilers runtime
PL/I compilers runtime
Databases client libraries (i.e. Oracle, UDB)
APPC Inter System Communication libraries (i.e. SNAP/IX, IBM/CS, HPSNAplus)
MQ/Series client libraries
LDAP client libraries

Depending on the component you are linking, the XFRAME configuration tools asks for the information it needs. The following paragraphs describe the information requested and the relative options.

COBOL runtime

XFRAME requires a COBOL runtime. This setting configures the type of COBOL runtime to be linked:

option

description

se10

the runtime is linked with Microfocus ServerExpress 1.0 runtime libraries.

The environment variable COBDIR must be correctly set.

se20

the runtime is linked with Microfocus ServerExpress 2.0 runtime libraries.

The environment variable COBDIR must be correctly set.

se40

the runtime is linked with Microfocus ServerExpress 4.0 runtime libraries.

The environment variable COBDIR must be correctly set.

se50

the runtime is linked with Microfocus ServerExpress 5.0 runtime libraries.

The environment variable COBDIR must be correctly set.

acu

the runtime is linked with ACUCOBOL runtime libraries.

The environment variable ACUCOBOL must be correctly set.

oc

OpenCOBOL 0.33 or higher

none

No COBOL runtime

Liant Open/PLI runtime

The runtime must be linked with PL/I runtime if the user application contains programs written in PL/I.

If this option is set to "yes", the runtime is linked with the Liant Open/PLI runtime libraries. The environment variable LPI_PRODUCT_DIR must be correctly set.

LU62/APPC

If the user applications require to communicate over a SNA network, the runtime must be linked with a valid APPC APIs library. This setting configures the type of SNA communication product to be linked:

option

description

none

no APPC communication is required.

snapix

the runtime is linked with DataConnection SNAP/IX APPC libraries

ibmcs

the runtime is linked with IBM Communication Server APPC libraries

snaplus

the runtime is linked with HP SNAplus 2 APPC libraries

If you specify a valid communication product, the tool will ask for the product installation base and for the product's include files path.

I.e.

using LU62 (none|snapix|snaplus|ibmcs|tpssna) [snapix] : snapix
SNAP/IX(TM) installation path [/opt/sna] : /opt/sna
SNAP/IX(TM) include path [/usr/include/sna] : /usr/include/sna

IBM MQ/Series interface

If the user applications require to communicate with an MQ/Series (AKA WebSphere/MQ) system, the runtime must be linked with the MQ APIs libraries. This setting configures if and how the MQ libraries must be linked:

option

description

none

no MQ series library is linked

server

links the runtime with the MQ server libraries.

client

links the runtime with the MQ client libraries.

When the MQ/Series server runs on the same system where XFRAME runs, both "server" and "client" configuration may be used.

When MQ/Series server runs on a remote system only "client" configuration may be used: in this case the MQ/Series client component must be installed and configured on the system where XFRAME runs.

The environment variable MQSERIES_HOME must be correctly set up.

RDBMS interface

If the user applications require to communicate with a database system, the runtime must be linked with the database client libraries. This setting configures if database libraries must be linked. If you reply "yes", the configuration tools asks for the type of database to use:

option

description

ora805

the runtime is linked with Oracle 8.0.5 client libraries.

ora817

the runtime is linked with Oracle 8.17 client libraries.

ora901

the runtime is linked with Oracle 9.0.1 client libraries.

ora9i

the runtime is linked with Oracle 9iR2 client libraries.

ora10g

the runtime is linked with Oracle 10g client libraries.

udb8

the runtime is linked with IBM UDB 8.2 client libraries.

odbc

the runtime will use ODBC to connect the database

When the DB types has been chosen, you have to configure the interface type:

option

description

native

the runtime will use the RDBMS native calls to connect and handle the LUW (Logical Unit of Work)

xa

the runtime will use the XA interface to connect and handle the LUW.

At the end a suitable database connection string is requested to compile the DB dependant objects. The string must be entered in the format user/password@database.

LDAP Interface

If you want to enable the inter-operation between XCICS/TS and an LDAP server, an LDAPv3 client must be installed on the system, to allow the XCICS LDAP interface compiling and to be linked to the XFRAME runtime.

If you choose to link with LDAP, you have to provide the full path to the directory where the LDAP include file(s) may be found (ldap.h) and all the libraries (or ld linker options) required to link the LDAP client.

These are some samples:

Linking with OpenLDAP client:

LDAP authentication interface (yes|no) [no] : yes
LDAP include files path [] : /usr/local/include
LDAP libraries [] : /usr/local/lib/hpux32/libldap.so

 

Linking with Mozilla LDAP client:

LDAP authentication interface (yes|no) [no] : yes
LDAP include files path [] : /opt/mozilla-ldap/mozilla/dist/public/ldap
LDAP libraries [] : /opt/mozilla-ldap/mozilla/dist/lib/libldap50.so

Linking with Oracle LDAP client:

LDAP authentication interface (yes|no) [no] : yes
LDAP include files path [] : /opt/oracle/product/9.2.0/ldap/public
LDAP libraries [] : /opt/oracle/product/9.2.0/lib/libldapclnt9.a

 

All the client libraries in the samples above make use of only one library for linking. If your client libraries requires more than one library, you may configure it adding more than one library with space as separator:

LDAP libraries [] : /my/ldap/lib/libldap1.so /my/ldap/lib/libldap2.so

or use "ld" options

LDAP libraries [] : -L /my/ldap/lib -lldap1 -lldap2

Note: The Oracle LDAP API implementation provides only limited diagnostic functions, therefore they inhibit a detailed error diagnostic for XCICS/TS user signon functions, such as SIGNON, CHANGE PASSWORD and VERIFY PASSWORD. If you need a detailed error management for these CICS commands, you should use another LDAP API implementation.