FETCH
FETCHUse the FE!CH command in CMS/DOS to load an executable phase into
storage for execution. The format of the FETCH command is:
r
1 FETch, phasename ((options ••• () ]] [ START] I , [COMP] I [ORIGIN hexloc] L- phasename is the name of the phase to be loaded into virtual storage. CMS searches for the phase: • In a DOS/VS private core image library, if IJSYSCL has been
defined• In eMS DOSLIBs that have been identified with the GLOBAL command • In the DOS/VS system core image library, if you specified
the mode letter of theDOS/VS system residence on the SET DOS ON command line START specifies that once the phase is loaded into storage,
execution should begin immediately.
CaMP specifies that
should contain
Note 5.)
when the phase is to be executed,
the address of its entry point.
register 1(See Usage ORIGIN hexloc
fetches the program and loads it at the location specified by
hexloc; this location must be in theCMS user area. The
location, hexloc, is a hexadecimal number of up to eight
characters.(See Usage Note 6.)
1. If you do not use theSTART option, FETCH displays a message at your terminal indicating the name of the phase and the storage
location of its entry point. At this time, you can set address
instructionstops for testing. To continue, issue the START command to initiate execution of the phase just loaded.
2• The fetch routine is also invoked by supervisor
instructions1, 2, 4, or 65. The search order for
phases is the same as listed above.
call(SVC) executable
3. If you want to fetch a phase from a private core image library, you
must issue anASSGN command for the logical unit SYSCLB and define
the library in a DLBL command using the ddnameIJSSYCL. For
example:
assgn sysclb c
dlbl ijsyscl c dsn core image lib (sysclb permSection 2. CMS Commands 87
FETCH
storage for execution. The format of the FETCH command is:
r
1 FETch
defined
the mode letter of the
execution should begin immediately.
CaMP specifies that
should contain
Note 5.)
when the phase is to be executed,
the address of its entry point.
register 1
fetches the program and loads it at the location specified by
hexloc; this location must be in the
location, hexloc, is a hexadecimal number of up to eight
characters.
1. If you do not use the
location of its entry point. At this time, you can set address
instruction
2
instructions
phases is the same as listed above.
call
3. If you want to fetch a phase from a private core image library, you
must issue an
the library in a DLBL command using the ddname
example:
assgn sysclb c
dlbl ijsyscl c dsn core image lib (sysclb perm