Routine Argument maximum size

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
jonathanhale
Premium Member
Premium Member
Posts: 33
Joined: Tue Nov 06, 2007 1:09 pm

Routine Argument maximum size

Post by jonathanhale »

does anyone know how big an argument passed to a datstage routine is allowed to be? (maximum size in chars)
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Don't know for sure, but pretty darn big... assuming max string size for your machine architecture. What kind of sizes are you pondering using?
-craig

"You can never have too many knives" -- Logan Nine Fingers
jonathanhale
Premium Member
Premium Member
Posts: 33
Joined: Tue Nov 06, 2007 1:09 pm

Post by jonathanhale »

hoping it will work with a 4MB char string?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Hmmm... interesting you would specify a size in megabytes rather than a character count. We'll need to see what one of the Grognards has to say on the subject.
-craig

"You can never have too many knives" -- Logan Nine Fingers
jonathanhale
Premium Member
Premium Member
Posts: 33
Joined: Tue Nov 06, 2007 1:09 pm

Post by jonathanhale »

I'm slightly concerned I'll end up regretting this post... but who or what are Grognards?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:lol:

"Grognard" is French for "grumbler" and something Napoleon called his Old Guard, his grizzled veterans. I mean some of the folks here who've been involved with DataStage since Day 1 and actually worked for the various companies involved, authored some of this stuff... people like Ray or Arnd, for example.
-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 »

There is no limit in the product. There is a physical limit based on how much memory is available.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
LenGreenwood
Premium Member
Premium Member
Posts: 37
Joined: Mon Dec 08, 2008 4:02 am
Location: Milton Keynes, UK

Post by LenGreenwood »

DSEngine's Virtual Machine will have an upper limit of about 2GB on the length of a string variable that it can represent. In practice you don't get near that because of physical limitations, as Ray said.
jonathanhale
Premium Member
Premium Member
Posts: 33
Joined: Tue Nov 06, 2007 1:09 pm

Post by jonathanhale »

in testing DataStage is happy to receive and process 40000 char as an arg to a routine. I haven't yet got test data for the threatened 4 MB, but it's looking good...
Post Reply