Search found 42189 matches

by chulett
Thu Oct 12, 2006 7:30 am
Forum: General
Topic: Joins on Timestamp columns
Replies: 6
Views: 4085

Yes, the OCI stage does the TO_CHAR automatically when generating SQL for Timestamp fields. That's not the problem... or at least it shouldn't be. Where are you getting this message? It's not coming from the Source stage, but further down the line. Without knowing anything about your job, I'd guess ...
by chulett
Thu Oct 12, 2006 7:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: [Informix ODBC Driver]Could not update a row in the table
Replies: 7
Views: 3806

Sorry, but you'll need to help yourself - all we can do is point you in the right direction. In spite of what you are thinking, the error message states you are trying to update a non-existent record. Oracle wouldn't care and would happily update nothing. Informix cares. Double-check your work. Dump...
by chulett
Thu Oct 12, 2006 7:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Access Universe through UNIX
Replies: 12
Views: 3760

Or just correct the full path to 'dssh'.
by chulett
Thu Oct 12, 2006 7:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to check if a job is already running
Replies: 2
Views: 1110

It should, if you are planning on doing this in your script. :wink:

Parse the output for a status of zero, which means running. Specifically, the output from the command would be:

Job Status = RUNNING (0)
by chulett
Thu Oct 12, 2006 7:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Deletion of output file
Replies: 39
Views: 6927

Is the row of column names is also considered in the rowcount or not? No. I wouldn't suggest something like that specifically to counter the issue of column headings if it wouldn't work as suggested. Trust me. As noted, you are checking the link that is sending data to the Sequential file, counting...
by chulett
Thu Oct 12, 2006 6:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CAN WE USE DECODE FUNCTION
Replies: 7
Views: 2788

Hmm... as with most things, 'depends'. Another consideration would be the nature of the decoded data. If you have a static, fixed, never will change list then you've covered all the considerations. If there is a possibility that it could change, I'd look into storing the decode data in a flat file a...
by chulett
Thu Oct 12, 2006 6:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Taking backup using after job subroutine
Replies: 9
Views: 1909

What kind of help do you need? Seems to me you've got two very similar choices, depending on which you'd feel more comfortable with: 1) Implement something in a BASIC routine. 2) Write a shell script. Both can be called 'after job'. I'd probably got with the latter, but either could be made to work....
by chulett
Thu Oct 12, 2006 6:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: debugging
Replies: 2
Views: 1052

The other 'trick' I use when testing custom routines it to leverage the 'Ans' variable. I work through the code in logical sections and return intermediate results as the Answer, that way I can easily see the results when I test from the Manager. If multiple values need to be returned, I pipe delimi...
by chulett
Wed Oct 11, 2006 11:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Access Universe through UNIX
Replies: 12
Views: 3760

romkar29 wrote:Even i have tried as follows

/dstage/Ascential/DataStage/DataStage/DSEngine/bin/dssh "SELECT * FROM DS_JOBS WHERE NAME='abcd';"

Even then i am getting the following error
/dstage/Ascential/DataStage/DataStage/DSEngine/bin/dssh: not found

Don't you have one too many 'DataStage's in that path?
by chulett
Wed Oct 11, 2006 11:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to include Header to file
Replies: 4
Views: 1838

I'm sorry... is there a question in there somewhere? Or is this how you managed to get it all working?
by chulett
Wed Oct 11, 2006 11:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: User Defined Query
Replies: 3
Views: 807

Really... no clue it would sync like that. So there's one redeeming quality. :wink: I'll have to check it out.
by chulett
Wed Oct 11, 2006 10:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Whole Project clean up
Replies: 6
Views: 1163

BTW, I made the 'sounds familiar' comment because of this recent post. Give it a read.
by chulett
Wed Oct 11, 2006 10:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Whole Project clean up
Replies: 6
Views: 1163

:? Why? Any other way is error prone and unnecessary work, unless you've got a really good reason to delete most of it but not all of it. Just delete the Project if you want to 'clean up whole thing'...
by chulett
Wed Oct 11, 2006 10:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: User Defined Query
Replies: 3
Views: 807

Your friend is correct. Did you need to use User Defined sql or was it just easier to paste the sql in from your query tool of choice? My rule of thumb - User-Defined SQL is only allowed when you have no other choice. And there are very few instances where 'Column Generated' (which has a much longer...
by chulett
Wed Oct 11, 2006 9:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Whole Project clean up
Replies: 6
Views: 1163

This sounds familiar... delete the project and recreate it.