Deploying applications

Deploy your batch applications to your modern batch environment.

Before you begin

Follow the steps for developing your application in Developing the sample application with Rational Application Developer or Developing the sample application with CICS Explorer SDK

Procedure

  1. Right click the src folder and click Export.
  2. In the Export dialog box, expand Java and click JAR file. Click Next.
  3. In the JAR Export dialog box, expand the src folder select the application resources to export.
  4. Select Export generated class files and resources.
  5. In the field Select the export destination, enter the name and path of the JAR file.
  6. Select Compress the contents of the JAR file.
  7. FTP the JAR file to zFS.
    The JAR file needs to be in a location that is readable and executable by the CICS user ID.
    You must FTP the file in binary mode.
  8. Disable the JVM if it is running.
  9. Modify the CLASSPATH_SUFFIX within the JVM profile to include the location of the exported JAR.
  10. Modify the file batchcontainer-config.xml
    In the InstalledApplications block, specify the name and the status of the application:
    <BatchApplication>
    <name>JobName</name>
    <status>enabled</status>
    </BatchApplication>
    The JobName is the name of the application as defined in the xJCL and the status is enabled or disabled depending on whether you want the application to be available to the job scheduler.
  11. Enable the JVM.

Results

The application is now ready to run. See Submitting batch jobs