Page History
...
These Built-In Functions allow multiple concurrent connections in the same function.
Initialize or re-initialize the service program internal state. | |
Open service | |
Send command. | |
Close service. | |
End and re-initialize the service program internal state. |
The LANSA developer only needs to understand how to use the commands offered by the JSM services.
...
BEGIN using the Built-In Functions.
OPEN connection to the Java Service Manager.
Issue a COMMAND to LOAD the service.
Execute COMMANDs supported by the service.
Issue a COMMAND to UNLOAD the service
CLOSE connection to the Java Service Manager
END using the Built-In Functions.
Overview of field and list exchange
Command | No fields | No list | ||
Command SERVICE_EXCHANGE(*FIELD|*FIELDS) | Fields | No list | ||
Command | #WRKLST | No fields | List | |
Command | #FLDLST | Specified fields | No list | |
Command | #FLDLST | #WRKLST | Specified fields | List |
Command SERVICE_EXCHANGE(*FIELD|*FIELDS) | #WRKLST | Fields | List | |
Command SERVICE_EXCHANGE(*FIELD|*FIELDS) | #FLDLST | #WRKLST | Specified fields | List |
| Info |
|---|
Specified fields takes take precedence over SERVICE_EXCHANGE(*FIELD) or SERVICE_EXCHANGE(*FIELDS) keyword. |