search cancel

ACF2 SURROGAT CLASS NOT WORKING

book

Article ID: 257312

calendar_today

Updated On:

Products

ACF2

Issue/Introduction

ACF2 SURROGAT class not working correctly with the following setup:

1) SAFDEF:  comes from CA with SUR class ON.


2) CLASMAP:  SURROGAT is mapped to SUR.

********   SURROGAT    SUR    17                                   104  

3) SUR rules:  

There is only one rule for SUR as  PREVENT

SET R(SUR)                                                          
 RESOURCE                                                         
l like(-)                                                         
 ACF75052 RESOURCE RULE USER1 STORED BY USER2 ON 11/29/22-16:48
$KEY(USER1) TYPE(SUR)                                           
  SUBMIT UID(ZZYYYXXXUSER2) PREVENT                             
 ACF75051 TOTAL RECORD LENGTH= 219 BYTES, 5 PERCENT UTILIZED  
   

4) TEST command results: 
 

TEST:   TEST subcommand show NO ACCESS for USER2 to submit for USER1
.  rsrcname('user1.submit') lid(user2)                            
ACF71114 THE FOLLOWING PARAMETERS ARE IN EFFECT:                     
 DATE=12/01/22 TIME=0849 SOURCE=********  UID=ZZYYYXXXuser2 MARIO01
LID=user2  ROLE=                                                  
                                                                     
 TARGET RESOURCE: RSUR USER1.SUBMIT                                 
                                                                     
 VALIDATED RULE LINE FROM USER1 TYPE SUR                            
 SUBMIT UID(ZZYYYXXXUSER2) PREVENT                                 
                                                                     
 RESULT: ACCESS WOULD BE DENIED                                      
 REASON: RESOURCE RULE

 5) However, USER2 can submit job with USER=USER1 successfully

   

      TEST.CNTL.JCL(LISTLID) - 01.01                       Col
Command ===> sub                                                      
 ****** ********************************* Top of Data *****************
000001 //LISTLIDX JOB (ACCT#),CLASS=A,NOTIFY=&SYSUID,
000002 //         LINES=99999,MSGCLASS=X,REGION=0M,USER=USER1        

IKJ56250I JOB LISTLIDX(JOB04836) SUBMITTED

---- THURSDAY,  01 DEC 2022 ----                                   
 $HASP373 LISTLIDX STARTED - INIT 1    - CLASS A        - SYS PLM2 
 ACF9CCCD USERID USER1   IS ASSIGNED TO THIS JOB - LISTLIDX       
 IEF403I LISTLIDX - STARTED - TIME=08.50.57                        
 -                                      -----TIMINGS (MINS.)------ 
 -STEPNAME PROCSTEP    RC   EXCP   CONN       TCB       SRB  CLOCK 
 -ACFJOB1              00    381      0       .04       .00     .1 
 IEF404I LISTLIDX - ENDED - TIME=08.51.07                          
 -LISTLIDX ENDED.  NAME-USER2 GENERIC       TOTAL TCB CPU TIME=   
 $HASP395 LISTLIDX ENDED - RC=0000              

               

The correct message should be $HASP106 JOB DELETED BY JES2 OR CANCELLED BY OPERATOR BEFORE EXECUTION.

Environment

Release : 16.0

Resolution

The reassemble of JES2 exits that ACF2 uses was done to resolve the problem. 

The CA-ACF2 JXBUMJ2 member provided in the SAMPJCL data set can be used to apply USERMOD UMJ2999 which causes the CA-ACF2 JES2 interface to be reassembled and linked.