Set-up Batch Parameters

book

Article ID: 50990

calendar_today

Updated On:

Products

CA Repository

Issue/Introduction

Description:

How can batch parameters be specified so that the JCL generated contains these parameters in the job card by default?

Solution:

  1. At the Installation Customization Menu, select option 5 Batch - Set-up Batch Parameters

  2. Using JOBPARM as the example, set the data on the panel as follows:

    BATCH PARM 1 Literal ===> JOBPARM
    Code Table ===> <<<<<<<<<<<<< leave blank
    Default Value ===> /*JOBPARM S=xxxx
    BATCH PARM 2 Literal ===>

  3. PF3 to save the Batch Parameters

  4. Access the Repository and issue a command such as

    OPTIONS.REPORTS.WORKSTN.

  5. The following screen with JOBPARM is displayed
    SIZE --------------------------- AR/ZOS PRINT ----------------- ? SCREEN BATCH PROFILE NAVIGATE HELP ? AR/ZOS BATCH PRINT PARAMETERS ? ------------------------------------------------------------ ? EDIT JCL?           ===> Y USAGE? ===> DB2 ? PRINT ALL ENTITIES? ===> N ? JOB NAME            ===> your job name ? ACCOUNT INFORMATION ===> 1xxxxxxxx ? DESCRIPTIVE NAME    ===> DB2A TEST ? MESSAGE LEVEL       ===> (1,1)? PRIORITY ===>? TYPRUN              ===>? CLASS 1             ===> A ? CLASS 2             ===>? CLASS 3             ===>? NOTIFY              ===> xxxxx ? MSGCLASS            ===> X ? TIME                ===>? REGION              ===> 0M ? ADDRESS SPACE       ===>? PASSWORD            ===>? USERID              ===>? BATCH PARAMETERS ? JOBPARM             ===> /*JOBPARM S=xxxx?
  6. Generate the JCL job which will contain the default JOBPARM specified.

  7. At the main Repository screen select PROFILE.DEFAULTS

  8. The following parm panel displayed will contain JOBPARM
    BATCH PARAMETERS 
    JOBPARM ===> /*JOBPARM SYSAFF=xxxx ===> ===> ===> ===>
  9. Select SAVE to preserve the batch parameters.

  10. From this point, any JCL job generated for Catsync or Maintain will contain the JOBPARM statement.

Environment

Release:
Component: XTR