Safeguard User's Guide (G06.24+, H06.03+)

Working with Patterns
Safeguard User’s Guide422089-009
9-7
Safeguard Pattern Configuration
Examples
To set diskfile pattern searches to be performed after NORECORD is returned for
non-pattern checking:
ALTER SAFEGUARD, CHECK-DISKFILE-PATTERN LAST
To set diskfile pattern searches to be performed first, if the result is NORECORD
non-pattern checking will be done:
ALTER SAFEGUARD, CHECK-DISKFILE-PATTERN FIRST
Table 9-1. CHECK-DISKFILE-PATTERN settings
Result from: CHECK-DISKFILE-PATTERN value
Normal Pattern OFF FIRST LAST ONLY
YYY
1
Y
4
Y
3
Y
6
YNY
1
N
4
Y
3
N
6
YNRY
1
Y
2
Y
3
NR
6
NYN
1
Y
4
N
3
Y
6
NNN
1
N
4
N
3
N
6
NNRN
1
N
2
N
3
NR
6
NR Y NR
1
Y
4
Y
5
Y
6
NR N NR
1
N
4
N
5
N
6
NR NR NR
1
NR
2
NR
5
NR
6
N the request is denied (NO)
Y the request is granted (YES)
NR no norecord was found (NORECORD)
Check-Diskfile-Pattern OFF searches only for normal protection records.
Check-Diskfile-Pattern FIRST searches for a pattern protection record, and if the result is NORECORD, then
searches for a normal protection record.
Check-Diskfile-Pattern LAST searches for a normal protection record, and if the result is NORECORD, then
searches for a pattern protection record.
Check-Diskfile-Pattern ONLY searches only for a pattern protection record.
1
PATTERNOFF Check-Diskfile-Pattern is OFF and the OUTCOME is determined by only searching for a
normal protection record.
2
NORMALFIRST Check-Diskfile-Pattern is FIRST and the OUTCOME is determined by a normal protection
record because the pattern search resulted in norecord.
3
NORMALLAST Check-Diskfile-Pattern is LAST and the OUTCOME is determined by a normal protection
record.
4
PATTERNFIRST Check-Diskfile-Pattern is FIRST and the OUTCOME is determined by a pattern protection
record.
5
PATTERNLAST Check-Diskfile-Pattern is LAST and the OUTCOME is determined by a pattern protection
record because the normal search resulted in norecord.
6
PATTERNONLY Check-Diskfile-Pattern is ONLY and the OUTCOME is determined by only search for a
pattern protection record.