I would like to run the CA SymDump Batch DB2 IVP job RX91DEM2 but can not find CAO2DB2. Where is it?

Document ID : KB000045460
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

I would like to run the CA SymDump Batch DB2 IVP job RX91DEM2 but can not find CAO2DB2.  Where is it?

 

Answer:

 What is happening is that in RX91DEM2 is the source code for CAO2DB2:

//DB2DEMO JOB 
//******************************************************************
//* THIS JCL WILL DEMONSTRATE THE ABLITY TO REPORT ON
//* A DB2 APPLICATION
//*
//* THE JCL CONSISTS OF TWO PROCEDURES FOLLOWED BY
//* JCL TO EXECUTE EACH OF THE FOLLOWING STEPS:
//* STEP 1 - CREATE A DEMO DB2 DATABASE
//* STEP 2 - PRE-COMPILE, COMPILE, POST-PROCESS AND LINK
//* THE DB2/COBOL DEMO PROGRAM
//* STEP 3 - BIND DB2 PACKAGE AND PLAN
//* STEP 4 - EXECUTE DB2/COBOL DEMO PROGRAM
//* STEP 5 - FREE DB2 PACKAGE AND PLAN
//* STEP 6 - DELETE THE DEMO DB2 DATABASE
//*
//* PLEASE MAKE THE NECESSARY MODIFICATIONS TO THE TWO
//* PROCEDURES BELOW TO CONFORM TO YOUR INSTALLATION
//* STANDARDS.
//*
//* NOTE: MANUAL CHANGES ARE REQUIRED IN THIS JOB STREAM TO
//* UPDATE THE SYSTSIN AND SYSIN PORTIONS BEYOND THE
//* CONTROL OF THE PROCEDURE'S SUBSTITUTIONAL PARAMETERS.
//* STEPS 1, 3, 4 AND 5 MUST BE MANUALLY CHANGED TO
//* CONFORM TO YOUR DB2 ENVIRONMENT. SEE THE COMMENTS
//* THE INPUT OVERRIDES BELOW.
//*
//******************************************************************

It's kind of like a "Comp and Go" kind of job where the executable for CAO2DB2 is created in STEP2, so until you run the job CAO2DB2 is not in a load library yet.