Maintaining Objects of Type Verification

#### Search Results

Search

# Maintaining Objects of Type Verification

This document covers the following topics:

- Verification Maintenance Menu

- Verification Status

- Verification Formats

- Add a Verification Screen

## Verification Maintenance Menu

The Verification Maintenance menu is called with function code M and object code VE in a main menu or with the command `MAINTAIN VERIFICATION`.

    09:28:30             *****  P R E D I C T  *****             2007-05-31
    Plan   3             - (VE) Verification Maintenance -             Profile HNO

     Function                              Function

     A  Add a verification                 D  Display verification
     C  Copy verification                  L  Link children
     M  Modify verification                S  Select verification from a list
     N  Rename/change status verific.
     P  Purge verification

    Function .........

    Verification ID ..                                  Attributes ......*
    Copy ID ..........                                  Status ..........*
                                                        Format ..........*

    Restrictions ....*   Profile HNO,used               Association .....*

    Command ===>
    Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
          Help  Next  Stop  Last  LnkEl Flip  Print Impl  AdmFi SelFi Prof  Main

Parameters
Function | Select a code from the menu to execute one of the maintenance functions. Standard maintenance functions are described in the section Maintenance in the Predict Reference documentation. The functions Purge Verification, Rename/Change Status of a Verification and Edit Rule of a Verification (Code R) are described in the section Verification-Specific Maintenance.
Verification ID | Identifier of the Predict verification object. The identifier of a verification is checked against Natural naming conventions.
Copy ID | For Copy function: ID of new verification to be created.
Status | Status of the verification. See Verification Status below. For the Select function: a status can be specified as an additional selection criterion.
Format | Format of the verification. See Verification Formats below. For the Select function: a format can be specified as an additional selection criterion.
Restrictions | Additional criteria can be specified to restrict the scope of verifications to be processed. See Restrictions in the section Predict User Interface in the Introduction to Predict documentation.

## Verification Status

The table below contains a list of all valid verification status.

Code | Verification Status
--- | ---
A | Automatic
C | Conceptual
D | Documented (no rule)
F | Free
N | Natural Construct
S | SQL

## Verification Formats

The table below contains a list of all valid verification formats.

Code | Format
--- | ---
A | Alphanumeric
B | Binary
D | Date/time
K | Function key
L | Logical
N | Numeric
blank | Unknown (no rule defined)

## Add a Verification Screen

The screen is displayed for the Add a Verification function. The Copy and Modify screens are similar.

    09:27:57             *****  P R E D I C T  *****             2007-05-31
                              - Modify Verification -
    Verification ID . HNO-VE
    Status .......... Documented
    Keys ..                                                                Zoom: N

    Format .........*    (none)                                Modifier    Zoom: N
    Type ...........*    All
    Message nr ......
    Replacement 1 ...
    Replacement 2 ...
    Replacement 3 ...
    Message text ....

    Abstract     Zoom: N             Values     Zoom: N

    Additional attributes ..* N          Associations ..* N

Note
Parameters not listed here are described under Global Attributes.

Parameters
Verification ID | The identifier of the verification.
Status | The status assigned by Predict to the verification rule. See Verification Status for list of valid values.
Format | The format of the verification rule. See Verification Formats for list of valid values.
Modifier | User and or user groups defined in Natural Security who can be authorized to modify free rules of the verification. The parameter is evaluated by Predict according to the setting of the default parameters Rule in Map Editor / Rule in SYSDIC. If any of these parameters is set to force, Predict checks the following: that at least one modifier is specified, that each modifier of the object is a Natural Security administrator, person or group, that the user is listed as a modifier of the object. See also description of Rule in Map Editor / Rule in SYSDIC in the section Defaults in the Predict Administration documentation and Protecting Processing Rules in the section Protecting External Objects in Predict with Natural Security in the Predict Security documentation.
Type | The type of rule. Enter a single-character code as shown in the following table. The table also shows the number of values to be specified with each type of rule:
Code | Type of Rule | No. of Values
--- | --- | ---
E | Equal to | 1
0 or 1 for format logical
G | Greater than | 1
L | Less than | 1
N | Not equal to | n
0 or 1 for format logical
R | Range of values | 2
T | Table of values | n
U | User routine |
B | Range, but not | 3 or 4
I | Not in range | 2
M | Mask | n
O | Not Equal Mask | n
S | Scan | n
V | Not Equal Scan | n
blank | (none) - no rule defined |
For a list of the generated code, see Rule Editor in the Predict Reference documentation. See also Edit Rule of a Verification.
Message nr | Number of Natural error message. The message will be displayed if a validation fails. Up to three replacement strings can be inserted into an error message if the respective targets (:1:, :2:, :3:) are provided.
Replacement 1 - 3 | Strings to be inserted into a Natural message. See description of Message nr above.
Message text | Message to be displayed if a validation fails. A standard message will be created if neither Message text nor Message nr have been specified.
Values | The values used to perform the verification. The following rules apply: The number of values to be specified depends on the verification type. See table above. Values are delimited with blanks with the Natural INPUT delimiter character (ID) defined in the Natural environment by entering them in separate lines. Hexadecimal values can be specified in two ways: if Format=B, hexadecimal values can be specified directly. Example: F0 if Format=A, hexadecimal values must be preceded by uppercase X or H and be enclosed in single quotes. Example: X'F0' or H'F0' Blanks can be specified in one of the following ways: ' ', BLANK or SPACE. Strings that include blanks must be enclosed in single quotes, apostrophes in strings have to be doubled (for example: 'six o''clock'). Line comments can be specified by preceding them with /* (a slash and an asterisk). Line comments can be used by SYSHELP as descriptive text in input windows. Strings that include the comment delimiter /* must be enclosed in single quotes.

### On this page

- Verification Maintenance Menu
- Verification Status
- Verification Formats
- Add a Verification Screen