Thanks both for the explanations. This has clarified a lot for me.
This is the CARLa run in its current state.
mergelist
newlist type=smf dd=ckreport nopage retain
def RcdDat(3,char,'RcdDat') as smf_field(11,3)
select class=user, RcdDat='xxxxxF'x,
EVENT=RACINIT, EVENT<>RACINIT(0,8,13,12,32,40)
newlist type=smf dd=ckreport nopage retain
select class=user, RcdDat='xxxxxF'X, EVENT=RACINIT(8,13)
newlist type=smf dd=ckreport nopage retain
select type=80 class=dataset, RcdDat='xxxxxF'X
newlist type=smf dd=ckreport nopage retain
select type=80 class<>(user,dataset), RcdDat='xxxxxF'X
newlist type=smf dd=ckreport nopage retain
select type=80, RcdDat='xxxxxF'X, class=(FSOBJ,PROCESS,FSSEC,FSACCESS,FSEXEC,UNIXPRIV,FACILITY,SURROGAT)
exclude unix_function=(chdir,dub,undub_exit)
endmerge
Using the information and examples you've provided, this could be split into two groups of newlists- Type=RACINIT and Type=80. If I create dummy newlists it would look similar to this.
mergelist
newlist type=smf name=racinit outlim=0
def RcdDat(3,char,'RcdDat') as smf_field(11,3)
select class=user, EVENT=RACINIT, RcdDat='xxxxxF'x
newlist type=smf dd=ckreport nopage retain
select likelist=racinit, EVENT<>RACINIT(0,8,13,12,32,40)
newlist type=smf dd=ckreport nopage retain
select likelist=racinit, EVENT=RACINIT(8,13)
newlist type=smf name=type80 outlim=0
select type=80, RcdDat='xxxxxF'x
newlist type=smf dd=ckreport nopage retain
select likelist=type80, class=dataset
newlist type=smf dd=ckreport nopage retain
select likelist=type80, class<>(user,dataset)
newlist type=smf dd=ckreport nopage retain
select likelist=type80, class=(FSOBJ,PROCESS,FSSEC,FSACCESS,FSEXEC,UNIXPRIV,FACILITY,SURROGAT)
exclude unix_function=(chdir,dub,undub_exit)
endmerge
Additional cleanup could be done as well.
-the report is always for yesterday and the SMF file is for yesterday, so the RcdDat selection criteria could be dropped
-I believe the class=user selection could be dropped from the RACINIT searches
-class<>(user,dataset) was intended to capture general resources and can (should?) be written as class=general
Does this seem like an appropriate approach? Is there anything else you would suggest?
------------------------------
Michael Nielsen
------------------------------