VA Pac automatically manages the error messages that will inform users of input errors detected by application programs.
Error messages can be created as needed, or generated upon request, to update the sequential error message file. This file will be used to create application error message files. They can be indexed files or databases, depending on the hardware in use.
The generation is performed by the GPRT procedure, using the GEO generation/print command. In this command, you can specify the generation language (EN or FR) of the error messages, which is by default the language assigned to you.
It generates the error messages for the Screens specified in the GEO command inside the PAC7GL file. Error messages of other Screens found in the PAC7LG file are copied into the PAC7GL file and not modified.
An automatic error message corresponds to each validation instruction (entered on the Screen Call of Elements) and to each file access.
DATA ELEMENTS
SEGMENTS
Only validations (entered on the Screen Call of Elements (-CE Lines tab) ) and file accesses trigger the automatic generation of error messages.
For other error types detected through other validations, error messages must be explicitly entered. This is done on the --GE Lines section of the -G Lines tab associated with either the considered Screen or Dialog, depending on the type of error.