Was this helpful?
Validate
Performs data type checking and field validation checks specified in VIFRED.
Examples--validate statement:
Example 1:
This example validates the data in the field sal:
## validate field sal
Example 2:
This example validates the data in the field specified by the program variable fieldvar:
## validate field fieldvar
Example 3:
This example validates the displayed rows of the employee table field before unloading its data set:
## validate field employee
## unloadtable empform employee
##   (vname = ename, vage = age, vnum = eno)
## {
##   process the row
## }
Last modified date: 11/09/2022