Search found 6797 matches

by DSguru2B
Fri Feb 09, 2007 7:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: difference between 7.5 and 7.5.2
Replies: 8
Views: 1500

Welcome Aboard :)
What version do you have? If you have 7.5.2, go into the readme folder which has a file called "contents". Open that file, click on the link "Whats New". You will see the enhancements there.
by DSguru2B
Fri Feb 09, 2007 7:46 am
Forum: General
Topic: Read Log of another jog
Replies: 3
Views: 1508

You have a few different ways. You can use DSGetJobInfo() function. You can use DSGetLinkInfo(). You can use DSGetLogSummary. Log files are stored in hashed files with the naming convention RT_LOGnnn where nnn is the internal id for a specific job. You can get that from DS_JOBS. Yet another way is t...
by DSguru2B
Fri Feb 09, 2007 7:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: teradata enterprise with unknown destination columns
Replies: 21
Views: 6850

If you want default values then set them up at the database level and dont pass that column during insert. The database will populate that column for every inserted record. Usually this is implemented for current timestamp which the database generates on its own if no value is passed. Is that what y...
by DSguru2B
Fri Feb 09, 2007 7:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: check column sorted
Replies: 7
Views: 1794

Well I highly doubt you can quit the execution of just the transformer, what you could do is as soon as there is a direction change, send it down a second link with its property set to 'Abort after 1 row'.
by DSguru2B
Thu Feb 08, 2007 8:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Filter records more then decimal(12,2)
Replies: 10
Views: 2284

chulett wrote:Give you some candy :?:

Ha Ha Ha, very funny Craig .
by DSguru2B
Thu Feb 08, 2007 8:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading data into Time Dimension
Replies: 14
Views: 4951

Basically do a lookup on natural key to get the primary key which in your case is the surrogate key.
Speaking of natural key, how come it is specified as nullable, you sure the Date column is Nullable :?
by DSguru2B
Thu Feb 08, 2007 8:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Filter records more then decimal(12,2)
Replies: 10
Views: 2284

Great, you know what to do next :!:
by DSguru2B
Thu Feb 08, 2007 6:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Filter records more then decimal(12,2)
Replies: 10
Views: 2284

If you are really on px, you can specify a reject link from the sequential file itself. Dont give any default value for decimal. This way if the length of the data is more than what is defined, it will get rejected.
If you are on server, Whale has given you a pointer on how to reject.
by DSguru2B
Thu Feb 08, 2007 6:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dsjob
Replies: 17
Views: 5311

Stick in a "-wait" option so that the execution wont step ahead after the job is reset. Most probably, the second dsjob command is trying to execute a job that is in the process of being reset and hence your error.
by DSguru2B
Thu Feb 08, 2007 6:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing Parameters through dsjob function
Replies: 12
Views: 5512

You dont need quotes around the variable. Somewhere you are missing a space or something. I thought you said its complaining about the project name?
by DSguru2B
Thu Feb 08, 2007 6:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert sybase timestamp to Oracl timestamp
Replies: 19
Views: 7735

I think the timestamp format is ok. Dont read it as timestamp. Read it as varchar. Feed it to the C routine and let it take care of the rest. Once you get it into correct format and apply StringToTimestamp() to it, it will be fine. Again, Read it as varchar. The C routine expects a string as its inp...
by DSguru2B
Thu Feb 08, 2007 4:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing Parameters through dsjob function
Replies: 12
Views: 5512

Thats what ArndW asked you, Is your project really called PROJECTNAME or thats just a variable. If its a variable then you need to prefix it with dollar sign ($PROJECTNAME)
by DSguru2B
Thu Feb 08, 2007 4:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Stage Functions
Replies: 26
Views: 7014

But you wont be able to do that in a single line as the incoming data is not consistent. Index on "V" will have a value even if it gets "Valve" which is also present in your data. Index on "V-" will skip values like V8 or V12. Thats why Ray indicated that this can easily be done in a Basic transform...
by DSguru2B
Thu Feb 08, 2007 4:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing Parameters through dsjob function
Replies: 12
Views: 5512

Do any of your parameter values contain spaces. If yes then they should be present within quotes in your csv file and you need to add "eval" before the dsjob command.
by DSguru2B
Thu Feb 08, 2007 4:02 pm
Forum: General
Topic: DataStage Phantom Warnings
Replies: 2
Views: 2508

The message indicates that you are attempting to populate NULL in the key field of a hashed file, which is not allowed and hence the warning.