os
ALL
indicates that the program may contain OS macros
and, therefore, should be executed only when
OS
Simulation is available.
indicates that the program:
Contains
CMS macros and must be capable
of
running regardless of whether OS Simulation is
avallable
or
not
• Contains no OS macros
Usage Notes:
1.
The GENMOD command
is
usually invoked following
the LOAD
command, and possibly the
INCLUDE
command.
For
example, the sequence:
load myprog
genmod
testprog
loads the file MYPROG
TEXT
into virtual storage and
creates a nonrelocatable load module named
TESTPROG MODULE. TESTPROG may now be
invoked as a user-written command from the
CMS
environment.
2.
Before the file
is
written, undefined symbols are set
to
location zero and the common reference control section
is
initialized. The undefined symbols are not retained as
unresolved symbols in the MODULE file. Therefore,
once the
MODULE
file is generated, those references
cannot be resolved and may cause unpredictable results
during execution.
3.
If
you load a program into the transient area you should
issue the GENMOD command with the
STR option. Be
careful if the program uses
OS GETMAIN
or
FREEMAIN
macros because your program, plus the
amount
of
storage obtained via GETMAIN, cannot
Chapter 7.
VM/PC
Commands 7
-87