CHECK control statement

This statement runs the zapper in CHECK mode. When zapper runs in CHECK mode, the statements that follow are run but the OSAM data set is not updated.

The syntax of the ORBA and the OBLK control statements are checked, and if they are valid, actual data is read. Then, the syntax of the VER and the REP control statements are checked and if they are valid, they are run against the data read. The result of the check is shown by messages. The check is done but the OSAM data is not updated. This functionality is called data check.

The DUMP control statement has no effect in CHECK mode.

CHECK

The CHECK control statement has no parameters.

Restrictions

Data check has the following restrictions:

  • When the preceding ORBA or OBLK control statements fails, the data check of the VER or REP control statements that follow is not done.
  • When more than one ORBA or OBLK control statement specifies the same record, the data check of the VER or REP statements that follow the second or later ORBA or OBLK control statements is not done.