VMS Help  —  MESSAGE  /OBJECT
    Controls whether an object module is created by the message
    compiler and, optionally, provides a file specification for the
    object module.

    Format

      /OBJECT[=file-spec]

      /NOOBJECT

 file-spec

    Specifies a file specification for the object module. The default
    device and directory are the current device and directory. No
    wildcard characters are allowed in the file specification.

1  –  Examples

    1.$ MESSAGE COBOLMSG

      This MESSAGE command creates the message object module
      COBOLMSG.OBJ by compiling the message source file COBOLMSG.MSG.
      The default qualifier /OBJECT is implied.

    2.$ MESSAGE/FILE_NAME=COBOLMF /OBJECT=MESPNTR COBOLMSG

      This MESSAGE command creates the object module MESPNTR.OBJ,
      which contains a pointer to the nonexecutable message file
      COBOLMF.EXE.
Close Help