Command Line in Crontab

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
btmorris3
Participant
Posts: 4
Joined: Fri Jul 30, 2004 7:47 am

Command Line in Crontab

Post by btmorris3 »

I have a DataStage server set up on an AIX machine, and when I schedule a job, I typically get something such as the following in the crontab:

/u009/etl/Ascential/DataStage/Projects/Eclipse/dsr_sched.sh /u009/etl/Ascential/DataStage/Projects/Eclipse /u009/etl/Ascential/DataStage/DSEngine ImportRejects 0/0/1/0/0 1 >/dev/null 2>&1 #DSjobDS DSJ.Eclipse.55.1

Now my UNIX admin wants an explanation of each of these parameters and he's particularly interested in the re-directs. I looked in the dsr_sched.sh file and followed some of the logic there but it didn't shed much light. Can anybody explain this command line to me?

Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I'm sorry, but if your UNIX admin doesn't understand what those two redirects are doing - you may need a new admin. :?

Suggest you take a peek at the dsr_sched.sh script it mentions, that should shed some light on what's going on.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

u009/etl/Ascential/DataStage/Projects/Eclipse/dsr_sched.sh
/u009/etl/Ascential/DataStage/Projects/Eclipse project name
/u009/etl/Ascential/DataStage/DSEngine location of $DSHOME
ImportRejects job name
0/0/1/0/0 control values for wave, logging
1 run mode (1 = normal, 2 = validate, 3 = reset)
>/dev/null discard stdout
2>&1 discard stderr too
#DSjobDS
DSJ.Eclipse.55.1 record in RT_CONFIGnn containing parameter values
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

... or you could just wait for Ray to tell you. :roll: :lol:
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If your UNIX admin doesn't understand what those two redirects are doing - you may need a new admin or to demand to see your admin's certification!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply