Use this procedure to write an error message into Documaker Server’s error file (ERRFILE.DAT). In addition, it increments the Documaker Server error count as necessary.
Parameter |
Description |
Message |
(Optional) Enter the message you want the system to display. The message can consist of static text, DAL functions, and procedures. The default is a blank string. |
Here is an example:
RPErrorMsg ( )
This example would cause the following to be written into your ERRFILE.DAT file:
Error : In DAL Script <.\deflib\iso_create.dal> at line <23>: (Text omitted)
Here is another example:
RPErrorMsg ("Failed to Open the INFO table in iso_create.")
This example would cause the following to be written into your ERRFILE.DAT file:
Error : In DAL Script <.\deflib\iso_create.dal> at line <18>: Failed to Open the INFO table in iso_create.
Here is another example:
RPErrorMsg (Time() & " " & Date() & " variable = " & table_name)
This example would cause the following to be written into your ERRFILE.DAT file:
Error : In DAL Script <.\deflib\iso_create.dal> at line <26>: 11:51:02 08/06/2003 variable = INFO
© Copyright 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices