Page 1 of 1

# character in the datastage server

Posted: Fri Jan 05, 2007 11:59 am
by pxr87
I had this code in constraint of the datastage transformer stage.

[color=red][b](lValidatedXpn.SourceNum # "03" or IsNull(lValidatedXpn.SourceNum)[/b][/color]

the '#' character seems to be very odd here .
we use # as parameter usage delimiter. based on this business logic, I am guessing that # is used inplace of not equal to ('<>'). and this code is working in production for 5 hrs no business complaints, so I can't change it.
Does any know what # does here?>


This code initially developed in 3.6 thne migrated to 4.2., 5.2. 75.1A.

Re: # character in the datastage server

Posted: Fri Jan 05, 2007 12:05 pm
by narasimha
pxr87 wrote: I am guessing that # is used inplace of not equal to ('<>')
Your guess is right.

Posted: Fri Jan 05, 2007 12:06 pm
by kcbland
# is the same as not-equal-to. It's perfectly valid DS BASIC syntax. You can use #, NE, or <> and they perform the same.

Posted: Fri Jan 05, 2007 2:11 pm
by ray.wurlod
8) A fourth synonym is ><