Previous Topic: CTLx/DSNB Control StatementNext Topic: REP Control Statement


VER Control Statement

The VER control statement verifies the value of a field before it is updated. It is required for the record ID (RECID) when updating Control Records. It is also required to specify the next record (NEXT) when updating DSNBs unless no verification (NOVER) is specified in the PARM of the EXEC statement or the CTLx/DSNB control statement. A Control Record or DSNB is not updated unless all VER and REP control statements for the record are correct. The format for the VER control statement is:

1   5
VER keyword=value,...,keyword=value

Control Statement Definition

VER

Is the control statement identifier. It must start in position 1 and be followed by a space.

keyword

Is one of the recognized TMSUDSNB keywords. For a list of recognized TMSUDSNB keywords, see the Programming guide.

value

Is the value to be verified. The value field may contain only the characters A-Z, 0-9, $, # or @. If the value field must contain any special characters or embedded blanks, the field must be enclosed in delimiters. Any special characters may be used as the delimiters (for example, 'C01 AC$TMS$Z' or *C01 AC$TMS$Z*). The value HEXZEROS indicates binary zeros.