Previous Topic: Assemble Stage I SYSGEN MacrosNext Topic: Allocate Files (Job N010)


Create the JCLLIB

JCLLIB Member: STAGE1

Return Code: 0

Installation Type: Both new and upgrade environments

Description: Creates the CA WA CA 7 Edition JCLLIB. The JCLLIB contains the Stage II installation jobs, procedures, and files necessary to complete the CA WA CA 7 Edition installation. The output also contains jobs, procedures, and files that are used to run CA WA CA 7 Edition for production and for ongoing maintenance.

The job name the Stage I SYSGEN created is CA07N000. The SYSGEN install macros sometimes override the prefix CA07. The job contains two steps:

In CA07N000, the CA WA CA 7 Edition JCLLIB is named on the JCLLIB DD statement in the first step of the job. Keep in mind this fact if you have to make global changes in this JCL. Verify that the DSN of the Version 12.0 JCLLIB you create in this job is not the same as the name of your current CA WA CA 7 Edition JCLLIB.

The CA07N000 job is set up in two steps for a reason. If you decide to rerun the Stage I SYSGEN job generating only certain members, the IEBCOPY step replaces only those members in the original JCLLIB. If you rerun the CA07N000 job, remember to remove the JCLLIB DD statement from the GENBLD step to avoid a JCL error. The error occurs because the JCLLIB was allocated the first time that you ran CA07N000.

Before you submit the CA07N000 job, examine the JOB statement for proper operands. This same JOB statement (except for the job name and region) is generated for all the Stage II installation and CA WA CA 7 Edition test jobs. If a problem with the format exists, it can be easier to go back and correct the problems in the Stage I SYSGEN macros and regenerate the CA07N000 job. Remember that the U7JOBCRD macro is used to put JCL comments or statements immediately after each JOB statement generated. If you need JES control statements such as /*JOBPARM and /*ROUTE, this place is convenient to define them once and have them included in all generated jobs.

You can make any global changes to the generated output. The easier method is changing the CA07N000 job stream instead of after the JCLLIB has been built, where the jobs and files are separated into individual members.

Run the CA07N000 job and confirm the CA WA CA 7 Edition JCLLIB is properly constructed before proceeding to the next step. Most of the remaining steps involve running the Stage II installation jobs that are contained in the CA WA CA 7 Edition JCLLIB.

For the names of the JCLLIB members that the CA07N000 job created, see Generated JCLLIB Members.