Rational Developer for System z

About the Generate Runtime Code wizard

Input, output, and features of the wizard; when to run the wizard; using the wizard when your program includes invoked flows.
Note: This topic describes the Generate Runtime Code wizard when it is used to generate output for the CICS® Service Flow Runtime running on CICS Transaction Services for z/OS®. The wizard can also be used to generate a macro for the Host Access Transformation Services (HATS) runtime (see Generating a macro for the Host Access Transformation Services (HATS) runtime environment).

Input, output, and features

The Generate Runtime Code wizard gets input from a generation properties file that you specify, from the flow file referenced by the generation properties file, and from the many files and artifacts referenced by the flow file. The wizard generates as its output COBOL source code files, COBOL copy book files, JCL files, and other types of files (see Files created by the Generate Runtime Code wizard).

The wizard also has options to do the following tasks:
  • Create a resource definitions JCL
  • Create compile JCLs
  • Have the CICS Service Flow Runtime create resource definitions
  • Copy the output files to another subfolder in your workspace
  • Copy the output files to MVS™ partitioned data sets and to z/OS UNIX System Services directories on a remote z/OS system.
  • Submit the compile JCLs
  • Submit the resource definitions JCL
  • Select a CICS region
  • Install the Program, Transaction, and ProcessType resources into a CICS region.
  • Request pipeline scans for CICS regions

When to run the Generate Runtime Code wizard

You should run the Generate Runtime Code wizard whenever the following situation exists:
  • You create or modify a generation properties file, or the flow file associated with the generation properties file, or a file or artifact used by the flow file; and
  • You are ready to build or to rebuild a runtime program from the generation properties file and the flow.

Using the Generate Runtime Code wizard when your program includes invoked flows

If your main flow invokes other flows, then you need to:
  1. Create a generation properties file for the main flow.
  2. Create a separate generation properties file for each invoked flow. (For example, if you have three invoked flows, then you should have three separate generation properties files, one for each invoked flow.)
  3. Run the Generate Runtime Code wizard on the generation properties file for main flow.
  4. Run the Generate Runtime Code wizard on the generation properties file for each invoked flow. (Thus if you have three invoked flows, then you should run the wizard three times, once on each of the three generation properties files).


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)