How do we do the automation of dsjobs?

Showing Answers 1 - 3 of 3 Answers

Mujeebur

  • Aug 15th, 2005
 

"dsjobs" can be automated by using Shell scripts in UNIX system.

  Was this answer useful?  Yes

Pavan

  • Aug 29th, 2005
 

We can call Datastage Batch Job from Command prompt using 'dsjob'. We can also pass all the parameters from command prompt. 
Then call this shell script in any of the market available schedulers. 
The 2nd option is schedule these jobs using Data Stage director.

  Was this answer useful?  Yes

mcrao1

  • Jun 4th, 2012
 

DataStage Job run from Unix Command Line I am running DataStage Job from Unix Command Line with job level parameters the job is getting abort , can someone correct if there is any syntax problem in the below dsjob command. dsjob -run -param "TargetFileDirectory=/datahub/dev/wc/target" -param "SCRIPTS_DIR=/datahub/dev/wc/scripts" -param "Filename=GYLD090504" DEV_WC jbWCPatternIdentifyReplace_bkupON_12May2009 I am able to execute successfully the same job by hardcoding the param values in job and running using below command. dsjob -run DEV_WC jbWCPatternIdentifyReplace_bkupON_12May2009 --------------------------------------------------------------------- By Keeping the space infront of also did not worked but with the below syntax it worked... dsjob -run -param "TargetFileDirectory=/datahub/dev/wc/target" -param "SCRIPTS_DIR=/datahub/dev/wc/scripts" -param "Filename=GYLD090504" -jobstatus DEV_WC jbWCPatternIdentifyReplace_bkupON_12May2009

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions