Previous Topic: Clear the ScreenNext Topic: Handle Scrolling on a Screen


Validate Input From a Screen

Design of a host terminal dialog seeks to minimize interactions between the host and the terminal, so the logic is specified to perform all possible validation of the data imported from the screen.

Any field found to be in error is indicated using the MAKE … ERROR statement.

When the screen is redisplayed, the cursor can be automatically placed at the start of the first field indicated as an error.