HPlogo ALLBASE/SQL Pascal Application Programming Guide: HP 9000 Computer Systems > Chapter 2 Using the ALLBASE/SQL Pascal Preprocessor

Preprocessing Errors

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Several types of errors can occur while you are using the Pascal preprocessor, for example:

  • Unexpected preprocessor or DBEnvironment termination.

  • Preprocessor invocation errors.

  • Source file errors.

  • DBEnvironment errors.

Preprocessor or DBEnvironment Termination

Whenever the Pascal preprocessor stops running unexpectedly while you are using it in full preprocessing mode, sections stored during the preprocessor's DBE session are automatically dropped when the DBEnvironment is next started up. Unexpected preprocessor session termination occurs, for example, when a DBA issues a STOP DBE command during a preprocessor DBE session.

Preprocessor Invocation Errors

If the ALLBASE/SQL message catalog is not available or if the source file named cannot be found, preprocessing terminates with the following messages, respectively:

   Message catalog not available - see System Administrator  (DBERR 100008)



   File open Error.  (DBERR 10907)

In addition, the invocation line may name a DBEnvironment that does not exist or contain erroneous syntax:



   ******  Cannot connect to DBEnvironment.  (DBERR 10953)



   ERRORS  Processing terminated prematurely.  (DBERR 10923)

Source File Errors

When the Pascal preprocessor encounters errors when parsing the source file, messages are placed in sqlmsg. Refer to the discussion earlier in this chapter under "ALLBASE/SQL Message File" for additional information on this category of errors.

DBEnvironment Errors

Some errors can be caused because of any of the following:

  • A DBEnvironment is not started yet.

  • Resources are insufficient.

  • A deadlock has occurred.

Refer to the ALLBASE/SQL Database Administration Guide for information on handling DBEnvironment errors.

Feedback to webmaster