Search found 6797 matches

by DSguru2B
Tue Feb 06, 2007 9:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: what is DSJ.ME ?
Replies: 7
Views: 5718

Supply DSJ.ME in quotes.
by DSguru2B
Tue Feb 06, 2007 9:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can we pass initial value to surrogate key stage from a
Replies: 4
Views: 1426

Its in the sequence job. Its called the "Execute Command Stage"
by DSguru2B
Tue Feb 06, 2007 9:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: KeyMgtGetNextValue
Replies: 18
Views: 3019

To make it even more easier you can right click on your stage variable, choose "Stage Variable Properties". You will see your stage variable name and in the second colum where it says Initial value. Call that function. This way the initial value of the stage variable will be set to whatever is in yo...
by DSguru2B
Tue Feb 06, 2007 9:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple Line Comments in Basic Code
Replies: 2
Views: 554

I was afraid of that. Anyways, thanks for confirming it.
by DSguru2B
Tue Feb 06, 2007 9:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple Line Comments in Basic Code
Replies: 2
Views: 554

Multiple Line Comments in Basic Code

Its basically a simple question, How to comment out a huge block of code without putting stars before each and every line. I am looking for something synonymous to /* All of the these lines are comments */ in a C program. Does such a thing exist for a Basic program
by DSguru2B
Tue Feb 06, 2007 8:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Return function in datastage routine
Replies: 6
Views: 1575

Cool, learnt something new today 8)
by DSguru2B
Tue Feb 06, 2007 8:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: KeyMgtGetNextValue
Replies: 18
Views: 3019

Use the following routine in the initial value of a stage variable. Function GetMaxDbValue(Arg1) ShellType="UNIX" Command="cat ":Arg1 Call DSExecute(ShellType, Command, Output, SystemReturnCode) Ans=Output<1> Where Arg1 is the fully qualified path of your text fil...
by DSguru2B
Tue Feb 06, 2007 8:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Return function in datastage routine
Replies: 6
Views: 1575

Or if this is not the complete routine and the code that you have shown is part of a subroutine then Return will pass the execution back to the calling block. I still dont get the semicolon, is that correct systax guys? :roll:
by DSguru2B
Tue Feb 06, 2007 8:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fetch value for APT_CONFIG_FILE value in Unix environment?
Replies: 12
Views: 3617

ArndW wrote:The DSParams lookup will show the project level default settings, but jobs can override this at runtime so that value may be incorrect.

O yea thats correct. Did'nt pay attention to that. Thanks for the clarification ArndW.
by DSguru2B
Tue Feb 06, 2007 8:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Basic Transformer in Parallel job
Replies: 24
Views: 7040

Glad you came back with the solution, it will help others in the future. :)
by DSguru2B
Tue Feb 06, 2007 8:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fetch value for APT_CONFIG_FILE value in Unix environment?
Replies: 12
Views: 3617

You dont need access to the the administrator. You can just go to your log, the second entry will have all the environment variables. You can see the value of APT_CONFIG_FILE.
You can also go to your Project home directory and do

Code: Select all

cat DSParams | grep "APT_CONFIG_FILE"
by DSguru2B
Tue Feb 06, 2007 8:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Non-equijoin Key Expression
Replies: 15
Views: 3715

For ease of mainteneance go with the GUI structure, i.e, three lookups on the same hashed file with YOU, MY and OUR keys fromy our source. If you do decide to go with your own custom routine, provide enough annotations and description on whats going on in the job.
My 2 cents.
by DSguru2B
Tue Feb 06, 2007 8:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to abort a job in Afterjob sub routine
Replies: 18
Views: 3988

bkerebel wrote:Call DSFatalInfo(xxx, yyy)

I have never heard of that function, you sure it exists :?
by DSguru2B
Tue Feb 06, 2007 8:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error : Not bounded length
Replies: 31
Views: 7176

Additional error messages would help. Did you try setting it back to "generated sql"? See if that works, once you get that part working then you can analyze how different is your sql and the generated one. Analyze in regards to any syntax or data type conversion being done.
by DSguru2B
Tue Feb 06, 2007 7:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: KeyMgtGetNextValue
Replies: 18
Views: 3019

Swades, append www before dsxchange in your website address. This way it will take us directly to the page and not to the login page.