Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Error :Name or string > 250 characters for INTERPRET

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Error :Name or string > 250 characters for INTERPRET
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

Site Director


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

PostPosted: Thu Apr 23, 2009 8:49 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Apr 23, 2009 8:53 pm    Post subject: Reply to: Error :Name or string > 250 characters for INTE
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us