Workbook for SLD Offline Users - Compile using the Old Command, PREPMORT

New users are advised to Compile using the EXPEDITE Command. But it is also possible to use the older command, PREPMORT, to do the same work.

The following example can be substituted into the Compile section of the Workbook page, Compile, Link and Run to do the work using the PREPMORT command.

You can do the following work from any directory, but the job will be easier to understand if you start with a directory that is empty.

SET DEFAULT to that directory.

Copy the example Prepmort program to that directory.

   > COPY SLACVX::DISK$SLD_FAC0:[SLDWWW.WORKBOOK]WBPREP1.PREPMORT *

Take a look at the file so that you understand what it is supposed to do.

Compile it with the PREPMORT command.

   > PREPMORT WBPREP1

If the compilation is successful, no messages will be issued.

If you then do a DIR, you should have three files in your directory:

   WBPREP1.MORTFORT;1  WBPREP1.OBJ;1       WBPREP1.PREPMORT;1

   Total of 3 files.
The PREPMORT command created two output files, a MORTFORT file and an OBJ file.

The PREPMORT command can also be written as PM. Both commands actually invoke the same code.


Back to Compile, Link and Run

Joseph Perl
13 September 1995