From: Ryan Moore [rmoore@rmoore.dyndns.org] Sent: Wednesday, March 19, 2003 3:25 AM To: Info-VAX@Mvb.Saic.Com Subject: Re: Error messages with MESSAGE/sys$putmsg On Wed, 19 Mar 2003, Steve Young wrote: > I'm trying to make use of sys$putmsg from within a .c program of mine. > I have no problem compiling my .MSG file with MESSAGE to an .obj file, > however I have no idea how I can determine what numerical code was assigned > to my error message during compilation for use. This is a good question. I've done this before, so I went back and looked at the code I did. I don't know where I got this information, but here is how it's done in C. Here's an example message file for a DTSS time provider program I created: ======================================================== .TITLE DTSTPCP_MSG .IDENT /V1.00/ .FACILITY DTSTP, 15/PREFIX=DTSTP_ .SEVERITY INFORMATIONAL TPSTART TPSHUTREQ TPDUMPREQ TPRELOADREQ TPZEROREQ TPCLOSEREQ .SEVERITY WARNING .SEVERITY ERROR TPRUNNING