Compiles VMS / OpenVMS Message File_name into an indexed memory file on Linux and Windows. VX/MSG also generated 3GL message constants for C, C++, BASIC, Fortran, COBOL, PASCAL.
The VMS / OpenVMS SYS$ API's functionality identically as VMS / OpenVMS SYS$GETMSG, SYS$FAO, SYS$FAOL
.
msg -f < messages.msg > constants.f
VX/MSG VX/MSG - VMS Message Compiler for Linux (v8.5.2)
Copyright (C) 1987-2016 Sector7 USA Llc.
All Rights Reserved
Language Selected: Fortran
msg -c < messages.msg > constants.c
VX/MSG - VMS Message Compiler for Linux (v8.5.2)
Copyright (C) 1987-2016 Sector7 USA Llc.
All Rights Reserved
Language Selected: C/C++
msg -h < messages.msg > constants.h
VX/MSG - VMS Message Compiler for Linux (v8.5.2)
Copyright (C) 1987-2011 Sector7 USA Inc.
All Rights Reserved6Language Selected: C/C++ Headers
The messages can be viewed quickly using VX/DCL, though the records contain some binary data, using:
$ type/page sys$message:messages.sysWhere messages.sys is an indexed file with data (.dat) and indices (.idx) in separate files.
Depending on your config options you may see this as either upper or lower case, and one or two files.
The actual files are shown below with the default symbolic links to support either case mapping.
(Slight editing of Linux Output for Display Purposes)
For example, this command in our makefiles populates the standard messages file distributed with VX/RT
$(VXREL)/message/MESSAGES.SYS.dat: $(BINDIR)/msg @$(BINDIR)/msg < messages.msg