Search found 102 matches
- Mon Aug 18, 2003 12:55 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Running a job cyclically till it fails
- Replies: 11
- Views: 1793
Alok I'm wondering what your job looks like; you're talking about one or more tables where a particular field for all rows has to be 'Y' before you can continue. I assume that you get them all togther using a union statement, or like Ray suggested in your previous topic, a select distinct: select di...
- Fri Aug 15, 2003 11:52 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Creating Error Report Files
- Replies: 9
- Views: 2149
JB, I think using Linkname.REJECTED will do exactly what you require. Beside the records that failed to fulfill the constraint on the output link to your table, it will, as Michael described, collect those records that were rejected by the DBMS itself. You would even be able to record the reason (er...
- Fri Aug 15, 2003 10:25 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Creating Error Report Files
- Replies: 9
- Views: 2149
I noticed (but never tried) the output link variable REJECTED, which, unlike the others, is not preceded by a linkname. Using this as a constraint probably has a similar effect as checking the 'reject row' box, i.e. it will collect those records that were rejected by all other output links (but with...
- Fri Aug 15, 2003 7:46 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Creating Error Report Files
- Replies: 9
- Views: 2149
- Fri Aug 15, 2003 4:56 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sensing for a particular field value in source
- Replies: 13
- Views: 1638
- Fri Aug 15, 2003 1:10 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sensing for a particular field value in source
- Replies: 13
- Views: 1638
- Thu Aug 14, 2003 1:04 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sensing for a particular field value in source
- Replies: 13
- Views: 1638
Alok, I will gladly try, though I'm not an Oracle expert, and I have some experience in scripting on UNIX, not NT. Let's assume we had an informix database, so we would use dbaccess (is this sqlplus for oracle?) as frontend. Within the shellscript, I would have a lines like this: * possibly some env...
- Thu Aug 14, 2003 12:20 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sensing for a particular field value in source
- Replies: 13
- Views: 1638
One possibility: Write a shellscript that does the following query against your database: select count(*) from table where field='N'; Catch the result into a variable in your controlling job. If it's 0, kick off the load else don't (I must concede that this only works, if the value of the field in q...
- Thu Aug 14, 2003 11:07 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: what's a staging area
- Replies: 10
- Views: 4062
- Thu Aug 14, 2003 7:24 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: what's a staging area
- Replies: 10
- Views: 4062
what's a staging area
I stumbled across the term 'staging area' a couple of times, and I have no faint idea what that is. Could somebody please explain what it means? Thanks in advance!
Stephan
Stephan
- Thu Aug 14, 2003 2:24 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job Aborting randomly, runs successfully also
- Replies: 6
- Views: 1853
- Tue Aug 12, 2003 2:50 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Run ds jobs from Unix prompt and pass parameters
- Replies: 3
- Views: 2143
Ken and Raj kindly pointed me to the dsjob command line utility:
http://www.tools4datastage.com/forum/to ... C_ID=84826. Inside a job you can evoke it using ExecSH('UNIX', InputArg, Output).
Stephan
http://www.tools4datastage.com/forum/to ... C_ID=84826. Inside a job you can evoke it using ExecSH('UNIX', InputArg, Output).
Stephan
- Tue Aug 12, 2003 11:17 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Handling the Date datatype
- Replies: 3
- Views: 1730
I was facing the same questions and found that DataStage doesn't have a datatype that contains both the date and time portion of a timestamp. They must be handled separately. The internal representation of a date is an integer as the number of days since '1967-12-31', while a time is the number of s...
- Mon Aug 11, 2003 8:15 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Calculate number of months between 2 dates
- Replies: 4
- Views: 2107
- Mon Aug 11, 2003 1:42 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: common variables
- Replies: 6
- Views: 2019