empty tags

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

Any suggestions are welcome....!
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Suggestion: don't PUSH

It's only five hours since your original post. Some people are actually asleep at this time. Or is that unacceptable to you?

If you need an urgent response, sign up with your official support provider for priority service. Even then, after handing over wads of currency, I doubt you'll get better than four hour response time.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

okay....!
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You should be able to help yourself on the second question by doing an exact search for nillable here. I posted the same question some time ago. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

what abt the first one?
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

Thanks chullet and ernie, got the secong question,

still working on the first one.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Explain to us what "supress the '00' or 'ZZ'" means. If you want the elements to be empty, you need the data values to be null.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

those are the default values i had put for null values,
but it seems like the question has been answered by this statement.

All parsers whether it is custom made / product based should follow W3C xml 1.0 standard. According to the standard the parser should read <empty/> and <empty> </empty> in the same way.

thanks folks, i will make this thread as resolved.

have a gr8 weekend.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Right, those two tag styles are equivalent.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

after making this change in transformer,

IF ISNULL(read_ora.middle_name) OR read_ora.middle_name <= 0 THEN '<': 'middle_name':' xsi:nil="true"':'/>' ELSE read_ora.middle_name

i had some elements which were not repeating, now it seems like they are repating.

i have checked one column from where the repeating elements start, but the elements above that is also repeating.

i have also checkd agg all rows in the target stage,
did i miss something here again.
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Hmm. Hard to say, but it's "possible" that this change in your transformer impacted the uniqueness of your element....and then altered the aggregation. You are probably going to need to break it down and determine first if the Derivation really caused it, and then what specifically about the derivation and it's result are creating the scenario.

Try also changing which column is indicated as the "key" in this lower level node.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

tried both ernie,

may be you want to have a look at the xpath expressions, posted here.
Post Reply