Compiling from DCL

If you wish to focus on program development from the GT.M environment rather than from VMS, skip over this section and continue with the section "Qualifiers for the MUMPS Command".

In DCL, invoke the compiler by entering MUMPS file-spec at the DCL prompt.

Example:

        $ MUMPS PAYROLL
        $ MUMPS TAXES
        

This uses the MUMPS command to invoke the GT.M compiler from the DCL prompt.

Use the MUMPS command at the DCL prompt to:

The MUMPS command invokes the compiler to translate an M source file into object code. Various qualifiers to this command control the output of the compiler. Most of these qualifiers affect the type of listing produced by the compiler.

The format for the MUMPS command is:

          UMPS [/qualifier[...]] file-spec
        

The * wildcard accepts any legal combination of numbers and characters including a null, in the position the wildcard holds.

The % wildcard accepts exactly one legal character in its position.

For example, MUMPS * compiles all files in the current default directory with a .M extension. MUMPS *pay% compiles any .M files with names that contain any characters followed by "pay," followed by one character.

[Caution]

When forming routine names, the compiler truncates default filenames to eight characters. For example, the compiler considers the routine name for a source file INTEGRATEBYPARTS.M to be INTEGRAT.M. Avoid relying on default names in situations where several modules have names where the first eight characters are identical.