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

IRX0043I Error running CALLSTPR, line 251: Routine not found


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: Wed Apr 08, 2009 6:51 pm
Reply with quote

I'm using following statement in my rexx program

INTERPRET "zir"CO "=" ACTV

When I run the rexx program it is showing the following error

IRX0043I Error running CALLSTPR, line 251: Routine not found

I have already verified if any libraries are missed in my rexx module
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Apr 08, 2009 7:07 pm
Reply with quote

I think that INTERPRET may be a TSO/E command, and as such will need to be processed using IKJEFT01 in batch.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Wed Apr 08, 2009 7:31 pm
Reply with quote

start the trace before the INTERPRET.
Code:
TRACE('r')

LIkely, ACTV was assigned some text that looks like a call to CALLSTPR.
Back to top
View user's profile Send private message
srihariba

New User


Joined: 08 Apr 2009
Posts: 4
Location: Bangalore

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

Thanks
I did solve the problem
ACTV was a string which was having space between values
like "A B"
This was the reason for error...
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Thu Apr 23, 2009 9:31 pm
Reply with quote

Quote:
This was the reason for error...

Sorry, your explanation did not explain the situation. How did 'A B' with a space cause a routine not found error?
Back to top
View user's profile Send private message
srihariba

New User


Joined: 08 Apr 2009
Posts: 4
Location: Bangalore

PostPosted: Fri Apr 24, 2009 2:59 pm
Reply with quote

If you have a string with spaces in between INTERPRET will assume
text after space to be another verb : Reason for Routine not found
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Fri Apr 24, 2009 9:29 pm
Reply with quote

Quote:
INTERPRET will assume text after space to be another verb


In you example, text after a space is just more text. It will not cause a call to a routine.

I had doubts about the explanation, so I tried it.

Code:
/* REXX */                 
trace('r')                 
CO = 1                     
ACTV = "A B"               
INTERPRET "ZIR"CO "=" ACTV
say zir1                   


I did not get a 'routine not found' error.
Code:
 3 *-* CO = 1                         
    >>>   "1"                         
  4 *-* ACTV = "A B"                   
    >>>   "A B"                       
  5 *-* INTERPRET "ZIR"CO "=" ACTV     
    >>>   "ZIR1 = A B"                 
    *-*  ZIR1 = A B                   
    >>>    "A B"                       
  6 *-* say zir1                       
    >>>   "A B"                       


I think your real data must have been something like :
Code:
ACTV = "A(B)"

or
Code:
ACTV = "A  B(C)"
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 Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts Error when install DB2 DB2 2
No new posts Write line by line from two files DFSORT/ICETOOL 7
Search our Forums:

Back to Top