GENMOD 4. If you load a program into the transient area you should issue the GENMOD command with the NOSTR option. Be careful if the program
uses as GETMAIN or FREEMAIN macros because your program, plus the
amount of storage obtained via GETMAIN, cannot exceed two pages
(8192 bytes). It is recommended that you do not use GETMAIN macros
in programs that execute in the transient area.
S. A transient module (loaded with the ORIGIN TRANS option) that was
generated with the SYSTEM option is written on disk as a record with a maximum length of 8192 bytes.
6. If you are using FORTRAN under CMS, use FROM MAIN as an option to
avoid undesirable results.
7. If FROM is not specified in the GENMOD command, the load point of
the module generated (the beginning virtual storage location) is
the address of fn, if fn is an external name occurring in the loaded text; otherwise, it is the first CSECT in the load map. The
entry point for execution is determined according to the hierarchy
outlined in Usage Note 4 of the LOAD command and is not necessarily
the same as the load point. If your loaded text had external
references or library statements ahead of the first CSECT, your GENMOD command must name the load point explicitly as fn or as the FROM entry operand to load your program properly. 8. If you are using PLII under CMS, use FROM PLISTART as an option to
avoid undesirable results.
None. DMSMOD003E INVALID OPTION 'option' RC=24 DMSMJDOOSE NO {FROMITO} ENTRY SPECIFIED RC=24 DMSMOD021E ENTRY POINT 'name' NOT FOUND RC=40 DMSMOD032E INVALID FILETYPE 'ft' RC=24 DMSMOD031E DISK 'mode' IS READ/ONLY RC=36 DMSMOD040E NO FILES LOADED RC=40 DMSMOD010E INVALID PARAMETER 'parameter' RC=24 INVALID USE OF !FROM! AND !TO! OPTIONS RC=24 DMSMOD10SS ERROR Inn' WRITING FILE 'fn ft fm' ON DISK RC=100 DMSSTT048E INVALID MODE 'mode' RC=24 DMSSTT069E DISK 'mode' NOT ACCESSED RC=36
Section 2. CMS Commands 103
GLOBAL GLOBAL Use the GLOBAL command to identify which CMS or CMS/DOS libraries are to
be searched for macros, copy files, subroutines, or DOS executable
phases when processing subsequent CMS commands. The format of the GLOBAL command is: r -----, , GLobal , { M ACLIB } (libname 1 ••• Ii bnam e8] 'IXTLIB , , , , DOSLIB L -.I MACLIB precedes the specification of macro libraries that are to be
searched for macros and copy files during the execution of
language processor commands. The macro libraries may be CMS files or OS data sets. If you specify an OS data set, a
FILEDEF command must be issued for the data set before you
issue the GLOBAL command. TXTLIB precedes the specification of text libraries to be searched
for missing subroutines when the LOAD or INCLUDE command is
issued, or when a dynamic load occurs (that is, when an OS SVC 8 is issued).
Note: Subroutines that are called by dynamic load should (1) contain only VCONs that are resolved within the same text
library member or (2) be resident in storage throughout the
processing of the original CMS LOAD or INCLUDE command.
Otherwise, the entry point is unpredictable. DO SL IB precedes the specification of DOS simulated core image
libraries (that is, CMS/DOS phase libraries) to be searched
for missing phases. This operand does not apply to system
or private core image libraries residing on DOS/VS disks. DOSLIB can be specified regardless of whether the CMS/DOS environment is active or not.
libnamelooo are the filenames of up to eight libraries. Filetypes must
be MACLIB, TXTLIB, and DOSLIB, The libraries
are searched in the order in which they are named. If no
library are specified, the command cancels the effect
of any previous GLOBAL command.
1. A GLOBAL command remains in effect for an entire session unless
it is explicitly canceled or reissued. If a program failure forces yocr to IPL CMS again, you must reissue the GLOBAL command.
2 There are no default libraries;
libraries during every terminal
command(s} in your PROFILE EXEC. if you wish to
session, place i04 VMi370 eMS Command and Macro Reference
use the same
the GLOBAL
Previous Page Next Page