XYGATE
®
Data Protection
™
Reference Manual
XYPRO Technology Corporation
55
Proprietary and Confidential
DPGROUP GUARDIAN Requestor 00003 matched ^\$SYSTEM\.XYGATEDP\..*$
DPGROUP GUARDIAN Mask 00003 matched ^\$SYSTEM\.XDPDATA\.TESTIN$
DPGROUP GUARDIAN Selection criteria satisfied
DPGROUP GUARDIAN User(001)/access(001) found
DPGROUP GUARDIAN Access YES
DPGROUP GUARDIAN Result converted to NORECORD due to warning mode
DPGROUP GUARDIAN Replying with access NORECORD
Access result - YES (unexpected, NO predicted) using DPGROUP GUARDIAN (unexpected
DPGROUP, OSS predicted)
This example evaluates an attempt by QA.TST to read the file
$SYSTEM.XDPDATA.TESTIN. The expected result is “NO” and the expected
DPGROUP is OSS. However, XDP after evaluating several DPGROUPs, grants
access. Hence, it displays the following:
"UNEXPECTED", NO predicted using DPGROUP GUARDIAN unexpected
DPGROUP,OSS predicted
When you EXIT Access Mode, a summary count of the number of unexpected results
and invalid commands is displayed.
Example:
Access check:EXIT
4 unexpected results - 3 command errors
7.10
How to Run What-if Using Input and Output Files
In the input file, the user can specify multiple queries and feed them to XDP. The
output can be sent to the screen, an edit file or to the spooler. You can include
comments in the input file; the comment character is a pair of equal signs ( == ).
The input and output files allow you to test in a batch mode. This is easier when doing
a large amount of testing, than by typing one query at a time.
Syntax:
RUN XYGATEDP /IN INFILE, OUT OUTFILE/EXPLAIN [<DPACL FILENAME>]
Example: Sample IN File
$SYSTEM XYGATEDP 31>
FUP COPY TSTIN
==This is to test what-if feature - file operations
==Allow encrypt
encrypt encryptedfile $SYSTEM.xdpdata.testin $SYSTEM.XYGATEDP.xdpencr qa.tst
==Not allow encrypt user
encrypt encryptedfile $SYSTEM.xdptest.encrfile $SYSTEM.XYGATEDP.wr qatstsw.mgr
==Warning mode off
ignorewarning on
==Decrypt
decrypt encryptedfile $SYSTEM.xdptest.encrfile $SYSTEM.XYGATEDP.rd
Example: Run What-if in explain mode, with an IN file
$SYSTEM.XYGATEDP 15>
RUN XYGATEDP /IN TSTIN, OUT TSTOUT/ EXPLAIN
This command runs the XYGATEDP object file in EXPLAIN mode, with the TSTIN file
as input. The results will be written to a file called TSTOUT.