Search found 15603 matches

by ArndW
Tue Feb 06, 2007 9:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple Line Comments in Basic Code
Replies: 2
Views: 554

No, each line needs to be commented.

Code: Select all

**************************
** This is a big block  **
** of comments          **
**************************
by ArndW
Tue Feb 06, 2007 9:02 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

Please post PX questions in the PX forum.

If you have just the value in a file, I would prefer using "cat" in a sequence command stage to get the value into a variable, and then passing that value as a parameter to your PX job and using the parameter to seed the surrogate key stage.
by ArndW
Tue Feb 06, 2007 8:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Return function in datastage routine
Replies: 6
Views: 1575

Yes, the semicolon is used to put multiple commands on one physical line of source code. I use it all the time for commenting inline:

Code: Select all

 a = 1 ;** set the value of "a" to 1
by ArndW
Tue Feb 06, 2007 8:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Return function in datastage routine
Replies: 6
Views: 1575

If the input argument is NULL then it is not equal to "".
But if it is "" then it will execute taht code and exit the routine. The RETURN statement should read RETURN({value}) to be correct, though
by ArndW
Tue Feb 06, 2007 8:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Nulls - to convert or not to convert?
Replies: 6
Views: 1516

I don't know if I'd aspire to be Dumbledore -doesn't he get ETL'd and loaded to the big database in the sky?
by ArndW
Tue Feb 06, 2007 8:23 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

The DSParams lookup will show the project level default settings, but jobs can override this at runtime so that value may be incorrect. The best way to check is to look at the second log entry as DSGuru2B has already stated.
by ArndW
Tue Feb 06, 2007 8:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with dsx file
Replies: 7
Views: 1509

Bertrand - in this case the ROOT refers to a .dsx DataStage object, i.e. the SUBRECORDs point to RECORD object as the root, and isn't referring to a UNIX "root" owned file. Here the parameters are being declared and point back to their job. Narsi1111 - Could you explain you solution? I'm afraid I ca...
by ArndW
Tue Feb 06, 2007 8:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Nulls - to convert or not to convert?
Replies: 6
Views: 1516

Lol, now you've given away our location. Perhaps we can pretend that "Griffin House" is a code name :roll:

Actually, it does sound like a name that comes from a Harry Potter book.
by ArndW
Tue Feb 06, 2007 4:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accessing BTrive by ODBC
Replies: 1
Views: 869

I assume you mean BTrieve by Pervasive. The Windows product ships with an ODBC driver.

See This page on Pervasive's site
by ArndW
Tue Feb 06, 2007 4:40 am
Forum: General
Topic: Error: Laufzeitfehler '1000': Invalid action when bound
Replies: 2
Views: 1736

Martin, can you check to see which actions are performed on your PC at startup? One of the causes of these automation errors in Windows is if a DLL is overwritten. If you have some enterprise type of software control it might "detect" some DataStage library as being invalid or older and overwrite it...
by ArndW
Tue Feb 06, 2007 4:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Nulls - to convert or not to convert?
Replies: 6
Views: 1516

I prefer it when a column is not nullable; if there is a choice then I always recommend not allowing null values. This simplifies database queries and storage. But as you have pointed out, there are many legitimate cases where a null value should be used. Trying to avoid a null in those columns is a...
by ArndW
Tue Feb 06, 2007 2:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with dsx file
Replies: 7
Views: 1509

None of those lines liste have invalid syntax. Is your error reproduceable and does it have the error on the same line each time?
by ArndW
Tue Feb 06, 2007 2:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error : Not bounded length
Replies: 31
Views: 7176

swades - the APT_DISABLE_COMBINATION switch is used in this case to help locate the stage that is causing your problem. But there is no need to do so, since your original error is telling you that it occurs in the ODBC stage. Is this the source stage? What are your column definitions? At least one o...
by ArndW
Tue Feb 06, 2007 2:31 am
Forum: Site/Forum
Topic: Craig did it again, 9K posts
Replies: 14
Views: 7463

Craig, I think the DSXchange frequent poster points system for you is as follows: 10K - Letter via 2nd class containing 1 (silver) lick-on sticky star that you can adhere to the top left corner of your monitor 15K - 2nd silver start, plus an e-mail from www.greetingcards.com that sings "Congratulati...
by ArndW
Tue Feb 06, 2007 2:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unexpected Job Failure
Replies: 14
Views: 8374

saur_classic. I'm amazed that you are amazed that nobody has answered your question. As volunteers the members here mainly suggest paths to try to analyze problems. In addition, your job as a developer also includes testing different settings to see if you can find the cause. It might be less amazin...