shell script

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
studyguy2001
Participant
Posts: 19
Joined: Tue Feb 01, 2005 11:46 pm

shell script

Post by studyguy2001 »

hello.,

i am wokring on parallel extender 7.1.
i have to work on unix to do the job
scheduling. but i am not too good in unix
shell scripting as i was used to do only
in datastage.
1) can anyone please help me with a sample
shell script for job scheduling and running
in datastage
2) it would be very much helpful if you can give
me a sample shell script for finding the error
log after we schedule and run the job.

thanking you.
mouthou
Participant
Posts: 208
Joined: Sun Jul 04, 2004 11:57 pm

Post by mouthou »

For scheduling in unix, you can use crontab facility. Just say at the prompt, man crontab and go thro it. While setting up the crontab entries, you can give the shell script which invokes the datastage job.

Best of luck!
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Do a search this has been covered a lot. Ken Bland posted a very detailed shell script to do exactly what you want.
Mamu Kim
studyguy2001
Participant
Posts: 19
Joined: Tue Feb 01, 2005 11:46 pm

hello

Post by studyguy2001 »

kduke wrote:Do a search this has been covered a lot. Ken Bland posted a very detailed shell script to do exactly what you want.
hello,
thank you for your reply. when did ken bland posted the shell script or can you please tell me what is the subject under which he posted the shell script so that i will help me in narrow down my search limits.

i am thankful to you.,
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Search for dsjob in this forum only and narrow your search by Author kcbland - that should help. Some. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply