IKJ144I   UNDEFINED USERID(S) OPSUSER / How to override default userID in OPSMVS when using the OPSUBMIT function
search cancel

IKJ144I   UNDEFINED USERID(S) OPSUSER / How to override default userID in OPSMVS when using the OPSUBMIT function

book

Article ID: 397753

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

You are using OPSUBMIT function to submit a JCL job and you are getting errors as below 

$HASP100 TESTJOB ON INTRDR                           
$HASP913 TESTJOB ACF01010 LOGONID OPSUSER CANCELLED    
$HASP913 TESTJOB $ACFJ213 CANCELLED BY ACF2 (ACF01010)   
IKJ144I   UNDEFINED USERID(S) OPSUSER       

The userid being taken by the batch job is the userid of the OPSOSF started task.

Is there a way to override using this ID and if there is, which parameter needs to be set in the OPSPA00 ?

 

Resolution

The correct way to override the userid of the batch job is to include the USER keyword in the JCL job card.

For example:

QUEUE  "//TESTJOB  JOB (001),CLASS=A,USER=userid" 
QUEUE  "//STEP1   EXEC PGM=IEFBR14             " 
TESTE = OPSUBMIT()                               

For this override to work, the OPS/MVS userid must be granted authority to submit jobs on behalf of the other userid. This authorization is given in the ESM (External Security Manager)product: ACF2, Top Secret (TSS) or RACF.

Contact the security administrator at your site to request that the OPS/MVS userid is allowed to submit jobs on behalf of the userid you need the jobs to be executed.