Previous Topic: How to Customize the Job's Runtime EnvironmentNext Topic: Customize the Runtime Environment for a Bourne Shell Script


Customize the Runtime Environment for a Korn Shell Script

If your job runs a Korn shell script, you can customize the runtime environment by specifying a specific environment for the script.

To customize the runtime environment for a Korn shell script, specify the following statements in the job definition:

ENVAR HOME=/directory_name
ENVAR ENV=/directory_name/myenv

Before running the Korn script, the agent runs the /directory_name/.profile file and the /directory_name/myenv file.