ILE COBOL Programmer's Guide


Responding to Messages

In an interactive environment, a message is indicated by one or several of these conditions:

The following paragraphs briefly describe some methods of responding to error messages; more information is available in the WebSphere Development Studio publications.

If the necessary correction is obvious from the initial display, you can press the Error Reset key (if the keyboard is locked), enter the correct information, and continue your work.

If the message requires that you choose a reply (such as C to cancel, D to dump COBOL identifiers, F to dump COBOL identifiers and file information, or G to resume processing at the next COBOL statement), the reply options are shown in parentheses in the first-level message text. For an example, see Figure 154.

If the information on the initial information display does not provide sufficient data for you to handle the error, you can press the HELP key (after positioning the cursor to the message line, if required) to get a second-level display with additional information about how to correct this error. To return to the initial display, press the Enter key; then press the Error Reset key (if the keyboard is locked), and make your correction or response.

If the error occurs when you are compiling or running a program, you might need to modify your ILE COBOL source statements or control language (CL) commands. Refer to the ADTS for AS/400: Source Entry Utility for information on how to change the statements.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]