Search found 198 matches
- Thu Jan 03, 2008 12:46 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: question on returned status code
- Replies: 4
- Views: 1124
- Thu Jan 03, 2008 10:33 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: question on returned status code
- Replies: 4
- Views: 1124
- Thu Jan 03, 2008 9:44 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: question on returned status code
- Replies: 4
- Views: 1124
question on returned status code
I am using the following code in a script. Browsing throught he site I found one of this code JOB_STATUS=`dsjob -jobinfo $PROJECT $DSJOB | head -1 | cut -d"(" -f2 | cut -d")" -f1` I have a question on this, what are status returned code 3, 96? What is the status code for Aborted/...
- Wed Jan 02, 2008 3:08 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dsjob (status code)
- Replies: 21
- Views: 13041
Code: Select all
eval dsjob -lognewest $Project $JobName | awk -F"\=" '{print $2}' | read EventId
if [ $? -ne 0 ]
then
echo "Error."
exit 2
fi
.....Next command.......
- Wed Jan 02, 2008 3:06 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dsjob (status code)
- Replies: 21
- Views: 13041
Code: Select all
eval dsjob -lognewest $Project $JobName | awk -F"\=" '{print $2}' | read EventId
if [ $? -ne 0 ]
then
echo "Error."
exit 2
fi
.....Next command.......
- Wed Jan 02, 2008 2:26 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dsjob (status code)
- Replies: 21
- Views: 13041
- Wed Jan 02, 2008 1:45 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dsjob (status code)
- Replies: 21
- Views: 13041
In dsjob -jobinfo $PROJECT $JOB command returning 0 - the job is still running 1 - Finished 2 - Finished (see log) etc... How is the above code different than the below i.e. don't we have list of anything as that sort for the below commands dsjob -logdetail $PROJECT $JOB dsjob -lognewest $PROJECT $J...
- Wed Jan 02, 2008 1:32 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dsjob (status code)
- Replies: 21
- Views: 13041
- Wed Jan 02, 2008 1:24 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dsjob (status code)
- Replies: 21
- Views: 13041
- Wed Jan 02, 2008 1:22 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dsjob (status code)
- Replies: 21
- Views: 13041
- Wed Jan 02, 2008 12:57 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dsjob (status code)
- Replies: 21
- Views: 13041
- Wed Jan 02, 2008 12:44 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dsjob (status code)
- Replies: 21
- Views: 13041
- Wed Jan 02, 2008 9:39 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dsjob (status code)
- Replies: 21
- Views: 13041
dsjob (status code)
I have a code as below to obtain the latest event. On the terminal I obtain Status Code = 0 and appropriate value gets assigned to variable $id id=`dsjob -lognewest $Project $Job | cut -d"=" -f2` Q1) What do I do if I don't want that Status Code = 0 to be displayed at the terminal. I tried...
- Fri Dec 28, 2007 8:11 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: log summary past a date
- Replies: 15
- Views: 4751
Thanks to all for their feedbacks. Using the feed backs from everyone. I wanted to do it this. I want to obtain summarized logs since the last run (I don't want to have a seperate file to maintain the id, would like to implement everything in this script or calling a datastage job to send the recent...
- Mon Dec 24, 2007 10:05 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: log summary past a date
- Replies: 15
- Views: 4751