Search found 6797 matches

by DSguru2B
Tue Aug 22, 2006 7:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problems changing rows in column
Replies: 7
Views: 1726

Even via datastage you can get this done but we need logic. I bet even the stored procedure executes some sort of logic. If you can get us that logic maybe someone can help you design you, or even walk you through the entire job.
by DSguru2B
Tue Aug 22, 2006 7:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data Truncation Warning
Replies: 7
Views: 3257

The issue is certainly at the database end. It allows a certain amount of bytes but more is being inserted. Its just a warning and i believe the data is getting inserted. Check the table and see at what point it chops off the rest of the data.
by DSguru2B
Tue Aug 22, 2006 7:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Parameters Vs Environment variables
Replies: 8
Views: 7465

I like to do everything via job parameters. Not like to mess with environment variables. No special reason, just a person choice.
by DSguru2B
Mon Aug 21, 2006 6:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Missing StringID in UNIX
Replies: 3
Views: 772

Is that all that your script contains, i bet not. I hope you are sourcing the dsenv file within your script. Also, is this sequence multiinstance? And what exactly do you mean that the control is not being returned back to the script. How many jobs are there in the sequence, do they execute properly...
by DSguru2B
Mon Aug 21, 2006 6:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problems changing rows in column
Replies: 7
Views: 1726

Rows into columns huh, that sounds like a job for the pivot stage. Look into the pivot stage along with the row merger.
by DSguru2B
Mon Aug 21, 2006 1:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: logic to find out no.of rejects
Replies: 2
Views: 661

So you have different delimiters. Then i suppose you will be reading both the columns as a single column, right? In the transformer use the INDEX() function to detect a pipe. If present send it through the link which eventually gets loaded in the database. If no pipe is found, send it down the rejec...
by DSguru2B
Mon Aug 21, 2006 1:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: 1 Row/Sec- 10 row/sec
Replies: 5
Views: 1330

You said this is happening in production. Was the same experienced in development or even system test environments?
What are the after sqls? If they are deletes, and the table size is huge, then that might be taking a long time. And during the execution of after sqls.
by DSguru2B
Mon Aug 21, 2006 1:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retrieve Warning messages at run time
Replies: 17
Views: 4544

You can also get DMBSCODE of rejected records. But even then it will just be a code. You can have a small table with dbms codes and what it means. Once you have the dbms codes, you can do the lookup and get the message. You can also write a bat script and get all the warning messages from a particul...
by DSguru2B
Mon Aug 21, 2006 1:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: data load problem
Replies: 9
Views: 2424

YOu can check the log files in the director. But if the message file shows that the data got loaded then make sure you are in the same environment, same database and same table.
by DSguru2B
Mon Aug 21, 2006 1:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data Rationalisation - Performance and Optimisation
Replies: 13
Views: 3682

Another piece of advice. Split up your job. Modularize it. It might not speed up things but will sure make the jobs more readable, restartablity will be easier too. Plus you will get a big help in the unix sort.
by DSguru2B
Mon Aug 21, 2006 1:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need to add a generated column
Replies: 4
Views: 1108

Search this forum for more detailed descriptions on how to generate surrogate keys. WHich is what you want, a running sequential number. You will even find ways to get the max from the table and then add one to it for your further inserts. Search is your friend.
by DSguru2B
Mon Aug 21, 2006 1:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: same problem
Replies: 13
Views: 3380

I know right, thats Ray's signature question. And i just love his initial reply, "Nothing is not the correct answer", really cool. Coming back to the OP query, check if the table you are loading changed. Check with the DBA if he put any triggers on it. If a trigger fires on every insert, that tends ...
by DSguru2B
Mon Aug 21, 2006 12:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Truncate in DB2
Replies: 11
Views: 8256

Did you try it without the keyword 'NONRECOVERABLE' ???
by DSguru2B
Fri Aug 18, 2006 11:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Truncate in DB2
Replies: 11
Views: 8256

Well, your load replace syntax seems to be correct but db2 is reading something more than that. Thats why its giving you SQL0104N which just means its a syntax error. Even the SQL0104N help is not very helpful as it just says, hey, your syntax is messed up, fix it. Close that window, open a new one ...
by DSguru2B
Fri Aug 18, 2006 10:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: same problem
Replies: 13
Views: 3380

I like the heading, heh, 'same problem'. Wow, Even the RMM stage cannot tackle this one. It just gets better and better here doesnt it :roll: