Creating and Executing CMS LOADLIBs
If the program
to be executed resides on a CMS disk, use the LKED command. The LKED
command creates a CMS LOADLIB from a CMS TEXT file. For example:
LKED TESTFILE
takes
the CMS TEXT file, TESTFILE TEXT, and creates the CMS LOADLIB, TESTFILE
LOADLIB. The CMS LOADLIB created by the LKED command is an OS simulated
partitioned data set (PDS) named TESTFILE LOADLIB and contains one
member named TESTFILE.For more information on input to the LKED command refer to The LKED Command.
Before executing TESTFILE, use the GLOBAL command to identify the
LOADLIB to be searched:
GLOBAL LOADLIB TESTFILE
Then the
OSRUN command loads, relocates, and executes the TESTFILE member of
TESTFILE LOADLIB:
OSRUN TESTFILE