Sybase Enterprise Stage (Union All Limitation)

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
surez2000
Premium Member
Premium Member
Posts: 16
Joined: Sat Oct 28, 2006 2:13 pm
Location: SINGAPORE
Contact:

Sybase Enterprise Stage (Union All Limitation)

Post by surez2000 »

Hi All,


We are using the Sybase Enterprise Stage to Extract Data, we have a problem when we use more than 4 or 5 union all in the extraction query.


Has anyone faced similar problem, is there any limitation in the sybase enterprise stage editor.

This is the error message that we see.
( The name supplied is aliased to another user )


Regards
Suresh Nair
Knowledge is Collection of Facts and Wisdom is Simplifying those Facts.

Suresh Nair
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Guessing it's not a 'union all' limitation but rather a length of the query limitation. Regardless, something like that should be asked of your official support provider.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

How can you believe that "The name supplied is aliased to another user" relates to UNION operator?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I don't, I think it's one of those goofy errors you can get when you hack off the end of a query. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
surez2000
Premium Member
Premium Member
Posts: 16
Joined: Sat Oct 28, 2006 2:13 pm
Location: SINGAPORE
Contact:

Post by surez2000 »

There are around 12 union all's and when I use 6 union all they work fine but anything more than that returns the error which leads me to think that the issue revolves around the union all's.
Knowledge is Collection of Facts and Wisdom is Simplifying those Facts.

Suresh Nair
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No, it revolves around the total size of the query string.

Check with your DBA or Sybase manuals about the maximum length of a query string that can be sent from a client.

Try executing the same query from a different client than DataStage.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply