Run Control File

LANSA Composer

Run Control File

The run control file is a plain text file that is used to specify:

  • The Processing Sequence to run
  • The values to be used for the Processing Sequence parameters.

Following is an example of a run control file:

 

*-------------------------------------------------------------------------*

* LANSA Composer run control file

*-------------------------------------------------------------------------*

 

* Processing sequence id

* - use ONLY one of internal id (DXP1II) or external id (DXP1ID)

 

* DXP1ID=DEM_ORDER_RCV

  DXP1II=FAEB7C11E1B448FAB0E469D0C0B6E853

 

* Zero, one or more Processing Sequence parameter values specified

* as NAME=VALUE.  Quotes surrounding alphanumeric values are optional.

 

  [Parameters]

 

  CUSTOMER_TP='ATLAS'

  CUSTOMER_DIR='/neworders'

 

 

Run Control File Notes

One of the following MUST be provided as the FIRST non-comment line:

  • DXP1II=<id> where <id> is the internal identifier of the Processing Sequence to be run.
  • DXP1ID=<id> where <id> is the external identifier of the Processing Sequence to be run.

    Only the first of these will be processed.
  • Parameters may be passed using <name>-<value> pairs. Such parameters must follow a 'section' that begins with the heading [Parameters].Any parameters found after this heading will be written to the variable pool for the Processing Sequence run. Refer to the example above.

    Some relevant points:
  • only 1 section heading or name-value pair can be specified on each line.
  • the format of the name-value pairs is <name>=<value>
  • blank lines are ignored.
  • lines with a * or # as the first non-blank character are comment lines and are ignored.