ACF2 Does not normalize COMP to Compile from JCL in the UNLOAD file
search cancel

ACF2 Does not normalize COMP to Compile from JCL in the UNLOAD file

book

Article ID: 191009

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC LDAP SERVER FOR Z/OS PAM CLIENT FOR LINUX ON MAINFRAME WEB ADMINISTRATOR FOR TOP SECRET

Issue/Introduction

CEM does not log an event of IF COMMAND Begins With COMPILE when the compile is in an JCL.
TSO ACF
T RU
COMP DATASET ALL
 This shows up in the unload as COMPILE. 
None of the compiles in the JCL below were in the UNLOAD. Even used COMPILE.  Used both IKJEFT01 and ACFBATCH.
 //LOGON    EXEC PGM=IKJEFT01,DYNAMNBR=25
//SYSTSPRT DD SYSOUT=*
//SYSTSIN  DD *
ACF
SET RULE
COMPILE *
$KEY(LID)
  - UID(**************DFHSM) LIB('-') PGM(ARCCTL) READ(A) WRITE(A) -
  ALLOC(A) EXEC(A)
  - UID(**************LID) READ(A) WRITE(A) ALLOC(A) EXEC(A)
 
STORE
END
/*
 
//LOGON    EXEC PGM=ACFBATCH
//SYSTSPRT DD SYSOUT=*
//SYSHELP DD DSN=SYS1.HELP,DISP=SHR
//SYSTSIN  DD *
SET RULE
COMP *
$KEY(LID)
  - UID(**************DFHSM) LIB('-') PGM(ARCCTL) READ(A) WRITE(A) -
  ALLOC(A) EXEC(A)
  - UID(**************LID) READ(A) WRITE(A) ALLOC(A) EXEC(A)
 
STORE
END
/*
 
//LOGON    EXEC PGM=ACFBATCH
//SYSTSPRT DD SYSOUT=*
//SYSHELP DD DSN=SYS1.HELP,DISP=SHR
//SYSTSIN  DD *
SET RULE
COMPILE *
$KEY(LID)
  - UID(**************DFHSM) LIB('-') PGM(ARCCTL) READ(A) WRITE(A) -
  ALLOC(A) EXEC(A)
  - UID(**************LID) READ(A) WRITE(A) ALLOC(A) EXEC(A)
 
STORE
END
/*

Environment

Release : 16.0

Component : CA ACF2 for z/OS

Resolution

Test 1
comp * st           
 $key(abcd1)       
 - uid(user01) r(a) 

Test 2
 comp *             
 $key(abcd2)      
 - uid(user01) r(a)

Test 3
 compile *          
 $key(abcd3)      
 - uid(user01) r(a)
                   
 st
                
Test 4
 compile * st         
 $key(abcd4)        
 - uid(user01) r(a) 

RECKEY  abcd4 ADD(- uid(user03) r(a) w(l))...
RECKEY  abcd4 ADD(- uid(user04) r(a) w(l))...


I've then unloaded the file and I get the following results: 
COMPILE * ST..
STORE.........
STORE.........
COMPILE * ST..

As you can see the comp * st, st and compile * st have been normalized. In each instance, the rule never comes over with just COMPILE. The only time COMPILE is sent over is when it is on the same command line as the store. I've talked it over with development, and they believe that this is working as designed.