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 SYS1
//*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?
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.