
Optimized local adapters samples for Liberty
Use the WebSphere® optimized local adapters (WOLA) sample files to quickly get started using the optimized local adapters on Liberty.
The sample files for optimized local adapters on Liberty are available on GitHub. For information about how to install the samples, see the readme
file on GitHub.
Job Control Language (JCL) samples
- CSDUPDAT.jclsamp - The CSDUPDAT program is a Customer Information Control System (CICS®) DFHCSDUP utility job that defines all resource definitions that are needed to use optimized local adapters under CICS.
- DFHPLTOL.jclsamp - The DFHPLTOL program contains JCL source code for assembling a sample Program List Table (PLT) with the sample program to enable the task-related user exit (TRUE), BBOACPLT, and the sample BBOC command processor PLT, BBOACPL2.
- OLABATCH.jclsamp - The OLABATCH program contains JCL source code to run one of the samples in z/OS® batch. This sample must run on the same logical partition (LPAR) as Liberty server.
Program List Table (PLT) samples
- BBOACPLT.cicsasm - The BBOACPLT program contains assembly language sample source code for a CICS PLT initialization routine that shows how to enable the optimized local adapter TRUE during CICS startup.
- BBOACPL2.cicsasm - The BBOACPL2 program contains assembly language sample source code for a CICS PLT initialization routine that shows how to get optimized local adapter INITPARMS from CICS startup parameters and issue the BBOC STRT_SRVR command during CICS startup.
- BBOACPL3.cicsasm - The BBOACPL3 program contains assembly language sample source for a CICS PLT initialization routine that shows how to pass multiple BBOC commands to the BBOACNTL program during CICS startup.
Link server samples
- OLACB01.jclsamp - The OLACB01 program contains JCL source code for a CICS program that can be called from the link server. The program uses a COMMAREA object to pass its parameters. Use this sample target program with the optimized local adapter CICS link server. The program echoes back the sent message.
- OLACB02.jclsamp - The OLACB02 program contains JCL source code for a CICS program that can be called from the link server. The program uses a CONTAINER object to pass its parameters. Use this sample target program with the optimized local adapter CICS link server. The program echoes back the sent message.
- OLACB10.jclsamp - The OLACB10 program contains JCL source code for a CICS program that can be called from the link server. The program uses multiple containers to pass data to CICS from an EJB bean. Use this sample target program with the optimized local adapter CICS link server.
- OLACB11.jclsamp - The OLACB11 program contains JCL source code for a CICS program that can be called from the link server. The program uses multiple containers to pass data to CICS from an EJB bean, and modifies that data within the program. Use this sample target program with the optimized local adapter CICS link server. The data is modified inside the target program.
- OLACB12.jclsamp - The OLACB12 program contains JCL source code for a CICS program that can be called from the link server. The program uses multiple containers to pass data to CICS from an EJB bean, and shows how objects can be removed from the request container so that they are not sent in the response container. Use this sample target program with the optimized local adapter CICS link server. The data is deleted inside the target program.
Samples for inbound calls
- OLACB05.jclsamp - The OLACB05 program contains JCL source code for a CICS sample Cobol program that demonstrates how to use the APIs to register, get a connection, call an EJB bean with the Send Request API, get the response, and release the connection, and unregister.
- OLACB06.jclsamp - The OLACB06 program contains JCL source code for a CICS sample Cobol program that demonstrates how to use the APIs to register, call an EJB bean with the Invoke API, and unregister.
- OLACC01.jclsamp - The OLACC01 program contains JCL source code for a C program that demonstrates how to use the APIs to register, call an EJB with the Invoke API, and unregister. You can run this sample under batch, UNIX System Services, or CICS.
Samples for outbound calls
- OLACB03.jclsamp - The OLACB03 program contains JCL source code for a CICS sample Cobol program that demonstrates how to make a CICS task into an optimized local adapter server by using the Host Service API.
- OLACB04.jclsamp - The OLACB04 program contains JCL source code for CICS sample Cobol program that demonstrates how to make a CICS task into an optimized local adapter server by using the Receive Request and Get Data APIs.
- OLACC02.jclsamp - The OLACC02 program contains JCL source code for C program that calls the Host Service, Send Request, Send Response, and Get Data APIs. This program essentially invokes itself, calling in to an EJB that then calls back to this program. You can run this sample under batch, UNIX System Services, or CICS.