Running an MVS executable program from a z/OS UNIX shell
If your z/OS UNIX C/C++ application
resides in MVS™ data sets and
you need to run the application executable program from within a shell,
you can pass a call to the module to TSO/E. In many cases you can
also use the tso utility. If you entered the shell
from TSO/E using the OMVS command, you can use the TSO function key
to pass the command to TSO/E. For example, if your executable program
is myprog in data set my.loadlib,
type the following (from the shell) to pass the command to TSO/E:
tso "call 'my.loadlib(myprog)'"
When the program completes, the shell session is restored. You can also run an MVS program from a shell by associating it with a z/OS UNIX file by using the sticky bit or external link. See z/OS UNIX System Services Command Reference for more information on the chmod and the ln commands.