Help req for setting proper ENV variable
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 67
- Joined: Thu Apr 06, 2006 7:13 am
Help req for setting proper ENV variable
Hi,
My Server job runs fine when I run it from director. But once I schedule the job to run in future. It got aborted with message "Failed to allocate environment handle 'ENV'". Can anyone please suggest solution.
Thanks,
My Server job runs fine when I run it from director. But once I schedule the job to run in future. It got aborted with message "Failed to allocate environment handle 'ENV'". Can anyone please suggest solution.
Thanks,
Bhaskar Jha
-
- Participant
- Posts: 67
- Joined: Thu Apr 06, 2006 7:13 am
-
- Participant
- Posts: 67
- Joined: Thu Apr 06, 2006 7:13 am
Know that from your post.bhaskarjha wrote:Operating System is UNIX, I am scheduling my job (for daily run of job) from director.
![Wink :wink:](./images/smilies/icon_wink.gif)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 67
- Joined: Thu Apr 06, 2006 7:13 am
When you schedule a job from the director in a default UNIX environment it will use "cron"; DataStage does not have it's own scheduler.
Once you've scheduled the job, look at your crontab to see what the actual command is that is being issued. Also remember that this process needs to have the dsenv set and find the dsjob command in it's command path.
Once you've scheduled the job, look at your crontab to see what the actual command is that is being issued. Also remember that this process needs to have the dsenv set and find the dsjob command in it's command path.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: