Issuing the executable from a shell

Before an z/OS UNIX 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. See z/OS UNIX System Services Command Reference for the format and description of chmod. 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_crunch from your working directory,
  • You have the directory where the program resides defined in your search path, and
  • You are authorized to run the program,
enter:
data_crunch
When 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.