Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Installation Guide
r11
This documentation and any related computer software help programs (hereinafter referred to as the Documentation) is for the end users informational purposes only and is subject to change or withdrawal by CA at any time. This Documentation may not be copied, transferred, reproduced, disclosed, modified or duplicated, in whole or in part, without the prior written consent of CA. This Documentation is confidential and proprietary information of CA and protected by the copyright laws of the United States and international treaties. Notwithstanding the foregoing, licensed users may print a reasonable number of copies of the documentation for their own internal use, and may make one copy of the related software as reasonably required for back-up and disaster recovery purposes, provided that all CA copyright notices and legends are affixed to each reproduced copy. Only authorized employees, consultants, or agents of the user who are bound by the provisions of the license for the product are permitted to have access to such copies. The right to print copies of the documentation and to make a copy of the related software is limited to the period during which the applicable license for the Product remains in full force and effect. Should the license terminate for any reason, it shall be the users responsibility to certify in writing to CA that all copies and partial copies of the Documentation have been returned to CA or destroyed. EXCEPT AS OTHERWISE STATED IN THE APPLICABLE LICENSE AGREEMENT, TO THE EXTENT PERMITTED BY APPLICABLE LAW, CA PROVIDES THIS DOCUMENTATION AS IS WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. IN NO EVENT WILL CA BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF CA IS EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE. The use of any product referenced in the Documentation is governed by the end users applicable license agreement. The manufacturer of this Documentation is CA. Provided with Restricted Rights. Use, duplication or disclosure by the United States Government is subject to the restrictions set forth in FAR Sections 12.212, 52.227-14, and 52.227-19(c)(1) - (2) and DFARS Section 252.2277014(b)(3), as applicable, or their successors. All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies. Copyright
Contents
Chapter 1: Overview of Components and Installation
Components/Concepts ........................................................................ 1-1 Started Task.............................................................................. 1-1 CA Datacom/AD .......................................................................... 1-2 CAIENF .................................................................................. 1-2 CAICCI ................................................................................... 1-2 XCF ...................................................................................... 1-3 Pre-Installation Considerations ................................................................ 1-3 Operating Environments ................................................................... 1-3 SVC Requirements ........................................................................ 1-3 Hardware Requirements ................................................................... 1-3 CA Common Services ..................................................................... 1-6 Compatibility with Other Products .......................................................... 1-9 Defining VTAM APPLID (NJE Only)......................................................... 1-14 What's Next? ................................................................................ 1-15
Contents
Step 12: Accept CA Scheduler ................................................................ 2-9 Step 13: Load Acrobat (PDF) Files ............................................................ 2-10 Step 13A: Load Acrobat (PDF) Files from a ZIP File ........................................ 2-10 Step 13B: Load Acrobat (PDF) Files from a TGZ File ....................................... 2-11 Step 14: Assemble CICS Routines ............................................................ 2-12 Step 15: Link Edit CICS Routines ............................................................. 2-12 Step 16: Tailor Procedures................................................................... 2-13 Step 17: Start CA Datacom/AD .............................................................. 2-13 Step 18: Define CA Datacom/AD Tables ...................................................... 2-14 Step 19: Update CA Datacom/AD Tables ...................................................... 2-15 Step 20: Update CA Datacom/AD Tables ...................................................... 2-17 Step 21: Update System Libraries ............................................................ 2-18 Step 22: Update CAIRIM Parameters ......................................................... 2-19 Step 23: Update License Management Program (CA LMP) Key.................................. 2-20 Step 24: CAIENF Database .................................................................. 2-20 Step 25: CAIENF Startup Options ............................................................ 2-21 Step 26: Start CAIENF....................................................................... 2-21 Step 27: Tailor CICS Options ................................................................ 2-22 Step 28: Initialize CICS Work Files ........................................................... 2-22 Step 29: Install CA Scheduler Dialog ......................................................... 2-23 Step 30: Convert CA Scheduler Data ......................................................... 2-23 Step 31: Define User IDs and Date Tables .................................................... 2-24 Step 32: Define Demo Job Streams .......................................................... 2-24 Details of the First Step .................................................................. 2-24 DEMOHIST .............................................................................. 2-25 DEMOTRCK ............................................................................. 2-26 DEMORPTS ............................................................................. 2-27 The Resource Record .................................................................... 2-28 Step 33: Start and Test CA Scheduler ........................................................ 2-28 Step 34: Define/Update Cleanup Job ......................................................... 2-29 Step 35: Automatic Startup .................................................................. 2-30 Step 36: Save All Output .................................................................... 2-30 Step 37: Upgrade History .................................................................... 2-31
vi
Getting Started
Contents
vii
Components/Concepts
The following topics introduce important components and concepts.
Started Task
The CA Scheduler started task, sometimes called the monitor, is where all of the decision making and work is performed. The started task has several functions, such as: Scanning your workload definitions once a day in a process called autoscan to look for work that will execute in the next 24 hours. All such work is copied to the active workload for processing. Submitting jobs whose requirements have been met. Requirements can include time of day, successful completion of other jobs, and the availability of virtual resources. Tracking jobs that are executing. CA Scheduler displays the current status of each job (started, complete, abended, and so on) along with the JES number and return code (if appropriate). Processing commands. CA Scheduler accepts commands from a variety of sources, including the console (modify commands), TSO sessions, batch jobs (CAJUCMD0 utility), and REXX programs (address CASCHD). Generating emails based on your CA Scheduler email definitions. Opening requests in CA Unicenter Service Desk for failed jobs or conditions within CA Scheduler (such as the database getting full or more than a certain number of jobs in abended status). The started task must run on every system where z/OS jobs are going to execute.
11
Components/Concepts
CA Datacom/AD
CA Scheduler uses CA Datacom/AD as its database. CA Datacom/AD is an incredibly fast database engine that allows for forward recovery, data integrity after a system outage, backup-while-open, and more. If you have the separately licensed product CA Datacom/DB, you can use it for CA Scheduler, but we recommend that you do not have CA Scheduler use the same CA Datacom/DB MUF (multi-user facility) as your applications. The addition of the CA Scheduler workload to your existing application MUF may negatively impact the performance of your existing applications. We recommend that you use the no license fee copy of CA Datacom/AD that is included with CA Scheduler. CA Datacom/AD is identical in every way to CA Datacom/DB, except that you cannot create your own databases in CA Datacom/AD. Otherwise, the operation and use of both CA Datacom/AD and CA Datacom/DB are the same. To avoid confusion, all references in the guides are to CA Datacom/AD.
CAIENF
The Event Notification Facility, also called CAIENF, is a component of the CA Common Services. CAIENF monitors the operating system for jobs starting, ending, and a variety of other events. Each event is passed to CA Scheduler and other CA products. Using CAIENF allows one set of operating system intercepts to provide data to multiple CA products, instead of each product needing to have and maintain its own set of intercepts. CAIENF must run on every system where z/OS jobs are going to execute.
CAICCI
The Common Communication Interface, also called CAICCI, is a component of the CA Common Services. CAICCI provides a simple method for CA products to communicate with each other. CA Scheduler uses CAICCI to communicate with other CA scheduling products on other platforms (cross-platform), and with Critical Path Monitoring (CPM), among other uses. Because of the many current and future uses of CAICCI, it is required for CA Scheduler.
12
Installation Guide
Pre-Installation Considerations
XCF
CA Scheduler uses IBMs communication facility XCF. XCF is included as part of the base operating system and does not require any additional hardware. XCF is used when processing tracking commands and for communicating between copies of CA Scheduler in a multiple-CPU (JES MAS) environment.
Pre-Installation Considerations
The following topics discuss pre-installation considerations.
Operating Environments
CA Scheduler supports any version of z/OS supported by IBM.
SVC Requirements
CA Scheduler r11 uses an SVC. The default SVC number is 180, which is an unused SVC. SVC numbers 200-255 can be used instead of 180 if preferred. CA Scheduler r11 cannot share its SVC with earlier releases. You can run multiple releases of CA Scheduler on a given system at the same time by using a different SVC number for CA Scheduler r11 from the SVC number used for CA Scheduler Release 9.x.
Hardware Requirements
The following topics define the disk space requirements for the target and distribution libraries, the CICS temporary storage requirements, and the CA Scheduler-specific CICS file requirements, and storage requirements for components.
13
Pre-Installation Considerations
DDname CAICICS CAICLS0 CAIDRIVR CAIEARL CAIEMAIL CAIEVENT CAIJCL CAILOAD CAIMAC CAIMSG0 CAIOPTN CAIPNL0 CAIPROC CAISRC CAITBL0
Description CA Scheduler CICS LOADLIB CA Scheduler CLISTs CA Scheduler Driver procs CA Scheduler EARLLIB CA Scheduler email templates CA Scheduler templates for CAISDI/els (CA Unicenter Service Desk) CA Scheduler sample job streams CA Scheduler LOADLIB CA Scheduler MACLIB CA Scheduler messages CA Scheduler control cards, options CA Scheduler panels CA Scheduler procedures CA Scheduler SOURCE CA Scheduler tables
Block Size LRECL 6144 3120 3120 3120 3120 3120 3120 6144 3120 3120 3120 3120 3120 3120 3120 -80 80 80 80 80 80 -80 80 80 80 80 80 80
Note: CAILOAD is intentionally allocated without any secondary extents so that it will not be extended when maintenance is applied. New extents can cause errors for the CA Scheduler started task or CA Scheduler users who are active at the time of the new extent. CAILOAD is allocated with extra space, and SMP will automatically compress the data set should it become full while maintenance is being applied.
14
Installation Guide
Pre-Installation Considerations
DDname ACHCLIST ACHDATA ACHLOAD ACHMAC ACHMSG ACHPNL ACHPROC ACHSAMP ACHSRC ACHTBL
Description CA Scheduler clists CA Scheduler control cards, options CA Scheduler object modules CA Scheduler macros CA Scheduler messages CA Scheduler panels CA Scheduler procedures CA Scheduler samples CA Scheduler source code CA Scheduler tables
Block Size LRECL 3120 3120 32760 3120 3120 3120 3120 3120 3120 3120 80 80 -80 80 80 80 80 80 80
15
Pre-Installation Considerations
Storage Requirements
The storage requirements for the different components are as follows: System Component Region size for CA Scheduler Extended Common Storage Area (ECSA) Region size for TSO/ISPF user Size Required/Used (Approximate) At least 6 MB 25 KB shared by all copies of CA Scheduler r11, <1 KB for each copy of CA Scheduler running At least 4 MB, 6 MB recommended
CA Common Services
CA Scheduler requires the following services from the CA Common Services tape: CAIRIM (includes CA LMP) CA-SRAM CAIENF CAICCI CA Scheduler may optionally require these common services if certain options or add-on components are used: CA Earl CAISSF CA-XPS Note: CA Datacom requires the following additional CA Common Services: CA C Runtime CAIVPE If other CA products are installed at your site, some or all of these services may already be installed. The CA Common Services components required by CA Scheduler are described in the following topics.
16
Installation Guide
Pre-Installation Considerations
CA-SRAM
CA-SRAM is a set of sort routines used by various CA Scheduler report functions. CA-SRAM attempts to perform all sort operations in storage, only using DASD work files when large amounts of data are being sorted. CA Scheduler requires CA-SRAM.
CAIENF
CAIENF is the CA Event Identification Facility. CAIENF monitors the system for events of interest to CA Scheduler such as jobs starting and ending, steps ending, and data sets being updated. Each event is communicated to CA Scheduler allowing CA Scheduler to track jobs. Using CAIENF allows CA Scheduler to be independent of changes in SMF exits or other IBM facilities. CAIENF can record events to its database. If a recorded event occurs while CA Scheduler is not active, it is passed to CA Scheduler once it is started. CA Scheduler requires CAIENF.
CAICCI
CAICCI is the CA Common Communication Interface. CAICCI supports communication between CA Scheduler and other CA job management solutions. CA Scheduler requires CAICCI.
17
Pre-Installation Considerations
CA Earl
CA Earl is the CA Easy Access Report Language. CA Earl can be used to create reports on the data in the CA Scheduler database or active workload. Several canned reports are provided and can be tailored to site-specific needs. New reports can also be created. For more information, see the Report Reference Guide. CA Scheduler requires CA Earl if CA Scheduler/CA Earl reports are used.
CAISSF
CAISSF is the CA Standard Security Facility. CAISSF is used to validate a user's authority to issue a specific command or to associate a user ID with a job being submitted. CA Scheduler interfaces with CA ACF2, CA Top Secret, and IBM's RACF. For more information about external security, see the Interface Reference Guide. CA Scheduler requires CAISSF if you are using external security.
CA-XPS
CA-XPS is the Cross Platform Scheduling router. It is used when Unicenter NSM or CA AutoSys requests a job to be executed on z/OS. Requests are sent from the requestor to CA-XPS, which then forwards the requests to a specific scheduling product. CA-XPS allows multiple copies of CA Scheduler (or CA 7 or CA Jobtrac) to participate in cross-platform scheduling on the same z/OS image.
18
Installation Guide
Pre-Installation Considerations
19
Pre-Installation Considerations
A single logical copy of CA Scheduler includes all of the started tasks running for that copy. For example, in a 3 LPAR JES MAS, a total of 3 started tasks (one on each LPAR) are executed for one logical copy of CA Scheduler. All of the started tasks for each logical copy of CA Scheduler must run the same release.
110
Installation Guide
Pre-Installation Considerations
JES2
JES2 at z/OS 1.7 and above supports NJE over either SNA or TCP/IP. Sites can use either or both methods for communication between JES2 nodes. CA Scheduler requires JES2 exit 4 when using NJE over SNA and requires JES2 exit 54 when using NJE over TCP/IP. Either or both exits can be installed. The exit 4 load module is J2CHNJE4. The exit 54 load module is J2CHNJ54. To apply JES2 exits to your target CAILOAD, see installation step Apply CA Scheduler and select CCHB0J2 SYSMOD. Be sure to include, in the SMP procedure, the JES2 macro library that is appropriate for your current JES2 version in the SYSLIB data set concatenation. In addition, include in the SYSLIB data set concatenation, before the JES2 macro library in the search order, the appropriate JES2 SMPMTS data set, which contains the correct version of JES2 macros for your system. This is applicable if the JES2 version or maintenance level you are currently running has not yet been accepted by SMP. If your JES2 version is changed, you only need to use SAMPJCL member CHJES2 with the new JES2 macro library. The JES2 exit J2CHNJE4 and the interface program CAJMJES2 are compatible with any JES2 version. JES2 exit J2CHNJ54 is compatible with JES2 at or above z/OS 1.7, and assembles to a short stub program at releases prior to z/OS 1.7. The programs are automatically assembled to the correct level based on the SYSLIB concatenation. When installing for multiple CPUs that have different versions of JES2, you need to use a separate load library for each version to store J2CHNJE4, J2CHNJ54, and CAJMJES2 modules. You can use the APPLY REDO in SAMPJCL member CHJES2 with the appropriate JES2 library to properly link edit to the desired library. To enable the CA Scheduler JES2 exit, add the following JES2 initialization statements to a data set member defined by the HASPPARM DD statement in the JES2 startup procedure:
/* EXIT 4 FOR NJE VIA SNA */ LOADMOD(J2CHNJE4) EXIT004 ROUTINE=CAJ2X4CH,ENABLE /* EXIT 54 FOR NJE VIA TCP/IP */ LOADMOD(J2CHNJ54) EXIT054 ROUTINE=CAJ254CH,ENABLE
If other exits are already installed, add the CA Scheduler exit to the list inside parentheses, as in the following:
EXIT004 ROUTINE=(YOUREXIT,CAJ2X4CH),ENABLE
111
Pre-Installation Considerations
JES2 requires that exit 54 be loaded in CSA. You can either copy load module J2CHNJ54 to an LPA library or create a SYS1.PARMLIB(PROGxx) member to load J2CHNJ54 dynamically into the LPA at IPL time. The PROGxx member might look like this:
LPA ADD MODNAME(J2CHNJ54) DSNAME(LNKLST)
If the PROGxx member is named PROG54, you can issue the system command T PROG=54 before the start of JES2 to load the exit into LPA. We recommend that you enable the CA Scheduler JES2 exit just before the installation step to IPL the system (see installation step Update System Libraries). The JES2 exits must be installed on every system where CA Scheduler-submitted NJE jobs will be executed.
JES3
You must decide before proceeding if you are going to use the JES3 exit driver routine provided by CA Scheduler or some other exit driver that you are already using. We recommend that you use the CA Scheduler JES3 exit driver unless you are intimately familiar with an existing driver that you already have installed. If you are using the default IBM-supplied JES3 exits, use the following instructions. Install JES3 Exits Using the CA Scheduler Driver Important! Proceed with this section only if you have decided to use the JES3 exit driver routines provided by CA Scheduler. You must identify all of your JES3 exit routines that are to be invoked by the CA Scheduler exit drivers. The exits must all have unique CSECT names and entry points. In addition, any existing exits that use entry point IATUX33 (for JES3 exit 33) need to be changed to a different name. If you have no additional JES3 exit routines, skip to Install JES3 Exits to System Library.
112
Installation Guide
Pre-Installation Considerations
After completing installation Step 11, use SAMPJCL member CHJ33 to tailor the CA Scheduler-provided IATUX33. Copy IATUX33 from CAISRC to another library, and then use the comments in IATUX33 to specify which exits should be called. Once updated, submit CHJ33. The job should end with a return code of zero or four. To generate the exits for a different version of JES3, use SAMPJCL job CHJES3 with the SYSLIB pointing to the JES3 macro library for the new version. Install JES3 Exits to System Library You need to install the JES3 exits to your system library to: Include your existing JES3 exits. Make the new JES3 exits available at execution time. Be sure to edit the sample JCL to include the correct IBM SMP procedure, zone names, module names, and load libraries. If you are using the default IBMsupplied JES3 exits only, you do not need to include these exits in the linkedit. The job should end with a zero return code. Install JES3 Exits Using Existing Driver Important! Proceed with this section only if you have decided to use an existing JES3 exit driver routine and not one that is provided with CA Scheduler. To apply the JES3 exits to your target CAILOAD, see installation step Apply CA Scheduler, and select CCHB0J3 SYSMOD. Be sure to include, in the SMP procedure, the JES3 macro library that is appropriate for your current JES3 version in the SYSLIB data set concatenation. In addition, include in the SYSLIB data set concatenation, before JES3 in the search order, the appropriate JES3 SMPMTS data set, which contains the correct version of JES3 macros for your system. This is applicable if the JES3 version or maintenance level that you are running currently has not yet been accepted by SMP. To generate the exits for a different version of JES3, use SAMPJCL job CHJES3 with the SYSLIB pointing to the JES3 macro library for the new version. Modify your existing JES3 exit driver to invoke the CA Scheduler JES3 exits. This may require a change to the source code and a reassembly and a link-edit of your existing driver module. The following linkage editor control statements are required to include the optional CA Scheduler JES3 exit 33 CSECTs for the NJE feature:
INCLUDE CAILOAD(J33CHNJE) <== CA-Scheduler exit 33 entry point
113
Pre-Installation Considerations
When installing for multiple CPUs, be sure to change the existing JES3 exit 31 and 33 driver modules, for each CPU, to include the correct CA Scheduler routines according to the JES3 version installed on that CPU. A portion of the IATUX33 exit used by CA Scheduler for NJE support runs as a JES3 subtask through a JES3 macro:
IATXCSF ENTR=entrypoint,ID=nnn,BUSY=label
(For more information, see the IBM manuals, JES3 System Programming Library User Modification and JES3 Macros.) The ID=nnn keyword identifies a unique JES3 subtask ID. Subtask IDs 151255 are reserved for clients. The CA Scheduler IATUX33 exit routine uses JES3 subtask ID 151. If you have your own, or other vendor software JES3 exits or modifications that use the same subtask ID 151 for long term processing, you may need to change one of the exits, using a different subtask ID. The following statement is to be changed:
IATXCSF ENTR=CALLJX,ID=151,BUSY=WAITOFF
Local Definition
Add the following VTAM initialization statements to a member pointed to by member ATCCONxx in the data set pointed to by ddname VTAMLST in the VTAM startup procedure (see the IBM manual VTAM Installation and Resource Definition):
applnode VBUILD TYPE=APPL schdapl1 APPL EAS=nn, number of est'd concurrent sessions ACBNAME=schdapl1, MODETAB=caijmtab, DLOGMOD=caijlogm
114
Installation Guide
What's Next?
The application ID (SCHDAPL1) must be unique across the network and must be the same as the application ID specified for APPLID coded in the CAIJNJE source member.
Remote Definition
Add the following VTAM initialization statements to a member pointed to by member ATCCONxx in the data set pointed to by ddname VTAMLST in the VTAM startup procedure. For each application ID coded in the CAIJNJE source member, code a member containing a cross-domain resource definition.
applnode VBUILD TYPE=CDRSC schdapl2 CDRSC CDRM=cdrmname,ISTATUS=ACTIVE
Member CAIJMTAB in the CAIOPTN data set contains the source code for the MODETAB definition, which must be assembled and link edited into VTAMs VTAMLIB concatenation. SAMPJCL member CHMODTAB can be used to assemble and link the MODETAB.
What's Next?
This chapter introduced the CA Scheduler components and pre-installation considerations. The next chapter guides you through the installation process.
115
21
Tasks
Each user of CA Scheduler connects to the CA Datacom/AD MUF. The CA Datacom/AD MUF needs a connection for each user. The number of connections is specified as the first parameter on the CA Datacom/AD startup option TASKS. You can safely over allocate the TASKS number. There is no overhead for having too many tasks specified. Increasing the number of tasks later requires restarting CA Scheduler and the CA Datacom/AD MUF. Setting TASKS to 500 should be sufficient for all sites. The following formula can be used to determine the actual number of tasks required: (N*(8 +R))+(N*(S-1)*4)+U where: N is the number of CA Scheduler subsystems. R is the number of internal readers to be used (installation option SUBRDR, default is 5). S is the number of systems (z/OS images). U is the number of concurrent users. For example, a single-CPU shop with a single copy of CA Scheduler and 10 concurrent users would need:
( 1 * ( 8 + 5 ) ) + ( 1 * ( 1 1 ) * 4 ) + 10 = 23
22
Installation Guide
A shop with three z/OS systems running a production and test copy of CA Scheduler and 25 concurrent users would need:
( 2 * ( 8 + 5 ) ) + ( 2 * ( 3 1 ) * 4 ) + 25 = 90
Setting the TASKS to 500 easily satisfies both cases without incurring any additional overhead, and positions your shop for increased usage. Note: The FXX data set must be initialized with greater than or equal to the total number of tasks specified on the TASKS statement.
where the TASKS statement x value is as determined in the previous section, the y value is at least 33 KB (larger is fine), and the z value is approximately 80% of the x value. A reasonable TASKS statement would be:
TASKS 500,33K,,,400
The source code for DBSIDPR is in the CA Datacom/AD CUSMAC data set. DBSIDPR is used by CA Scheduler to find the CA Datacom/AD MUF. The same DBSIDPR load module should be used on all systems in the JES node. Add the TOMUF and TOGROUP keywords to the DBSIDPR:
DBSYSID SVC=246,SUBID=0,TOMUF=SCHDMUF,TOGROUP=CASCHED
The TOMUF value must batch the MUF startup option, and the TOGROUP value must match the second value on the XCFFROM startup option. Reassemble and link edit DBSIDPR to activate the changes. Note: The "router MUF" required for CA Datacom/AD Release 9.0 to use XCF is no longer required for CA Datacom/AD r10.0.
23
For additional updates that are required for multiple CPU environments, see the multiple CPU operations in the Systems Programmer Guide.
LXX
The LXX data set must have a block size of at least 16384.
FXX
The FXX data set must have the same block size as the LXX and must be initialized with at least as many tasks as are specified on the TASKS statement.
Logging
You may want to review the logging options specified on the LOGMSGE, LOGRCV, and LOGSPILL keywords. Use of the CA Datacom/AD forward recovery feature requires specific types of backups and log options.
Messages
CA Datacom/AD issues message DB00101I every time the database is opened. The message causes the online screens to be cleared every time a user enters the CA Scheduler online screens. To suppress the message, add the following CA Datacom/AD start up option:
MESSAGE NO,DB00101
Access
You may want to review the ACCESS keyword, which controls CA Datacom/AD processing when all CA Scheduler tasks and users have ended. By default, CA Datacom/AD keeps certain control blocks active so that a later CA Scheduler task will start faster. The downside is that a manual CLOSE command must be issued before certain CA Datacom/AD functions (such as a native backup) can be done. The ACCESS keyword can be used to change this behavior. We recommend that you do not use the ACCESS keyword for the CA Scheduler database, but some sites may find its use desirable.
24
Installation Guide
//SYSPRINT DD
UNIT=CART, VOL=SER=CHxxyy, LABEL=(1,SL), DSN=CAI.SAMPJCL DD DISP=(,CATLG), DSN=cai.SAMPJCL,UNIT=SYSDA, SPACE=(3120,(500,200,30)) DD DD DD UNIT=SYSDA, UNIT=SYSDA, * SPACE=(CYL,(5,5)) SPACE=(CYL,(5,5))
COPY INDD=((SYSUT1,R)),OUTDD=SYSUT2
You may need to tailor the JCL for your site's standards. The job should end with a zero return code.
25
to:
/* CA Scheduler high level qualifier */ /*--+----1----+----2----+----3----+----4----+----5----+----6----+----7*/ 'ISREDIT C "CAI.SCHD" "MYQUALL.SCHD ALL'
Save your changes to SAMPJCL member $EDITCHG. 2. Edit SAMPJCL member $EDITJCL. Find the line that starts with sampjcl =:
sampjcl = 'CAI.SCHD.SAMPJCL'
Change the data set name to the name of the SAMPJCL data set. For example, if your SAMPJCL data set is name MYQUAL.SCHD.SAMPJCL, change the line to:
sampjcl = 'MYQUAL.SCHD.SAMPJCL'
26
Installation Guide
3.
4.
The REXX EXEC edits each member in the SAMPJCL data set and makes all of the changes you entered in $EDITCHG.
27
28
Installation Guide
Note: The CA 11 interface is no longer a separate component. The CA 11 interface is included as part of the base product in component CCHB000.
29
3.
4.
210
Installation Guide
3.
Move the files to a drive and directory of your choice. Note: gzip is a freeware utility available from www.gzip.org. An opensource version of the tar utility for Windows is available from <http://gnuwin32.sourceforge.net/packages/tar.htm>. On UNIX, use the following commands:
uncompress schdb0.tar.z tar xvf schd b0.tar
Move the files to a drive and directory of your choice. On Linux, use the following commands:
uncompress schdb0.tgz tar xvf schdb0.tar
Move the files to a drive and directory of your choice. 4. Start Adobe Acrobat Reader with search capabilities to open the restored PDF files. You can find Adobe Acrobat Reader at <http://www.adobe.com>.
211
212
Installation Guide
213
214
Installation Guide
215
3.
SAMPJCL member ISTEP19C extracts the four tables with new columns (JBR, SBR, JTR, STR) into sequential data sets. Follow the directions in the SAMPJCL member to tailor the job, and then submit it. The job should end with a return code of zero.
4.
SAMPJCL member ISTEP19D uses IEBGENER to add space for the new columns. The utility reads the files created in ISTEP19C and creates new sequential data sets. Follow the directions in the SAMPJCL member to tailor the job, and then submit it. The job should end with a return code of zero.
5.
SAMPJCL member ISTEP19E backs up your existing Release 9.0 data, excluding the tables that are changing. Follow the directions in the SAMPJCL member to tailor the job, and then submit it. The job should end with a return code of zero.
6.
SAMPJCL member ISTEP19F defines the r11 tables to CA Datacom/AD. Follow the directions in the SAMPJCL member to tailor the job, and then submit it. The job should end with a return code of zero.
7.
SAMPJCL member ISTEP19G makes the r11 tables available to CA Datacom/AD. Follow the directions in the SAMPJCL member to tailor the job, and then submit it. The job should end with a return code of zero.
8.
SAMPJCL member ISTEP19H restores your Release 9.0 data (created in ISTEP19E and excluding the tables being updated) into CA Datacom/AD. This step also allocates the new history data area. Specify the number of tracks for the history file estimated in job ISTEP19A. Follow the directions in the SAMPJCL member to tailor the job, and then submit it. The job should end with a return code of zero.
9.
SAMPJCL member ISTEP19I loads the newly-updated tables (from ISTEP19D) into CA Datacom/AD. Follow the directions in the SAMPJCL member to tailor the job, and then submit it. The job should end with a return code of zero.
10. SAMPJCL member ISTEP19J backs up the CA Scheduler data in the new format. The backup is not actually used in this procedure but is taken as a safety measure. Follow the directions in the SAMPJCL member to tailor the job, and then submit it. The job should end with a return code of zero. The tables have now been updated and can be accessed by either Releases 9.0, 9.1 or r11.
216
Installation Guide
217
4.
SAMPJCL member ISTEP20D makes the Release 9.1 tables available to CA Datacom/AD. Follow the directions in the SAMPJCL member to tailor the job, and then submit it. The job should end with a return code of zero.
5.
SAMPJCL member ISTEP20E restores your Release 9.1 data (created in ISTEP19B) into CA Datacom/AD. This step also allocates the new history data area. Specify the number of tracks for the history file estimated in job ISTEP20A. Follow the directions in the SAMPJCL member to tailor the job, and then submit it. The job should end with a return code of zero.
6.
SAMPJCL member ISTEP20F backs up the CA Scheduler data in the new format. The backup is not actually used in this procedure, but is taken as a safety measure. Follow the directions in the SAMPJCL member to tailor the job, and then submit it. The job should end with a return code of zero.
The tables have now been updated and can be accessed by Releases 9.0, 9.1 or 11.
218
Installation Guide
NJE Requirements If the CA Scheduler NJE feature will be used (jobs submitted on one JES node to be executed on another), see the JES Exit Installation Requirements and Defining VTAM APPLID (NJE Only) in the previous chapter. TSO ISPF Requirements The CAICLS0 data set must be in the SYSPROC concatenation. CLIST SCHD must be updated with the correct data set names. The CA Scheduler and CA Datacom/AD libraries must be either in the linklist or allocated as a STEPLIB in the TSO logon PROC. ISPF ISPLLIB allocations are not sufficient. TESTLIB Requirements CAIJCL member CAJUTSTB must be copied to your PDS JCL library (started task ddname JCLMASTR). Provide a valid JOB statement and point the STEPLIB to the CA Scheduler load library (not required if the load library is in the linklist). This member is used when a job is defined to CA Scheduler as LIBTYPE=TESTLIB.
The PARM points to another DD statement in the CAIRIM task that contains initialization commands. For the format of the commands, see CA Scheduler initialization in the Systems Programmer Guide. CAIOPTN member CHINIT can be used as a model for the initialization commands. SAMPJCL member CHINIT can be used as a sample to initialize CA Scheduler. If you are upgrading from CA Scheduler r9.x and plan to use the same CA Scheduler subsystem that the previous release used, you must delete the previous release of CA Scheduler from the system. SAMPJCL member CHDELETE can be used as a sample to delete a prior release of CA Scheduler.
219
Note: CA Scheduler r11 can coexist with earlier releases of CA Scheduler on the same system. CA Scheduler r11 cannot share its SVC with earlier releases. Multiple copies of CA Scheduler r11 can use the same SVC. CA Scheduler r11 can be initialized before or after Release 9.x. No initialization statement should be used for CA Scheduler Release 8.0 and earlier.
220
Installation Guide
221
222
Installation Guide
In the )PROC section of the menu, in the TRANS function, add the following line:
S,'CMD(%SCHD)'
You can use CAIOPTN member CHMENU as a guide to these updates. Make sure you take appropriate backups before changing your ISPF menus.
223
224
Installation Guide
CAJDEM3 Has CAJDEM2 and the data set DEMO.DSN as its predecessors. The demo schedules never create the data set; thus, you must force this job using the online FORCE command. The JCL is staged to the staging file. The first run abends with an S806, since it executes a nonexistent program. Change the JCL online on the CA Scheduler staging file to execute IEFBR14. Then rerun, using the online RERUN command, so that the job successfully completes. CAJDEM4 Has CAJDEM3 as its predecessor. This job executes the CAJUTIL0 procedure to back up the HISTORY file to a sequential data set for the next schedule.
DEMOHIST
DEMOHIST is the second defined schedule. It contains 11 jobs. Job CAJDEM4 in schedule DEMO is its predecessor; therefore, none of the DEMOHIST jobs can run until CAJDEM4 successfully completes. All of the DEMOHIST jobs execute the CAICHERL procedure to produce the CA Earl canned reports. These jobs are the following: CAJELH01 Scheduled Job Status (by Schedule) Report CAJELH02 Scheduled Job Status (by Station) Report CAJELH03 Completed Job Profile Report CAJELH04 Abended Job Profile Report CAJELH05 Late Job Profile Report CAJELH06 Pending Job Profile Report CAJELH07 Forced And Canceled Report CAJELM01 Basic Job Information (by Schedule) Report
225
CAJELM02 Basic Job Information (by Station) Report CAJELM03 Job Criteria (by Schedule) Report CAJELM04 Job Step Records (by Schedule) Report
DEMOTRCK
DEMOTRCK is the third defined schedule. It contains 13 jobs. DEMOHIST is its predecessor; therefore, none of the DEMOTRCK jobs can run until DEMOHIST successfully completes. All of the DEMOTRCK jobs execute the CAICHERL PROC to produce the CA Earl canned reports. These jobs are the following: CAJELT01 Scheduled Job Status (by Schedule) Report CAJELT02 Scheduled Job Status (by Station) Report CAJELT03 Completed Job Profile Report CAJELT04 Abended Job Profile Report CAJELT06 Pending Job Profile Report CAJELT07 Canceled Jobs Report CAJELTD1 Documentation Selected by the Tracking File Report CAJELD01 Documentation Directory List Report CAJELD02 Documentation Directory and Member List Report CAJELG01 Staged JCL Library Directory List Report CAJELG02 Staged JCL Directory and Member List Report
226
Installation Guide
DEMORPTS
DEMORPTS is the fourth defined schedule. It contains 17 jobs. DEMOTRCK is its predecessor; therefore, none of the DEMORPTS jobs can run until DEMOTRCK successfully completes. All of the DEMORPTS jobs execute the CAJUTIL0 procedure. These jobs are the following: DEMOABND Abend Report DEMOANAL Analyze Report DEMOAUDT Audit Trail Report DEMOCOMP Complete Report DEMODATE Date Translation Report DEMOFORE Forecast Reports DEMOJAVG Job Average Reports DEMOJCHN Job Chain Report DEMOJHST Job History Report DEMOLJOB List Job Report DEMOLSCD List Schedule Report DEMOLSTA List Station Report
227
DEMOLUSR List User Report DEMOMAIL Mailbox Report DEMOSCHN Schedule Chain Report DEMOSIM Simulation Report
5. 6. 7. 8.
After running the demonstration job stream, you may want to prevent the job stream from running again. SAMPJCL member ISTEP33 contains JCL to turn off the demonstration jobs.
228
Installation Guide
Follow the directions in the SAMPJCL member to tailor the job, and then submit it. The job should end with a return code of zero.
229
CAIENF should be active before any initiators are started. This ensures that CAIENF will track any job activity that happens before CA Scheduler starts.
230
Installation Guide
231
Conversion Steps
All release numbers in this discussion refer to previous or current releases of CA Scheduler. To convert from Release 7.4 or 8.0 to r11 1. Using the Release 7.4/8.0 CAJUTIL0 utility, take a backup of the master, tracking, staging, and documentation files. The CA Scheduler started task does not need to be shut down. Use the following r11 JCL to test the conversion:
//stepname EXEC CAJUTIL0 //CAIJBST DD DISP=SHR,DSN=master.backup //CAIJBRK DD DISP=SHR,DSN=tracking.backup //CAIJBCM DD DISP=SHR,DSN=doc.backup //CAIJBTG DD DISP=SHR,DSN=stage.backup //SYSIN DD * CONVERT TEST=YES /*
2.
A1
Conversion Steps
If you do not use the documentation or staging files in Release 7.4/8.0, you must still have the DD statements present. You can use DD DUMMY for the allocation. The ddnames are fixed. You may have set alternate ddnames in Release 7.4/8.0 for the backup files, but in r11 the names must be as shown. 3. Use the error messages from the CONVERT TEST=YES command to correct the Release 7.4/8.0 CATMAN database. For detailed information about the messages and how to correct the problems, see the topic Conversion Messages. Jobs and schedules with errors will not be converted. We strongly recommend correcting all reported problems in the Release 7.4/8.0 CATMAN database before proceeding. 4. After correcting the errors, go back to Step 1 to make sure all of the errors are now gone. Repeat Steps 1-3 as many times as necessary to correct the errors in the CATMAN files. When no errors are detected, proceed to Step 5. Notice the space estimate at the end of the report. You may use the estimates in determining how big the CA Datacom/AD data area and index area files should be (created in CA Scheduler SAMPJCL member ISTEP18C). We recommend making the files larger than necessary (that is, an additional 50%) to allow for growth. 5. 6. 7. Shut down the production Release 7.4/8.0 CA Scheduler started task. Run the Release 7.4/8.0 CAJUTIL0 utility to back up the master, tracking, staging, and documentation files (same job as Step 1). Run the r11 CAJUTIL0 utility to convert the records. Use the same JCL as Step 2, but remove the TEST=YES from the CONVERT command. This will populate the CA Scheduler records in the CA Datacom/AD database. Start the r11 CA Scheduler started task. It will resume work where the Release 7.4/8.0 started task left off. The format of the CA Scheduler history records (created by the BACKUP HISTORY command) has also changed. Run the r11 CAJUTIL0 utility to convert your archived history records to the new format:
//stepname EXEC CAJUTIL0 //HISTIN //HISTOUT //SYSIN /* DD DISP=SHR,DSN=history.backup(s) DD DISP=(NEW,CATLG),DSN=new.history.backup DD *
8. 9.
CONVERT HISTORY
The new history file can be used with the CA-Earl reporting interface.
A2
Installation Guide
Conversion Messages
Conversion Messages
The goal of the CONVERT command is to have a completely clean database under CA Scheduler r11. Previous conditions may have caused database records to become lost. For example a job base record may have been deleted while the job criteria record may still exist. Once under CA Scheduler r11 these situations can no longer occur. The CONVERT command ensures that all jobs have a schedule and that all subrecords (criteria, message, node, and so on) have a base record. If any job lacks a schedule, or subrecord lacks a base record, CONVERT does not carry the offending record to the CA Datacom/AD database. CONVERT treats the record as if it never existed. This method may cause many error messages for a single error in the CATMAN file. For example, if a schedule base record is not found for a schedule named SCHDA, error messages might be issued for the schedule message record and criteria for SCHDA, and also for each and every job defined to SCHDA, and for each of those job's subrecords. You have two options to correct most problems: Either define the missing record (the base record for SCHDA in the previous example), or delete the record listed on the error message. Many cases may require multiple steps to correct. For example, in the SCHDA example above, Release 8.0 will not let you modify the jobs without the schedule being present. Thus, you would have to define the schedule, delete all of the jobs, and then delete the schedule. Note: When deleting schedules and jobs, always use the DELETE SCHEDULE and DELETE JOB commands instead of deleting each individual subrecord. Because a single error may cause many error messages, you may find it easier to correct only a single type of error, then repeat conversion Steps 1 and 2 to generate a new list of errors. You may find that correcting a small group of errors drastically reduces the size of the error report. Correcting the problems in the order that they are listed is probably the most efficient method. Most of the messages should make it obvious what record is being displayed. For example:
CACU217E JOB NOT FOUND,JCR NOT CONVERTED JOBA 01 SCHDA
refers to a job criteria record for job JOBA, JNO 01, station 40 (the blanks after the 01), schedule SCHDA. (Station 40, the CPU station, is stored as two blanks. All other stations are stored as the two-digit station number, such as 39.)
A3
You may see error messages referring to record types JSD and JDR. These record types are created and maintained with criteria records. If you still have JSD or JDR error messages after all JCR and SCR error messages have been corrected, contact Technical Support for assistance.
SMF IDs must be specified as four-byte fields. If your SMF IDs are less than four bytes, left justify the ID and pad it with blanks. You must specify the parentheses, quotes, and comma. To change more than one sysid, repeat the 'old-smf-id,new-smf-id' section, separating each with a comma. For example, to change SMF IDs PRD1 and PRD2 to TST1 and TST2, specify:
SYSID=('PRD1,TST1','PRD2,TST2')
A4
Installation Guide
3.
Run the Release 7.4 or 8.0 CAJUTIL0 command with the appropriate RESTORE commands to restore the CATMAN files from the newly created sequential files. Start the Release 7.4 or 8.0 CA Scheduler started task.
4.
B1
Index
A
accepting CA Scheduler, 2-9 Acrobat files, 2-10 APPLID parameter, 1-14 applying CA Scheduler, 2-9 assembling CICS routines, 2-12 automatic startup, 2-30
C
CA Common Services components CA LMP, 1-7 CA-Earl, 1-8 CAICCI, 1-7 CAIENF, 1-7 CAIRIM, 1-7 CAISSF, 1-8 CA-SRAM, 1-7 CA-XPS, 1-8 installing, 2-1 overview, 1-6 CA Datacom/AD starting, 2-13 updating options, 2-2 CA Datacom/AD tables defining, 2-14 updating, 2-15 CA JCLCheck, 2-5 CA LMP overview, 1-7 updating, 2-20 CA-C, 1-6 CA-Earl, 1-6, 1-8 CAICCI, 1-7 CAIENF
Index1
database, 2-20 overview, 1-6, 1-7 starting, 2-21 CAIJMTAB member, 1-14 CAIRIM overview, 1-7 updating parameters, 2-19 CAISSF, 1-8 CA-SRAM, 1-6, 1-7 CA-XPS, 1-8 changing system IDs, A-4 CICS assembling routines, 2-12 initializing work files, 2-22 link-edit routines, 2-12 tailoring options, 2-22 cleanup jobs, 2-29 compatability with other products, 1-9 CONVERT command, A-4 converting CA Scheduler data, 2-23 creating SMP data sets, 2-7 CSA storage requirements, 1-6
D
defining CA Datacom/AD tables, 2-14 cleanup jobs, 2-29 demo job streams, 2-24 SMP DDDEFs, 2-8 user IDs and date tables, 2-24 demonstrating CA Scheduler, 2-24 DEMORPTS schedule, 2-27 distribution libraries, 1-5
E
exits, JES, 1-10
Index2
Installation Guide
I
IATXCSF, 1-13 initializing CICS work files, 2-22 SMP, 2-7 installing CA Common Services, 2-1 CA JCLCheck, 2-5 CA Scheduler dialog, 2-23
J
JES exits installation requirements, 1-10 JES2, 1-11 JES3 Driver, 1-12 Subtask ID, 1-13
L
libraries distribution, 1-5 target, 1-4 link editing CICS routines, 2-12 loading Acrobat files, 2-10 SAMPJCL, 2-5
M
MODETAB definition, 1-14
N
NJE requirements, 1-10
Index3
O
operating environments, 1-3
R
reports, demonstrating with DEMORPTS, 2-27 requirements system, 1-3 resource records, 2-28
S
SAMPJCL, loading, 2-5 SMP accepting CA Scheduler, 2-9 applying CA Scheduler, 2-9 creating data sets, 2-7 defining DDDEFs, 2-8 initializing, 2-7 receiving CA Scheduler, 2-8 software compatability, 1-9 supported products, 1-9 starting CA Datacom/AD, 2-13 CA Scheduler, 2-28 CAIENF, 2-21 storage requirements, 1-6 system components, 1-6 requirements, 1-3
T
tailoring CICS options, 2-22 procedures, 2-13 target libraries, 1-4
Index4
Installation Guide
U
updating CA Datacom/AD, 2-2 CA LMP key, 2-20 CAIRIM parameters, 2-19 system libraries, 2-18
V
VTAM communications, 1-10 initialization statements, 1-14
X
XCF communication facility, 1-3
Index5