Note: The following two examples are reports for the same audit trail.
Example 1: An unformatted audit report where all the audit events in the audit log are
reported (SHOWCOM=NO).
//FMBAT EXEC PGM=FILEMGR
//STEPLIB DD DSN=FMN.SFMNMOD1,DISP=SHR
//SYSPRINT DD SYSOUT=*
//IDIOPTS DD DSN=FMN.IDIOPTS,DISP=SHR
//SYSIN DD *
$$FILEM AUD ,
$$FILEM TYPE=IMS,
$$FILEM FORMAT=NO,
$$FILEM SHOWCOM=NO,
$$FILEM LABEL='EDIT THE SUBURB DATABASE',
$$FILEM DSNAME='FMNUSER.IMSAUDIT.D101104.T121752'
Example 2: A formatted audit report where only committed updates are reported
(SHOWCOM=YES).
//FMBAT EXEC PGM=FILEMGR
//STEPLIB DD DSN=FMN.SFMNMOD1,DISP=SHR
//SYSPRINT DD SYSOUT=*
//IDIOPTS DD DSN=FMN.IDIOPTS,DISP=SHR
//SYSIN DD *
$$FILEM AUD ,
$$FILEM TYPE=IMS,
$$FILEM FORMAT=YES,
$$FILEM HICHG=YES,
$$FILEM SHOWCOM=YES,
$$FILEM LABEL='EDIT THE SUBURB DATABASE',
$$FILEM DSNAME='FMNUSER.IMSAUDIT.D101104.T121752'