Previous Topic: Step 9: Add the Start Procedure to PROCLIB

Next Topic: Step 10: (Optional) Maintain Detail History with JES2


Add the Start Procedure

To add the start procedure to the PROCLIB for the started task:

  1. Add the start procedure JCL, located in CBRNSSTC in CAI.CBRNPROC, as member RMOSTC of SYS1.PROCLIB:
    //RMOSTC    EXEC PGM=RMOSTC,TIME=1440,REGION=128M
    //STEPLIB   DD  DSN=CAI.CVDELOAD,DISP=SHR
    //SYSUDUMP  DD  SYSOUT=A
    //RMOPARMS  DD  DSN=CAI.CVDEOPTN(RMOPARMS),DISP=SHR
    //*RMOJTAB  DD  DSN=your.rmojtab,DISP=SHR
    
  2. Set the recommended CA Deliver REGION size.

    We recommend that you run CA Deliver with a minimum REGION=128M. This covers the current storage requirements for a daily cycle and can be useful and still provide a reserve that might be needed when extra storage is required.

    Alternately, if you do not want to set the REGION size to 128M, start RMOSTC with a 128M region and continue with the same value for at least two days to monitor the processing for two daily cycles.

    Bring RMOSTC down and review the IEF374I message in the JOBLOG; this log provides a high-water mark of the storage use.

    The REGION value is in K not M, so divide the value nnnK by 1024 to get the value in M. Round the result up and add at least 5 to the result. This gives you the minimum region size to use.

    For example:

    VIRT   540K SYS   296K EXT   40998K SYS   10124K
    

    The storage usage value in this example is 40998K. If you divide this by 1024 you get a value over 40 (round up the result to 41 and add 5).

    The required region in this case is 46M.

  3. Do one of the following:
  4. If you use direct-to-VIEW, and the CA VIEW load library is separate, add it to the STEPLIB concatenation.

    Load module SARPAM in the CA View load library is required for direct‑to‑VIEW archival.

  5. Change the data set name on the RMOPARMS DD statement to the name of the card image data set that contains the initialization parameter statements.

    RMOPARMS can be a member of a PDS:

    //RMOPARMS DD  DSN=CAI.CVDEOPTN(RMOPARMS),DISP=SHR
    
  6. The RMOJTAB DD statement is optional; include it when job name translation control statements are to be input to the started task.

    The DD statement that is commented out in the procedure is an example only and must be changed to point to your rmojtab.

    Note: For more information about how to code this table, see the chapter "The Database" in the Reference Guide.