Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10327
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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us