Search found 6797 matches

by DSguru2B
Mon Jul 03, 2006 6:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC Connection Timeout
Replies: 3
Views: 915

What version are you on, 7.5 has a stored procedure stage. That stage can make your life much easier.
by DSguru2B
Mon Jul 03, 2006 6:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Command Stage by itself
Replies: 8
Views: 2486

Or you can have a small basic routine, calling the DSExecute() function. You can run your dos command there. Have a routine activity stage call that routine. Connect the routine activity stage to a sequencer. That should work.
by DSguru2B
Mon Jul 03, 2006 6:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Failed to connect to the database - PASSWORD MISSING
Replies: 4
Views: 5019

Creation of new database means, you need a new odbc connection. Need a handle, bind your database and then DS will be able to connect to it.
by DSguru2B
Sun Jul 02, 2006 2:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: comparing a column of current row with column of previus row
Replies: 4
Views: 1474

Click hereto get a code representation of what Ray explained. Check out Ray's reply in that link i provided.
Regards,
by DSguru2B
Sat Jul 01, 2006 10:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling SQLServer StoredProc
Replies: 6
Views: 2295

If your stored procedure doesnt have OUT or RETURN parameters then look into the odbc stage. It works pretty good for calling stored procedures.
by DSguru2B
Sat Jul 01, 2006 10:17 am
Forum: Site/Forum
Topic: Two Tech Tips uploaded
Replies: 1
Views: 2513

Seems like someone has been pinning down our good ol friend Craig.
It happens :twisted:
Jokes apart, thank you so much for doing that, i will definately check it out on ADN.
Cheers,
by DSguru2B
Sat Jul 01, 2006 10:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: script to delete jobs
Replies: 21
Views: 4053

I agree. When subject matter such as the current topic, is under discussion, folks would like to invent new ways to get something done. There are many ways to do a particular thing but that doesnt necessarily mean that its the right way. I think its an important decision to make for our Premium post...
by DSguru2B
Sat Jul 01, 2006 10:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Jobs not firing
Replies: 11
Views: 2091

need to know the job status from the director. Also in your designer, try running it via the keyboard, i think its F9. You can check the shortcut by going to File.
Do all the developers at your end face this issue?
by DSguru2B
Sat Jul 01, 2006 9:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating a left buffer on a column
Replies: 14
Views: 3001

Thats exactly what i was wondering too. I tested out my code too. I knew we were missing some crucial pieces of the info.
by DSguru2B
Fri Jun 30, 2006 1:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating a left buffer on a column
Replies: 14
Views: 3001

This is really strange. HOw come it doesnt work? Try Ken's suggestion, that will most certainly work. Did you try loading the output to a sequential file instead of the table. What is the sql type, length of your target column?
by DSguru2B
Fri Jun 30, 2006 1:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: UNIX Code needed for complex logic
Replies: 6
Views: 1468

Please do not quote entire messages as it becomes hard to scroll through.
Regards,
by DSguru2B
Fri Jun 30, 2006 12:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Count of Number of records in a sequential File
Replies: 2
Views: 2143

Can i ask why you want to do it in a routine? You can use the unix level word count command to get the row count wc -l yourfile If you absolutely have to use it in a routine then just build a small routine Something like cmd = "wc -l ":Arg1 Call DSExecute("UNIX",cmd,output,re...
by DSguru2B
Fri Jun 30, 2006 11:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: UNIX Code needed for complex logic
Replies: 6
Views: 1468

Step1: scheduling team will enter 3 parameters(Company,entity,datetimestamp) while running the DS job. Step2: we have to capture these papameters and we have to check in UNIX in specific floder(/opt/ibm/data/Projects/WORKSPACE/lnapps/BI/data/) is there any zip file name matching with above parameter...
by DSguru2B
Fri Jun 30, 2006 10:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating a left buffer on a column
Replies: 14
Views: 3001

I have to say, pretty impressive from memory.
I guess this conversation turned for the best for the OP.
Regards,
by DSguru2B
Fri Jun 30, 2006 10:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating a left buffer on a column
Replies: 14
Views: 3001

Re: Creating a left buffer on a column

jshurak wrote:we need them to appear like this: 00000000000028550


The OP doesnt want the decimal point anymore. He just wants to strip it out and fill in leading zeros to honor length of 17. Thats why I put in a R0 and not R2.