Editing from DCL

If you wish to focus on program development from the GT.M environment rather than from the VMS, skip over this section and continue with the section "Compiling a Source Program".

To create and edit a source program from DCL, invoke any VMS editor at the DCL prompt, specifying an RMS file for the source. The GT.M environment works best when you give a file the name of the M routine that it contains, and a type of .M.

The Guide to VMS Text Processing describes in more detail how to use VMS editors. The default editor for VMS is EDT. For a complete description of all the EDT commands, refer to the VMS EDT Reference Manual.

Example

          $ EDIT PAYROLL.M
        

The EDIT command initiates an editing session for PAYROLL.M from the DCL prompt. If PAYROLL.M does not already exist, EDT creates it.

Example:

          $ EDIT/TPU PAYROLL.M
        

This EDIT/TPU command initiates an editing session for PAYROLL.M. Your installation may have more than one TPU based editor. The logical name TPU$SECTION specifies the default TPU editor. Again, if PAYROLL.M does not already exist, TPU creates it.

Because these examples use VMS rather than GT.M tools, in both cases we must specify the .M file extension.