Search found 6797 matches

by DSguru2B
Thu Oct 12, 2006 8:53 am
Forum: General
Topic: Dynamic Meta Data
Replies: 6
Views: 3490

Dynamic Meta Data

Hi Guys, I am currently designing an ETL process. One of the main challenges that the client is facing, is the dynamic nature of the input (Oracle). The process should be smart enough to detect a change in the metadata and ripple the effect through the jobs all the way towards the end. I know its no...
by DSguru2B
Thu Oct 12, 2006 8:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Sequence Trigger is not getting Triggered
Replies: 23
Views: 8841

I think its by passing it. The failure is being handled in the second trigger. If you want unconditional, then explicitly provide them there.

Code: Select all

Stagename.$JobStatus = DSJS.RUNOK Or Stagename.$JobStatus = DSJS.RUNWARN Or Stagename.$JobStatus = DSJS.RUNFAIL
by DSguru2B
Thu Oct 12, 2006 6:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CASE tatement
Replies: 3
Views: 1060

You can use case statements in basic routines. No case statements in the transformer, but you can achieve the same using if then else.
by DSguru2B
Thu Oct 12, 2006 6:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Deletion of output file
Replies: 39
Views: 6927

No, column names is not considered a row when getting row counts through DSGetLinkInfo(). You need to check for row count zero.
by DSguru2B
Wed Oct 11, 2006 10:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Deletion of output file
Replies: 39
Views: 6927

well then instead of checking for 0 bytes, check for 2kb. And if a file is 2kb or less, then delete it.
by DSguru2B
Wed Oct 11, 2006 10:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Deletion of output file
Replies: 39
Views: 6927

You can go to the sequential file stage properties and uncheck "First line is column names" option. That will truely keep the file empty if its empty. Look at Rays routine. He is using the STATUS function to determine the file size. STATUS() function returns different information in a dynamic array....
by DSguru2B
Wed Oct 11, 2006 9:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Converting .xls to .csv using datastage
Replies: 2
Views: 2370

Cannot be done using datastage, as far as i know. You need a third party tool to do that. Google it, you will have some useful finds.
by DSguru2B
Wed Oct 11, 2006 9:38 am
Forum: General
Topic: Release Note for 8.0
Replies: 10
Views: 5788

Wow, thats an accurate reply. I have an IBM dude here at my client place. I heard from him that its due in the first quarter of next year, or somewhere close to that time. No one seems to have an accurate answer. O well, the time will come :)
by DSguru2B
Wed Oct 11, 2006 9:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Deletion of output file
Replies: 39
Views: 6927

Here, Ray created something like this a while back. Take a look
http://www.dsxchange.com/viewtopic.php?t=101158.
by DSguru2B
Wed Oct 11, 2006 9:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Deletion of output file
Replies: 39
Views: 6927

You are correct. There is no option. You will have to write you own routine to detect a file with size zero and issue a delete command at the os level.
by DSguru2B
Tue Oct 10, 2006 12:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sequential file
Replies: 10
Views: 2422

Double click on the phantom error so that the rest of the error message is revealed. Post that here.
by DSguru2B
Tue Oct 10, 2006 12:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Source and Target have DRS stages data is not loading.
Replies: 14
Views: 2607

How is it possible that the input is a valid, non-null date field and is not showing up in the sequential file. You must be constraining it in your transformer stage.
Another wierd thing, how come its showing up in the database and not in the sequential file :roll:
by DSguru2B
Tue Oct 10, 2006 12:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how can we suppress the warnings in sequence
Replies: 10
Views: 2447

A while back i wrote a unix script and a basic routine to do almost the same thing. The routine wont work for you but the script will help. Check out thispost
by DSguru2B
Tue Oct 10, 2006 10:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: date error
Replies: 6
Views: 1331

What is your source and target???
The date format seems to be ok.And if Oconv(Time(), MTS) is giving you all zeros, then there is something else going on. Try loading the output to a flat file and check the format.