
MsgInc
 M for  use  with  the  VAX/VMS  Message  Utility.   To  return or signal
 condition codes created by the Message Utility, your application  must
 declare  the  identifiers  to be external objects.  Normally, all such
 declarations are collected into a single include file to minimize  the
 maintenance problems.
ted into a single include file to minimize  the

aintenance problems.
 M produce  an  include  file  for  use  with  one  or  more  programming
 languages.
 include  file  for  use  with  one  or  more  programming

anguages.
 T which may be found in the CRL_DOCUMENTATION directory.
MSGINC.QMS  --

hich may be found in the CRL_DOCUMENTATION directory.
 T
o use the program, issue the command
  
      $ MsgInc [/qualifiers]  file  
 w2 Parameters
is the name of the Message file to be processed.
 file    Speci         specify  the  name  of the file.  By default, MsgInc will look
         for a  file  with  the  specified  name,  but  with  the  .OBJ
         filetype,  in  your  current default directory.  If you do not
         specify the file on the command line you will be prompted  for
         it.
fy the file on the command line you will be prompted  for
2 Qualifiers
/TARGET
ers

ARGET
  
      /TARGET=(language[,...])
 U include  file generated for.  If you do not use the /TARGET qualifier,
 MsgInc assumes a default language of FORTRAN.  If you want to  produce
 output  for  more  than  one  language,  then  list  the  languages is
 parenthesis, separated by commas.
age,  then  list  the  languages is

arenthesis, separated by commas.
/O
UTPUT
  
      /OUTPUT=filename
 U files  to  have.   By  default the output file name is the same as the
 input file's name.  The  default  output  file  type  depends  on  the
 language  the  file  is being generated for:  ".FDF" for FORTRAN, ".H"
 for C, and ".PDF" for Pascal.
enerated for:  ".FDF" for FORTRAN, ".H"

or C, and ".PDF" for Pascal.
/L
OG
  
      /[NO]LOG
 U terminal.   The  default  is  /NOLOG;  only  error  messages  will  be
 displayed.
The  default  is  /NOLOG;  only  error  messages  will  be
2 Using MsgIn
Using MsgInc
 1
.  Create your message and program source files as normal.
 2
.  Use the Message Utility to compile your .MSG file to .OBJ form.
 3     program is written in.
nclude  files  for  the  language(s)  your

   program is written in.
 4     MsgInc.
our program modules, including  the  files  generated  by

   MsgInc.
 5     executable .EXE file.
d  message  .OBJ  modules  to  produce   an

   executable .EXE file.

 F2 Limitations
formation, please refer to the MsgInc User's Guide.

Limitations
 1
.  A maximum of 500 condition codes per .MSG file can be processed.
 2
.  Supported languages include FORTRAN, Pascal, and C.
