IMPORTANT NOTE:
This section describes a technique for running a Processing Sequence from a LANSA application that is no longer recommended for new solutions. It is only useful when LANSA Composer is installed in the same LANSA run-time system as the LANSA application. This mode of installation is no longer possible for new installations and is not recommended. For new solutions, please refer to Run a Processing Sequence from a LANSA application instead.
NOTE: This section assumes sound knowledge of the applicable LANSA development techniques. Refer to LANSA product documentation for detailed information on application development with LANSA.
LANSA Composer provides the DXP1FN1 function for running a Processing Sequence from a LANSA application executing in the same LANSA system and partition as LANSA Composer.
Your LANSA application can call DXP1FN1 using the CALL RDML command with PROCESS(*DIRECT):
NOTE: The code unit in your application that calls function DXP1FN1 must be RDMLX enabled.
Refer to the following topics for more details:
Exchange the Processing Sequence identifier
Populate and pass the Parameters working list
Receive the result of the Processing Sequence run
Example function to run a Processing Sequence
For general considerations about integrating your LANSA Composer solution with your LANSA applications refer to: