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
Do you get the same error when you use the dsjob command from the UNIX command line to start your job?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 67
- Joined: Thu Apr 06, 2006 7:13 am
Know that from your post. Was wondering who's it was - HP-UX, AIX, etc. And the other question was to ascertain if you were into 'cron' or 'at' land. It will use cron for recurring schedules like 'every Monday' while 'at' is used for one-time runs - tomorrow at 8am, for instance.bhaskarjha wrote:Operating System is UNIX, I am scheduling my job (for daily run of job) from director.
-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.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: