Rational Developer for System z

Step B9. Check the results from running the Generate Runtime Code wizard

After the Generate Runtime Code wizard closes, you should check the results to verify that the actions that you intended have been carried out and that no errors have occurred.
Note: For information about resolving errors see the following topics:
Here is a checklist of results that you can verify:
  1. Check for any error message or warnings:

    • GENERATION SUCCESSFUL (POSSIBLY WITH WARNINGS):
      If the Generate Runtime Code wizard did not encounter any significant problems during code generation then after the code generation is complete the wizard opens the Runtime Code Generation Complete window. In this window:
      1. Click Details. The wizard displays a pane containing the following information:
        • A list of the files COBOL source code files and the COBOL copy book files that the wizard generated.
        • The results of any actions initiated on a remote z/OS® system (such as submitting a JCL file or doing a pipeline scan).
      2. Verify that the output file or files that you expected to be generated are listed.
      3. Also check this same list for warning messages.
      4. Click OK to close the window.

    • GENERATION ERROR:
      If the Generate Runtime Code wizard did encounter a significant problem during code generation then the wizard opens the Generation Error window. In this window:
      1. Click Details. The wizard displays a list containing one or more error messages describing the specific problem or problems that the wizard encountered.
      2. Click OK to close the window.
    Note: To learn more about a particular warning message see the information provided with the warning number in Error messages displayed by the Generate Runtime Code wizard.
  2. Verify that the actions that the wizard performed on the remote z/OS system were successful:
    1. Verify that each submission of a JCL file was successful.
    2. Verify that the creation of the Program, the Transaction, and the ProcessType resources was successful.
    3. Verify that each scan of a CICS® pipeline was successful.

  3. Verify that the output files for the main flow are created in the generation subfolder for the main flow:
    1. Open the generation subfolder (see Subfolders in which generation properties files and runtime output files are stored).
    2. Verify that the required files have been generated (see Files created by the Generate Runtime Code wizard).
    3. Remember that the generation subfolder contains other files, such as:
  4. Verify that the output files for each invoked flow are created in the generation subfolder for that particular invoked flow:
    1. Follow the same substeps for each invoked flow that you followed for the main flow in step 2 above.

  5. Verify that the output files are copied to the specified locations (local or remote):
    1. Look at the date of the copied output file to verify that it is recent.
    2. If you want to verify the target destination that you specified for a file:
      1. Run the Generate Runtime Code wizard again.
      2. Navigate through the panels. The fields should contain the values that you specified on the previous run of the wizard.
      3. Click Cancel to close the wizard without overwriting the files from the last run, or click Finish to run the wizard again.
  6. Verify that the customization of your JCL files is complete and correct:
    1. If a JCL contains a variable (such as %MAT_UID%) that is not set to a value, or if a JCL contains a placeholder (such as hlqcobol) for which you have not substituted an actual value, then the JCL file will not run correctly (see Step B2. (Recommended) Customize the JCL templates).


Feedback