IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Error :Name or string > 250 characters for INTERPRET


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srihariba

New User


Joined: 08 Apr 2009
Posts: 4
Location: Bangalore

PostPosted: Thu Apr 23, 2009 4:46 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Apr 23, 2009 8:49 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Apr 23, 2009 8:53 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top