Server routine maximum arguments size

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
Alethesnake
Participant
Posts: 56
Joined: Mon Mar 26, 2007 8:48 am
Location: Blue Bay (La Spezia)

Server routine maximum arguments size

Post by Alethesnake »

Hi All,

is there any limitation in length of Args for server routines?

I am parsing a text field and if I do it inside a transformer I have no problem. Being the parse a bit complicated I wrote a server routine and everything works fine except that Arg1 is truncated at 1063 characters.

I did an easy test with only:

Code: Select all

Ans=Len(Arg1)
And the result is 1063 (against an input string of more than 3,000 chars). I have the same issue writing the input string inside the test pane. Once I close and reopen in the text get splitted on multiple test rows.

Any suggestion?

Thanks in advance,

Alessandro.
...
Alethesnake
Participant
Posts: 56
Joined: Mon Mar 26, 2007 8:48 am
Location: Blue Bay (La Spezia)

Re: Server routine maximum arguments size

Post by Alethesnake »

I checked the situation again and the issue seems to be present only using the test option, at runtime it works fine.

I mark the post as resolved, sorry for the mistake.
...
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No worries, thanks for posting your issue and resolution, these kind of things are helpful to have here when someone else has the same question.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply