Chapter Contents

Previous

Next
Preprocessing, Compiling, and Linking

Diagnostics

The translator produces diagnostic messages with four levels of severity. Diagnostic messages usually change the return code set by LCCCP0. The levels of severity are explained here:

Note
provides information about expected behavior. The return code is not changed.

Warning
provides information about conditions that will not prevent translation from completing successfully. The return code is set to 4.

Error
provides information about conditions that will prevent translation from continuing. If an error occurs before translation begins (such as a file I/O error), LCCCP will terminate immediately. If an error occurs after translation has begun, LCCCP will stop translating but will check all the remaining commands in the input file for correct syntax. The return code is set to 8.

Severe Error
provides information about conditions that will cause immediate termination. The return code is set to 12.

A complete listing and explanation of translator diagnostic messages can be found in SAS/C Software Diagnostic Messages.


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.