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
 

 

IRX0043I Error running CALLSTPR, line 251: Routine not found

 
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: Wed Apr 08, 2009 6:51 pm    Post subject: IRX0043I Error running CALLSTPR, line 251: Routine not found
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: 8593
Location: Back in jolly old England

PostPosted: Wed Apr 08, 2009 7:07 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Apr 08, 2009 7:31 pm    Post subject: Reply to: IRX0043I Error running CALLSTPR, line 251: Routine
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    Post subject: Reply to: IRX0043I Error running CALLSTPR, line 251: Routine
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

Senior Member


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

PostPosted: Thu Apr 23, 2009 9:31 pm    Post subject: Reply to: IRX0043I Error running CALLSTPR, line 251: Routine
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    Post subject: Reply to: IRX0043I Error running CALLSTPR, line 251: Routine
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

Senior Member


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

PostPosted: Fri Apr 24, 2009 9:29 pm    Post subject: Reply to: IRX0043I Error running CALLSTPR, line 251: Routine
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    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 Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 7 Fri Mar 24, 2017 9:28 am


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