If you need to run multiple version of CA-XCOM concurrently for background processing, you can create an additional environment for each of the versions.
There are two commands for defining and activating the environments.
- CRTXCOMBGE - Create CA-XCOM background environment
- CHGXCOMBGE - Change CA-XCOM background environment
CRTXCOMBGE creates and optionally activates an environment for the background processor consisting of a subsystem, controller and devices. Each library can have its own environment (as long as each environment uses a different subsystem name), but only one of these environments in a library can be active at a time.
The table below describes the CRTXCOMBGE keywords and values:
|LIB||Any valid AS/400 name up to 10 characters||None||The library in which the environment is created|
|SUBSYSTEM||Any valid AS/400 name up to 10 characters||None||The subsystem under which the environment runs|
|COMMENTRY||*YES or *NO||*YES||Specifies whether a communications entry for APPC *ALL is added to the subsystem description|
|*LIBCRTAUT||The authority granted to *PUBLIC for objects created for the environment.|
|ACTIVATE||*YES or *NO||*YES||Specifies whether the environment is activated after it is created|
CHGXCOMBGE lets you change from the currently active background environment to another previously defined environment.
The table below describes the CHGXCOMBGE keywords and values:
|LIB||Any valid AS/400 name up to 10 characters||The library that contains the background environment|
|SUBSYSTEM||Any valid AS/400 name up to 10 characters||The subsystem under which the environment runs|