.NLIST TOC,SYM .TITLE $INSER .SBTTL ULBLIB 033 - Install System Error Messages .IDENT \V01.03\ .PSECT .LIBD. .ENABL LC,GBL ; Copyright (c) 1998 by Mentec, Inc., Nashua, NH. ; All rights reserved ; ; This software is furnished under a license for use only on a ; single computer system and may be copied only with the ; inclusion of the above copyright notice. This software, or ; any other copies thereof, may not be provided or otherwise ; made available to any other person except for use on such ; system and to one who agrees to these license terms. Title ; to and ownership of the software shall at all times remain ; in Mentec, Inc. ; ; The information in this document is subject to change without ; notice and should not be construed as a commitment by Digital ; Equipment Corporation, or Mentec, Inc. ; ; Digital and Mentec assume no responsibility for the use or ; reliability of its software on equipment which is not supplied ; by Digital or Mentec, and listed in the Software Product ; Description. ; CG01 04-Mar-79 Add protected file message (.ENTER) ; CG02 04-Aug-79 Add protected file message (.CLOSE) ; ; V01.03 29-Aug-91 MBG Added definition for invalid directory message ; ;+ ; $INSER ; This routine installs the "system error messages" if the user has not ; all of the symbolics that he or the library has accessed. It is magic! ; ; CALL $INSER ; ; This call is actually unneccessary. Just leave all the error symbolics ; undefined, and it will appear and be called ;- .MACRO ERRMSG NAME,TEXT DS FE.'NAME,BYTE,-1 .PSECT .LIBD. EM.'NAME: .ASCII \TEXT\<200> .PSECT .LIBP. .WORD EM.'NAME .ENDM ERRMSG .MACRO MSGLST NAME .DSECT GLOBAL=YES .PSECT .LIBP. NAME: .WORD -MAX.FE .ENDM MSGLST .MACRO MSGEND DS MAX.FE .ENDM MSGEND MSGLST SYSERR ERRMSG UNK ;MUST be first ERRMSG CIU ERRMSG CNO ERRMSG DVF ERRMSG DFL ERRMSG DIO ERRMSG FER ERRMSG FCP ;CG02 ERRMSG FNF ERRMSG ILD ERRMSG INE ERRMSG IVD ERRMSG NOM ERRMSG OPE ERRMSG OFF ERRMSG OFP ;CG01 ERRMSG RTL ERRMSG SYS ERRMSG EOF MSGEND .PSECT .LIBO.,I,OVR $INSER:: MOV #SYSERR,SY$ERR RETURN .END