CAY6036E REQUIRED POSITIONAL SUBPARAMETER "ACCOUNT" OMITTED FROM "JOB" / CAY6036E REQUIRED POSITIONAL SUBPARAMETER "PRGRAMMR" OMITTED FROM "JOB"
search cancel

CAY6036E REQUIRED POSITIONAL SUBPARAMETER "ACCOUNT" OMITTED FROM "JOB" / CAY6036E REQUIRED POSITIONAL SUBPARAMETER "PRGRAMMR" OMITTED FROM "JOB"

book

Article ID: 25048

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

When JCLCheck validates the JOB statement, it checks for the PRGRAMMR= and ACCOUNT= parameters, and issues an error message if they don't exist.

This Knowledge Document describes what needs to be done if your site does not require the PRGRAMMR and /or ACCOUNT parameter.

 

 

Environment

Release: 12.0
Component: JCLCheck Workload Automation

Resolution

The PRGRAMMR and the ACCOUNT parameters are set in the JCLTABLE CSECT of MVS4XTBL.  Apply Usermod MZ2C012 to remove these parameters from the JCLTABLE.

Here's how to apply the Usermod :

1.    Browse CAZ2SRC(MVS4XTBL), and look for 'PTB=JOBACTG' and 'VTB=JPRGMMR'. 

Example:

$J6PCB NAME=ACCOUNT,PTB=JOBACTG,REQ=YES,                      -00031700 
$J6PCB NAME=PRGRAMMR,VTB=JPRGMMR,REQ=YES,           -00031900

 

2.    Copy the entire 80-byte record into Usermod CAZ2JCL(MZ2C012) after statement ./ CHANGE NAME=MVS4XTBL

Example:

++USERMOD(MZ2C012)          /* IDENTIFY USERMOD */.                             
++VER(Z038)  FMID(CAZ2C00) /* PRE(xxxxxxx) */ .                                 
++SRCUPD (MVS4XTBL) DISTLIB(AAZ2SRC).                                           
./ CHANGE NAME=MVS4XTBL                                                         
JCLTABLE CAZ2BOX  HEAD='DECODING TABLES FOR JCLCHECK - ',              -00000100
         $J6PCB NAME=ACCOUNT,PTB=JOBACTG,REQ=YES,                      -00031700
         $J6PCB NAME=PRGRAMMR,VTB=JPRGMMR,REQ=YES,                     -00031900
./ ENDUP                                                                        
$$                                                                              

3.    Change REQ=YES to REQ=NO. 

Example: 

++USERMOD(MZ2C012)          /* IDENTIFY USERMOD */.                             
++VER(Z038)  FMID(CAZ2C00) /* PRE(xxxxxxx) */ .                                 
++SRCUPD (MVS4XTBL) DISTLIB(AAZ2SRC).                                           
./ CHANGE NAME=MVS4XTBL                                                         
JCLTABLE CAZ2BOX  HEAD='DECODING TABLES FOR JCLCHECK - ',              -00000100
       $J6PCB NAME=ACCOUNT,PTB=JOBACTG,REQ=NO,                      -00031700
       $J6PCB NAME=PRGRAMMR,VTB=JPRGMMR,REQ=NO,                     -00031900
./ ENDUP                                                                        
$$                                                                              

Note:  $J6PCB begins in column 10 and the statement has continuation character (-) in column 72.  The sequence numbers in columns 73-80 in the above example might not match with yours in MVS4XTBL.   The sequence numbers must match the source member in order for IEBUPDTE to replace the statement. 

4.    Follow the instructions provided in Usermod MZ2C012, and submit the Usermod.