Ok then I guess you should do everything in Shell script itself.
first check the filename if it exists continue else send email.
Search found 69 matches
- Wed Mar 14, 2007 12:32 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: File Exists in Directory
- Replies: 18
- Views: 5728
- Wed Mar 14, 2007 12:22 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: File Exists in Directory
- Replies: 18
- Views: 5728
- Wed Mar 14, 2007 12:19 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: File Exists in Directory
- Replies: 18
- Views: 5728
- Wed Mar 14, 2007 9:54 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Is OracleClient(9i) required to access ora9i stage in DS?
- Replies: 1
- Views: 1366
Your can find your answer from this thread -
viewtopic.php?t=108355
As Craig suggested, yes you can do if you have Ora9i client on DS server.
viewtopic.php?t=108355
As Craig suggested, yes you can do if you have Ora9i client on DS server.
- Tue Mar 13, 2007 9:41 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: USING XML_INPUT STAGE
- Replies: 2
- Views: 1462
- Mon Mar 12, 2007 11:44 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: custom SQL in ODBC satge
- Replies: 9
- Views: 3355
Why you want to do custom SQL ?
Use generated SQL and use a constraint in TX..
Use this as constraint in output link.
Use generated SQL and use a constraint in TX..
Code: Select all
sv1=right(in.week_code,2)
sv2= if sv1>38 and sv1<53 then 1 else 0
- Mon Mar 12, 2007 10:02 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Constraint to abort job
- Replies: 19
- Views: 6222
Thats why we gave you that soln.The condition is col1 = col2
ie: if col1 <> col2 then ABORT JOB
make a stage variable
Code: Select all
sv=if @INROWNUM<>@OUTROWNUM then UtilitytoAbort("Message") else 1
- Fri Mar 09, 2007 2:12 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Constraint to abort job
- Replies: 19
- Views: 6222
- Fri Mar 09, 2007 1:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Constraint to abort job
- Replies: 19
- Views: 6222
I guess I am not hacking the topic
So Craig something like this in Shell script ?
Which utility or function of DS has to be called in ABORT in above code?
![Smile :)](./images/smilies/icon_smile.gif)
So Craig something like this in Shell script ?
Code: Select all
count= wc -l bad.file
if ($count>0)
then
ABORT
else
continue
fi
- Fri Mar 09, 2007 1:20 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Constraint to abort job
- Replies: 19
- Views: 6222
- Fri Mar 09, 2007 12:29 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Constraint to abort job
- Replies: 19
- Views: 6222
- Fri Mar 09, 2007 11:47 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: header and tailer sequential file
- Replies: 7
- Views: 1901
use:
Code: Select all
sed '1,3 d' f | sed -e :a -e '$d;N;2,4ba' -e 'P;D'
- Thu Mar 08, 2007 4:59 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Get DENSE RANK in a grouped data
- Replies: 26
- Views: 10522
- Thu Mar 08, 2007 1:05 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Get DENSE RANK in a grouped data
- Replies: 26
- Views: 10522
Use a stage variable to remember the concatenated string State:City:Zip of the previous row and compare it with the current row's concatenated value. You will use the RowProcCompareWithPreviousValue function available in the SDK to achieve this. In that case also concate SALES_NUMBER and compare wi...
- Thu Mar 08, 2007 12:18 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Get DENSE RANK in a grouped data
- Replies: 26
- Views: 10522