how to schedule job or sequence in unix

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
ds_dwh
Participant
Posts: 39
Joined: Fri May 14, 2010 6:06 am

how to schedule job or sequence in unix

Post by ds_dwh »

how to schedule job or sequence in unix

here any specific comand is used or shell scipt is used to execute the job

any one share the comand or unix shell script information

atleast syntax information fine


Thank's
ANJI
g_rkrish
Participant
Posts: 264
Joined: Wed Feb 08, 2006 12:06 am

Re: how to schedule job or sequence in unix

Post by g_rkrish »

ds_dwh wrote:how to schedule job or sequence in unix

here any specific comand is used or shell scipt is used to execute the job

any one share the comand or unix shell script information

atleast syntax information fine


Thank's
Use cron in unix.
RK
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The command you would need to use from cron is dsjob, the options are detailed in the documentation.
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

what you need to use id a shell script which executes dsenv followed by dsjob to run the job. Then you need to use crontab to schedule it.

Or use the same syntax as datastage. Use director to schedule a job and then you will find an entry with syntax in crontab. Use the same syntax to call the jobs from crontab.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Ragupathy
Participant
Posts: 9
Joined: Thu Feb 11, 2010 11:14 pm

Re: how to schedule job or sequence in unix

Post by Ragupathy »

Hi

First write a syntax to run a job or sequence

and the schecdule using cron tab

Thanks
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

priyadarshikunal wrote: Or use the same syntax as datastage. Use director to schedule a job and then you will find an entry with syntax in crontab. Use the same syntax to call the jobs from crontab.
I would do this.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply