Search found 6797 matches

by DSguru2B
Fri Feb 23, 2007 2:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change in dsenv file -
Replies: 2
Views: 1448

Yes. Search for the 'How to' part.
No special steps. Make a copy of the dsenv file just to be on the safe side. Make changes. Stop engine. Start engine.
Make sure no one is connected to the engine at that time. You dont want angry folks on your back :wink:
by DSguru2B
Fri Feb 23, 2007 1:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Isnull problem
Replies: 4
Views: 3213

IsNull() is to be used in a conditional statement. Like

Code: Select all

If (IsNull(<<col>>)) then do.this else do.that

IsNull() will return a numeric value. What have you defined the stage variable as?
by DSguru2B
Fri Feb 23, 2007 1:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Compilation Error
Replies: 1
Views: 674

And what was the issue?
by DSguru2B
Fri Feb 23, 2007 1:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to Datestamp challenges
Replies: 11
Views: 4255

That means you were not giving the format properly or something must be missing. By default its taking YYYY-MM-DD format. Nothing to be confused :wink:
One thing though, make sure the Juilan Dates got loaded properly.
by DSguru2B
Fri Feb 23, 2007 11:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: load(DB2) doesn`t work
Replies: 7
Views: 4140

DO an exact search on 'SQL27959N'.
by DSguru2B
Fri Feb 23, 2007 10:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transaction handling in Parallel jobs
Replies: 23
Views: 5379

I highly doubt its a commit level issue. It was just the timing at which your job ran. The table was locked by another process/session. Run the job again and see what happens.
by DSguru2B
Fri Feb 23, 2007 10:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage AND/OR Transformer Function
Replies: 29
Views: 4685

I dont think its possible in a one line in a px transformer. Primarily becuase of the presence of the word 'Valve'. A CONVERT() on this word will force conver the letter 'V' everywhere in the string. Go back to the folks and tell them its not possible. If I absolutely have to, I will use a server jo...
by DSguru2B
Fri Feb 23, 2007 10:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: last field null chk fails
Replies: 10
Views: 1540

madhukar wrote:100 Marks....!!!!

Do I get a golden star too :roll:
by DSguru2B
Fri Feb 23, 2007 10:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage AND/OR Transformer Function
Replies: 29
Views: 4685

I thought I gave you a C routine for that. Isnt that working? Or you want to keep everything a one liner?
by DSguru2B
Fri Feb 23, 2007 10:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transaction handling in Parallel jobs
Replies: 23
Views: 5379

If this is DataStage log then it would be nice to post the exact error message.
If you suspect its the commit level then there are two environment variables that you can set to control commit levels. Namely
APT_ORAUPSERT_COMMIT_ROW_INTERVAL
APT_ORAUPSERT_COMMIT_TIME_INTERVAL
by DSguru2B
Fri Feb 23, 2007 9:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Validation
Replies: 9
Views: 1133

Time to mark your post as 'Resolved'.
by DSguru2B
Fri Feb 23, 2007 9:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transaction handling in Parallel jobs
Replies: 23
Views: 5379

What led you to believe that the table was locked? or your process was deadlocked? If you job hangs then I suggest getting together with your dba to see if the connection even reaches the table and whats happenening at the database level. There might be live threads out there with your id which migh...
by DSguru2B
Fri Feb 23, 2007 9:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: last field null chk fails
Replies: 10
Views: 1540

Set you final delimiter to end. Also the thickened pipe that you are seeing is CR, ascii (013). I bet this is a dos file that you ftp'd over in binary mode. Ftp it again in ascii mode so that the CRLF gets converted to LF (dos to unix) formats. Or find one of the many sed/tr/awk commands to convert ...
by DSguru2B
Fri Feb 23, 2007 9:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage AND/OR Transformer Function
Replies: 29
Views: 4685

The second one can be handled by putting an outher CONVERT() statement to convert 'Liter' to 'L' but the first one is a challenge. THe one liner code will become very messy. It already is. I suggest write an external function so that everything is well explained and its easy to know whats going on.
by DSguru2B
Fri Feb 23, 2007 8:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generic job for tranforming multiple files
Replies: 7
Views: 2737

I would opt for sed/awk script. That would be much easy and the code wouldnt be huge either. There are many sed one liners that perform similar tasks. The script would even be independent of the files metadata. Look into it.