Search found 364 matches

by JDionne
Tue Nov 04, 2003 2:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Wrap Basic Code to the next line
Replies: 10
Views: 2295

Jim It is faster to nest if statements or case statements than to check for 50 things. if x=1 or x=2 or x=3 then if y=1 or y=2 then end end is faster than if (x=1 or x=2 or x=3) and (y=1 or y=2) then end Kim. I will not contest because I have no idea. All I know is htat I am just starting to get my...
by JDionne
Tue Nov 04, 2003 2:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Wrap Basic Code to the next line
Replies: 10
Views: 2295

kduke wrote:Jim

I do not think there is one. If there is then it is an underscore.

Kim.
AGGGGGGG underscore was the first one that i tried :(

Jim
by JDionne
Tue Nov 04, 2003 1:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Case Statment
Replies: 18
Views: 5706

Yup u are right. I see what my fat finger had done and now it works....This is great now I can move on to the harder logic in the code.
Thanx
Jim

btw how do i get this code to wrap to the next line. I realy need to be able to look at all of this at once and not scrol.
Jim
by JDionne
Tue Nov 04, 2003 1:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Case Statment
Replies: 18
Views: 5706

Here's your logic corrected: Begin Case * (PACIFIC TRADE GENERAL): Case ( Arg1 = '588' Or Arg1 ='570' Or Arg1 ='580' Or Arg1 ='582' Or Arg1 ='583' Or Arg1 ='560' Or Arg1 ='559' Or Arg1 ='549' Or Arg1 ='565' Or Arg1 ='557' Or Arg1 ='552' Or Arg1 ='538' Or Arg1 ='555' Or Arg1 ='579' Or Arg1 ='566' Or...
by JDionne
Tue Nov 04, 2003 1:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Case Statment
Replies: 18
Views: 5706

Arg1 = 583 TRUE Arg2 is not MARSHAL ISL OR Arg2 is not KWAJALEIN Your code as written appears to be true to me in both cases you've presented. MARSHALISL is not KWAJALEIN AND 583 is one of the Arg1 choices. Likewise for Test. Test is not MARSHALISL and Test is not KWAJALEIN so they are both true AN...
by JDionne
Tue Nov 04, 2003 1:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Case Statment
Replies: 18
Views: 5706

First things first, do you like the INLIST function better? And do you see how you can write FUNCTIONS to make life easier (what I call the Bag of Tricks). Okay, how about you paste two test cases, one that should prove TRUE and the other FALSE. We can workout your logic from there. I formed your l...
by JDionne
Tue Nov 04, 2003 1:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Case Statment
Replies: 18
Views: 5706

Jim, BASIC has no inherent INLIST function, so I wrote one for you. Create a new FUNCTION in DS Manager just as I describe in the top portion of my most recent post. Then, compile it and test it. Enhance it all you like, putting in TRIMs, UPCASES, whatever. I have done what you said and I am gettin...
by JDionne
Tue Nov 04, 2003 12:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Case Statment
Replies: 18
Views: 5706

What is this bit of code? Calling "DSU.INLIST" Is that a built in fucntion of ds 7x? I get the error Program "DSU.casetest": Line 27, Unable to open the operating system file "DSU_BP.O/DSU.INLIST". [ENOENT] No such file or directory Program "DSU.casetest": Lin...
by JDionne
Tue Nov 04, 2003 12:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Case Statment
Replies: 18
Views: 5706

Begin Case * (PACIFIC TRADE GENERAL): Case ( Arg1 = '588' Or Arg1 ='570' Or Arg1 ='580' Or Arg1 ='582' Or Arg1 ='583' Or Arg1 ='560' Or Arg1 ='559' Or Arg1 ='549' Or Arg1 ='565' Or Arg1 ='557' Or Arg1 ='552' Or Arg1 ='538' Or Arg1 ='555' Or Arg1 ='579' Or Arg1 ='566' Or Arg1 ='546' Or Arg1 ='574' O...
by JDionne
Tue Nov 04, 2003 11:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Case Statment
Replies: 18
Views: 5706

Case Statment

I have the following code Begin Case * (PACIFIC TRADE GENERAL): Case Arg1 = '588' Or Arg1 ='570' Or Arg1 ='580' Or Arg1 ='582' Or Arg1 ='583' Or Arg1 ='560' Or Arg1 ='559' Or Arg1 ='549' Or Arg1 ='565' Or Arg1 ='557' Or Arg1 ='552' Or Arg1 ='538' Or Arg1 ='555' Or Arg1 ='579' Or Arg1 ='566' Or Arg1 ...
by JDionne
Tue Nov 04, 2003 10:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Wrap Basic Code to the next line
Replies: 10
Views: 2295

Wrap Basic Code to the next line

I need to know the character string or process that will alow me to wrap my basic code to the next line when I write the code in manager.
Thanx
Jim
by JDionne
Tue Nov 04, 2003 10:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Wrap Basic Code to the next line
Replies: 0
Views: 364

Wrap Basic Code to the next line

I need to know the character string or process that will alow me to wrap my basic code to the next line when I write the code in manager.
Thanx
Jim
by JDionne
Thu Oct 30, 2003 11:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Outer Joins....
Replies: 3
Views: 1389

Re: Outer Joins....

In a transform with a reference table how do you denote an outer join? Jim Hmm this is an interesting question...I realy didnt stop to think to hard about it till after the post was up. Outer joins arent good for an etl tool im thinking now, it will let through the execptions. Maybe a reject file??...
by JDionne
Thu Oct 30, 2003 11:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Outer Joins....
Replies: 3
Views: 1389

Outer Joins....

In a transform with a reference table how do you denote an outer join?
Jim
by JDionne
Thu Oct 30, 2003 11:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Outer Joins....
Replies: 0
Views: 593

Outer Joins....

In a transform with a reference table how do you denote an outer join?
Jim