ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

TAMRPTTZ - Audit Utility for RACF


Article ID: 223215


Updated On:


Trusted Access Manager for Mainframe


As an auditor, you want to see all activity that occurs by a user or ticket number from elevation to de-elevation or elevation time-out. A unique session ID (TAMID) is assigned at elevation time and carried through each elevation and de-elevation event.


Release : 1.1

Component : TAMz


The TAMRPTTZ audit utility reads the TAMR SMF records used to build the reports from the TAMRSMF job, including the TAMR commands, IBM RACF commands, and resource access reports. All activity that occurs by a user or TAMID from elevation to de-elevation or elevation time-out is added to the CSV file. By default, the report is sorted by TAMID then timestamp.

To build the CSV file, the TAMRPTTZ job runs the TAMRSMF reports and aggregates into a single CSV file. Optionally, you can include an extra job step that generates a JSON format of the CSV report that is offloaded into JSON consumers. For information on available filter criteria, see the documentation included in the TAMRPTTZ job. The SMF 80 subtype general records are listed first, followed by the SMF 80 subtype access records. Both are sorted by TAMID followed by the timestamp.

To generate a comprehensive “Start-Activity-Stop” report, import the CSV into your desired CSV-tool and sort by TAMID followed by date and time.

The following sample output is the CSV file that is generated by TAMRPTTZ:


The following sample output is the JSON file that is generated by TAMRPTTZ:

[ { "Type": "T", "Date": "2021-09-01", "Time": "17:21:30", "Event": "GENERAL", "UserId": "TCRAC01", "Group": "SYS1", "System": "XE41", "Jobname": "TC545TST", "TAMID": "0901202117212928", "Command_Issued": "ELEVATE", "Elevated_User": "TCRAC50", "Tam_Class": "MORTALS", "Tam_Reason": "TEST", "RC": "00", "RSN": "00" },

{ "Type": "T", "Date": "2021-09-01", "Time": "17:22:43", "Event": "GENERAL", "UserId": "TCRAC01", "Group": "SYS1", "System": "XE41", "Jobname": "TC570TST", "TAMID": "0901202117212928", "Command_Issued": "DEELEVATE", "Elevated_User": "TCRAC50", "Tam_Class": "MORTALS", "Tam_Reason": "TEST", "RC": "00", "RSN": "00" },

{"Type": "A", "Date": "2021-09-01", "Time": "17:22:34", "Event": "ACCESS", "Result": "SUCCESS", "UserId": "TCRAC50", "Group": "SYS1", "System": "XE41", "Jobname": "TC569TST", "Resource_Name": "TCRACF.WORK.DATASET", "Resource_Class": "DATASET", "TAMID": "0901202117212928", "Tam_Class": "MORTALS", "Access_By_Group_Priv": "MORTLGRP" } ]