Control-M runs a job script under the environment specified for the job owner (the name specified in the Run As parameter). The environment affects these factors in the execution of the script:
su- <owner> -c <script name>
During the log in process, the user environment is set according to the shell type specified in /etc/passwd.
NOTE: The .login file is not executed as part of the start up process.
When writing scripts that access files, specify the file name in the script with a full path or with a path relative to the home directory of the job owner.
Parent Topic |