NOT-ALLOWED OD seen when submitting JCL through REXX exec

book

Article ID: 222643

calendar_today

Updated On:

Products

CA ACF2 CA ACF2 - MISC CA ACF2 - z/OS

Issue/Introduction

When trying to run a job created and submitted by a REXX exec, the following error is seen in the job output:

//TESTJOB JOB (123456),'TEST USER',                    
//     CLASS=Z,MSGCLASS=X,REGION=0M            
//* $ACFJ219 ACF2 ACTIVE SYSA                             
//*NOT-ALLOWED   OD                                      

ACF2 surrogate processing is desired.

On the submitted job card //*LOGONID, USER, and OWNER have all been tried and result in the same error. Surrogate access is properly set up for the ACF2 LIDs being used. How can this error be resolved?

Resolution

When submitting a batch job through a REXX program where ACF2 surrogate processing is taking place (USER, OWNER, or //*LOGONID is specified in the jobcard), INTRDR must be used. Use of TSO SUB will result in the NOT-ALLOWED message seen in the job output.