|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
dsjob command to execute DataStage jobs
Hi Friends,
I am using a dsjob command in a unix script to invoke DataStage jobs. DataStage server jobs (version 7.5.2) The command looks like thisL: $DSBinPath/dsjob -server :$SERVER_PORTID -run -mode NORMAL -jobstatus -param INPUT_GCDB_DIR=$InputFilePath -param INTERIM_DIR=$SequentialFilePath -param SCRIPT_DIR=$ShellScriptPath -param CountryID=$CountryID -warn 0 $ProjectName $JobName.$CountryID Then there is another command to check for job status. JOB_STATUS=`$DSBinPath/dsjob -server :$SERVER_PORTID -jobinfo $ProjectName $JobName.$CountryID | head -1 | cut -d"(" -f2 | cut -d")" -f1` My query is : What does each return code value (0,1,2) for JOB_STATUS signify? Regards, Suresh |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| jobs command in a script. | kanas01 | Shell Programming and Scripting | 3 | 04-22-2011 04:53 PM |
| DataStage log file output via dsjob command | dsnaveen | Shell Programming and Scripting | 3 | 02-22-2011 05:22 AM |
| capture last run log using dsjob | HemaV | Shell Programming and Scripting | 0 | 09-03-2010 06:05 AM |
| jobs command | bigben1220 | UNIX for Dummies Questions & Answers | 6 | 01-07-2010 07:15 AM |
| invoke windows datastage dsjob from unix | anaconga | UNIX for Advanced & Expert Users | 0 | 09-01-2008 02:21 PM |
|
|