Please ignore this message. For some reason, the days_back parameter was missing in the parameter list. Once included, it worked.
sorry.
Search found 12 matches
- Wed May 07, 2003 8:19 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: passing a parameter to a user defined sql
- Replies: 2
- Views: 1260
- Wed May 07, 2003 7:49 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: passing a parameter to a user defined sql
- Replies: 2
- Views: 1260
passing a parameter to a user defined sql
below is a snippet of user defined sql in the sql tab of output tab from a source table. NCMATERL.ROW_LAST_UPDT_DT>=CURRENT DATE - #days_back# DAYS; days_back is a parameter. If I use "generated sql query", in the selection tab it will work. But, in this case I must use a user defined sql....
- Sun May 04, 2003 11:18 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: using a hash file as a constraint to a DB2 table
- Replies: 6
- Views: 2878
using a hash file as a constraint to a DB2 table
I'm familiar with the constraints, even though I first started using this tool last week. The problem is that my constraint is a field showing the last update that appears only in the first lookup. The rest of the tables lack this field. The only way to use this would be to write sql to link the one...
- Sun May 04, 2003 1:17 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: using a hash file as a constraint to a DB2 table
- Replies: 6
- Views: 2878
using a hash file as a constraint to a DB2 table
How then do I use this hash file to constrain the output? In some cases, I only have the tag number available. How do I say, only output the tag numbers that appear in the hash file?
- Sun May 04, 2003 12:41 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: using a hash file as a constraint to a DB2 table
- Replies: 6
- Views: 2878
using a hash file as a constraint to a DB2 table
I created a hash file that contained tags (varchar(15)) for the last 10 days. I then created a new job, using the DB2 table and the hash file joined to the transform with an output to an Oracle table. The join did not limit the number of tags placed into the Oracle table. All 7 million rows were ins...
- Sun May 04, 2003 12:36 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Configuration issues for Oracle 9
- Replies: 11
- Views: 5364
Oracle 9
Our Oracle DBA's had a similar problem when they tried to install the 64 bit product on a 32 bit unix machine. Go figure.
- Sat May 03, 2003 11:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: select & update the same table in the same job
- Replies: 4
- Views: 2790
Man, I am so temped to say write a PL/SQL procedure to do this. Oracle should outperform DataStage internally every time. But, then you are supporting 2 separate environments and the cost goes way up. You have to have support that is familiar with PL/SQL and DataStage. If you get in a bind, I can wr...
- Sat May 03, 2003 11:36 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Unable to open file: file corruption detected
- Replies: 8
- Views: 4183
- Sat May 03, 2003 11:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: using a join of a hash file to limit db2 query
- Replies: 1
- Views: 1005
using a join of a hash file to limit db2 query
I am unable to limit the output to an Oracle table from a db2 table by creating a join of the db2 table to a hash file. This is what I did. I created a hash file of tags for the last 10 days. I then created a job that included this hash file and the db2 source table both joined to a transform. I joi...
- Sat May 03, 2003 11:23 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: ORAOCI8 Stage error on Date/Timestamp
- Replies: 5
- Views: 2136
I don't know if this is related but: What I found moving date data from DB2 to Oracle was that I had to type cast the DB2 date field (field1) to char(10) and the Oracle to datestamp(19) (field1:' 00:00:00') in the left determinate? column in the grid window. I added the :' 00:00:00' to tell oracle i...
- Thu May 01, 2003 5:38 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: passing a param for a where clause for a DB2 stage
- Replies: 1
- Views: 910
- Thu May 01, 2003 5:26 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: passing a param for a where clause for a DB2 stage
- Replies: 1
- Views: 910
passing a param for a where clause for a DB2 stage
I have an DB2 source for a job stage In the output-selection "where clause:" window I want to limit the data with this statement ROW_LAST_UPDT_DT >= CURRENT DATE - :days_back DAYS The days_back is a parameter for this db2 (IBM version 5) stage. I get an error. If I use this statement ROW_L...