You can create a program definition in the bundle project
to dynamically create a PROGRAM resource when the bundle is deployed
and installed in the CICS® region.
Before you begin
You must create a CICS bundle
project before you can create a program definition that uses it. See
Creating a CICS bundle project for more information.
About this task
You can create a program definition in a CICS bundle project by opening the New Program
Definition wizard from a bundle project. You can use the wizard to
create a program definition for an Assembler, C, C++, COBOL, or PL/I
program, or a program definition that calls a Java application running
in a JVM server.
Procedure
- Right-click the CICS Bundle
project in the view and click New > Program Definition.
- Enter the resource name and a description.
- Select the language that applies to the program:
- Select Assembler, C or C++, COBOL, or PL/I to
create a program definition for any of these languages. The LANGUAGE
attribute is set to unknown and is automatically determined at run
time. The other attributes on the resource are installed with the
default values.
- Select Java to create a program that
calls a Java application in a JVM server. In the Service
Name field, enter the name or alias of the OSGi service
that is defined in the bundle manifest. In the JVM Server
name field, enter the name of the JVMSERVER resource.
- Click Finish.
Results
A program definition is created in the CICS bundle project.
What to do next
You can deploy the CICS bundle
project to zFS. See
Deploying a CICS bundle for more information.