View previous topic :: View next topic
|
Author |
Message |
srihariba
New User
Joined: 08 Apr 2009 Posts: 4 Location: Bangalore
|
|
|
|
I have a REXX statement
INTERPRET "ADDRESS DSNREXX ""EXECSQL FETCH C101 INTO "fthparm""
where fthparm is a Variable.
When executing the statement if length of "fthparm" is going above 250, I'm getting following error..
"IRX0030I Error running CALLSTPR, line 656: Name or string > 250 characters "
I know that REXX literal string has a limitation of 250 chars, but is there any way we can overcome this constraint? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
but is there any way we can overcome this constraint |
You might consider a new design that will work within the limits. . . |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
first
I have never seen a reason to use the interpret REXX instruction for such a simple function
second
this kind of error is usually due to programming errors ( missing string delimiters - usually )
a good debugging method for the INTERPRET instruction is to use a ..
SAY with the same pattern to see what the INTERPRET-ED string would look like |
|
Back to top |
|
|
|