Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NOT_FOUND

USING_FILE

USING_KEY


Anchor
FIELD
FIELD
FIELD

Specifies the name of the field which is to be associated with the check.

Anchor
USING_FILE
USING_FILE
USING_FILE

pecifies the name of the file that is to be looked up by this check. Refer to Specifying File Names in I/O commands.

Anchor
USING_KEY
USING_KEY
USING_KEY

pecifies the key that is to be used to look up the file specified in the USING_FILE parameter.

...

To specify other key field(s) refer, for more details, to Specifying File Key Lists in I/O Commands.

Anchor
FOUND
FOUND
FOUND

pecifies the action to be taken if a record is found in the nominated file with the nominated key.

...

If *ACCEPT is specified the field is considered to have passed the validation check AND no other validation checks will be performed against the field named in the FIELD parameter within this validation block. Processing continues with the next RDML command. However, if this is another validation check against the same field it will be effectively "disabled" and not performed.

Anchor
NOT_FOUND
NOT_FOUND
NOT_FOUND

pecifies the action to be taken if no record can be found in the nominated file with the key value specified.

...

If *ACCEPT is specified the field is considered to have passed the validation check AND no other validation checks will be performed against the field named in the FIELD parameter within this validation block. Processing continues with the next RDML command. However, if this is another validation check against the same field it will be effectively "disabled" and not performed.

Anchor
MSGTXT
MSGTXT
MSGTXT

llows up to 80 characters of message text to be specified. The message text specified should be enclosed in quotes. Use either the MSGTXT parameter or the MSGID / MSGF parameters but not both.

Anchor
MSGID
MSGID
MSGID

llows a standard message identifier to be specified as the message that should be used. Message identifiers must be 7 characters long. Use this parameter in conjunction with the MSGF parameter.

Anchor
MSGF
MSGF
MSGF

pecifies the message file in which the message identified in the MSGID parameter will be found. This parameter is a qualified name. The message file name must be specified. If required the library in which the message file resides can also be specified. If no library name is specified, library *LIBL is assumed.

Anchor
MSGDTA
MSGDTA
MSGDTA

se this parameter only in conjunction with the MSGID and MSGF parameters. It specifies from 1 to 20 values that are to be used to replace "&n" substitution variables in the message specified in the MSGID parameter.

...