XYGATE Compliance PRO (XSW) Reference Manual

XYGATE
®
Compliance PRO
Reference Manual
Chapter 12. XSW Auditing and Audit Reporting
XYPRO Technology Corporation 221 Proprietary and Confidential
12.4.4 Designing Your Own Host ENFORM Report (REPSAMP)
A sample ENFORM report, REPSAMP, is included in the XYGATESW subvolume
during installation.
REPSAMP is designed to show how a custom report can be written. Run the report as
follows:
TACL> ENFORM/IN REPSAMP/
ENFORM uses the REPSAMP file as its command file and pulls the data to be
reported from the XSW audit file. The output will be written to your screen because you
did not specify an output file.
REPSAMP
?DICTIONARY $SYSTEM.XYGATESW
OPEN xswlog-audit;
set @date-format "D2-MA3-Y2";
set @width 128;
set @space to 1;
TITLE
"XYGATE Compliance PRO for User"
" ["
subject-group-number as m<ZZ9>
","
subject-user-number as M<999>
"] "
CENTER
;
SUBTITLE
"Date produced: "
@date as date *
tab 118
"Page: "
@pageno as m<ZZZ9>
;
LIST
BY subject-GROUP-NUMBER NOPRINT
BY subject-USER-NUMBER NOPRINT FORM
" "
MONTH AS M<Z9> HEADING "MM" SPACE 0
"-" HEADING "-" SPACE 0
DAY AS M<Z9> HEADING "DD" SPACE 0
"-" HEADING "-" SPACE 0
YEAR AS M<9999> HEADING "YYYY" SPACE 0
" "
HOUR AS M<Z9> HEADING "HH" SPACE 0
":" HEADING ":" SPACE 0
MINUTE AS M<99> HEADING "MM"
":" HEADING ":" SPACE 0
second AS M<99> HEADING "SS"
! SUBJECT-GROUP-NUMBER heading "GroupNumber" : see BY above
! SUBJECT-USER-NUMBER heading "UserNumber" : see BY above
SUBJECT-LOGIN-NAME heading "LoginName"
IP-ADDRESS heading "IP-Address"
skip
MACHINE-NAME heading "MachineName"