Sample for creating a CICS service with a properties file
This sample walks you through the steps to create a CICS® service by preparing a properties file for the service and generating the service archive using the build toolkit.
Before you begin
Note: Although the primary use cases are when the source of input is neither COBOL or PL/I,
this sample shows you how to recreate the CICS
To create and test the inquireSingle
service for the Catalog Manager example application (COBOL) for ease
of testing. inquireSingle
service, ensure that the
following tasks are complete:- Install and configure the CICS catalog manager example application. The procedure is described in the scenario Prepare the sample CICS application
- Install IBM z/OS Connect v3.0 or later. For more information, see Installing IBM z/OS Connect.
- Configure and test your IPIC connection to CICS. The
procedure is described in the scenario Create a server and connect to CICS and installs relevant
artifacts using the supplied configuration template
sampleCicsIpicCatalogManager
. This includes theinquireService
service. - Use the z/OS Connect API
toolkit to
Stop
theinquireSingle
service, and thenRemove
theinquireService
service.
About this task
In this sample we use the build toolkit to recreate the CICS
inquireSingle
service. The service archive file uses an existing CICS COBOL copybook from the catalog manager example application.
Procedure
In this procedure, substitute the Windows example for the platform of your choice. The build toolkit properties files must be encoded in UTF-8.