Issuing the executable from a shell
Before a program can be run in a shell, it must be given the appropriate mode authority for a user or group of users. You can update the mode authority for an executable by using the chmod command. Note that when c89 creates an executable, the file is given execute permission for all users.
After you have updated the mode authority, enter the program name from the shell command line.
For example,
- If you want to run the program
data_crunchfrom your working directory, - You have the directory where the program resides defined in your search path, and
- You are authorized to run the program,
data_crunchWhen running such programs, you can specify invocation runtime options only by setting the
environment variable _CEE_RUNOPTS before invoking the program. For example, under a z/OS® UNIX shell you can use the
export
command. For example: export _CEE_RUNOPTS="rpto(on)…" To further update the
runtime options, you can issue another export.