Deploy your batch applications to your modern batch environment.
Procedure
- Right click the src folder and click Export.
- In the Export dialog box, expand Java and
click JAR file. Click Next.
- In the JAR Export dialog box, expand
the src folder select the application resources
to export.
- Select Export generated class files and resources.
- In the field Select the export destination,
enter the name and path of the JAR file.
- Select Compress the contents of the JAR file.
- 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.
- Disable the JVM if it is running.
- Modify the
CLASSPATH_SUFFIX within the
JVM profile to include the location of the exported JAR.
- 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.
- Enable the JVM.