Search found 6797 matches

by DSguru2B
Thu Dec 07, 2006 8:12 am
Forum: General
Topic: Rename the txt file
Replies: 6
Views: 3017

To make things clearer and readable i would translate Ray's code as such:

Code: Select all

cmd = "mv /ss/ppff" : FileNameSuffix : ".txt /dd/ppff" : FileNameSuffix : ".txt.bak"
Call DSExecute("SH", cmd , Output, ExitStatus)
by DSguru2B
Thu Dec 07, 2006 8:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: PID Failed
Replies: 18
Views: 9175

Do you have to kill those jobs or they abort themselves? Reset the job and see if any additional messages pop up.
by DSguru2B
Thu Dec 07, 2006 7:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: PID Failed
Replies: 18
Views: 9175

How are you clearing &PH&. You need to go to TCL and issue CLEAR.FILE &PH& command from within your project. Make sure no jobs are running at that time.
by DSguru2B
Thu Dec 07, 2006 7:08 am
Forum: Site/Forum
Topic: Great Work!!
Replies: 7
Views: 3197

Thanks guys. Could not have been possible without your support. :)
by DSguru2B
Thu Dec 07, 2006 6:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extra characters at the end of a datetime or interval
Replies: 7
Views: 4379

Also, try to change both formats using ICONV and then do the comparison, IMHO. I am not a big fan of date string comparisons.
by DSguru2B
Thu Dec 07, 2006 6:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: PID Failed
Replies: 18
Views: 9175

the &PH& will be present in your projects directory. It has all the run time info. Well not all but some. Go ahead and clear that out.
What error messages are you getting in those two particular jobs?
by DSguru2B
Wed Dec 06, 2006 8:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Email notification for all job in a sequence
Replies: 12
Views: 3185

Makes sense. Good point Whale. Totally slipped from underneath me :)
by DSguru2B
Wed Dec 06, 2006 8:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Max of a Timestamp
Replies: 9
Views: 2099

Re: Max of a Timestamp

sainath wrote: LAST_ UPDATED > MAX(LAST_UPDATED)



If you use that statement, even in sql, it will always return 0 records as your retrieving records with timestamp greater than the max timestamp.
by DSguru2B
Wed Dec 06, 2006 8:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Email notification for all job in a sequence
Replies: 12
Views: 3185

True. But most clients have their smtp port blocked. Can send emails but cannot recieve them on unix.
by DSguru2B
Wed Dec 06, 2006 2:47 pm
Forum: General
Topic: executing a stored procedure
Replies: 12
Views: 6330

Nevermind my previous post. I did not pay attention that you were using a third party tool. Did you try running the osql utility from command line? Does it work? If it does then post the part of the code that executes the stored procedure for debugging help.
by DSguru2B
Wed Dec 06, 2006 2:44 pm
Forum: General
Topic: executing a stored procedure
Replies: 12
Views: 6330

True, i understand your need. But did you read Ken's reply. Click the 'here' word in my previous post. He mentions a few limitations.
by DSguru2B
Wed Dec 06, 2006 2:32 pm
Forum: General
Topic: executing a stored procedure
Replies: 12
Views: 6330

Not sure if its safe. Why ?
Read kcbland's reply here
You can even do this using an odbc stage in a job. It supports IN and IN/OUT parameters?
Any particular reservation why you want to do it via job control? You can even use STP stage if you have 7.5.2
by DSguru2B
Wed Dec 06, 2006 2:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looping
Replies: 17
Views: 5487

As Craig advised, you can write your own loop. All you need to do is put your DSRunJob command within a loop that counts backwards untill it hits Jan. That is simple looping data structure.
by DSguru2B
Wed Dec 06, 2006 1:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output Record count in a transformer
Replies: 14
Views: 8303

Add an two extra columns to your output. One with derivation @OUTROWNUM and specify any dummy key on the second. Let that go down to the aggregator, group on the dummy key and choose max or last for the column which had derivation of @OUTROWNUM. Also, if you want all rows that start with '#', dont y...
by DSguru2B
Wed Dec 06, 2006 1:35 pm
Forum: General
Topic: executing a stored procedure
Replies: 12
Views: 6330

Granted you are using it in JobControl. How are you talking to your database? You need an open a connection with your database to run any query on it. Right ???