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
GLOBAL 3. If you want to use an os library during the execution of a language
processor, you can issue a GLOBAL command to access the library, as
long as you have defined the library via the FILEDEF command. If
you want to use that library for more than one job, however, you
should use the PERM option on the FILEDEF command, since the language processors clear nonpermanent file 4. You can find out what libraries have been specified by issuing the QUERY command with the MACLIB, TXTLIB, DOSLIB, or LIBRARY operands.
(The LIBRARY operand requests a display of all libraries.)
5. For information on creating and/or manipulating CMS libraries, see
the discussion of the MACLIB, TXTLIB, and DOSLIB commands.
None. DMSGLB002W FILE 'fn ft' NOT FOUND RC=28 DMSGLB014E INVALID FUNCTION 'function' RC=24 DMSGLB047E NO FUNCTION SPECIFIED RC=24 DMSGLB108S MORE THAN 8 LIBRARIES SPECIFIED RC=88 Section 2. CMS Commands 105
Previous Page Next Page