Rational Developer for System z

Data validation

This topic contains information about data validation techniques.

File Manager Integration provides continuous data validation within both the Template Editor and the Formatted Data Editor. When templates are applied, each field in the layout has a specific data type that is defined by the template. When editing any field within a data set, the new or changed input is continuously validated to ensure that the data being entered matches the field characteristics (type, length, etc.). For example, a floating point field will not accept any alphabetic data. An error will be displayed above the table view if a field has been identified as being incorrect.

An error message is displayed above the editor because an incorrect data type has been entered into a field.

Any changes to a field that cause an error will not be applied until all errors have been corrected. If no action is taken to correct the incorrect field and the field is exited, the data will be replaced with the information that was present in the field before editing.

In some instances, data validation cannot be performed on the client. For example, when editing a KSDS VSAM cluster, the client may not know all of the keys of the host data set (some records may not be selected). In this case, the client can not verify to make sure that there is no duplication of keys and will not display an error until the data is sent back to the host during a save.


Feedback