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 IRX0043I when CALLing another REXX Program...

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
karthik.ilangovan

New User


Joined: 05 Dec 2006
Posts: 27
Location: India

PostPosted: Thu Nov 25, 2010 4:05 pm    Post subject: Error IRX0043I when CALLing another REXX Program...
Reply with quote

Hi,

Could you tell me what is wrong with this Code ?

/* REXX A */
TRACE('R')
SAY THIS IS 'A'
CALL 'T0920KE.PDS.REXX.PROGS (CALLB)'
SAY THIS IS 'A' AGAIN
EXIT 0

I am getting the below Error Message..

8 *-* /* CALL THROWMSG */ /*WORKS */
9 *-* CALL 'T0920KE.PDS.REXX.PROGS (CALLB)'
9 +++ CALL 'T0920KE.PDS.REXX.PROGS (CALLB)'
IRX0043I Error running CALLREXX, line 9: Routine not found

Please help. Thanks.
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: Thu Nov 25, 2010 4:13 pm    Post subject:
Reply with quote

IRX0043I Error running CALLREXX, line 9: Routine not found

Is the called module in the same library as the execution module.
If not, is the library where the called module is resident concatenated into the SYSPROC and/or SYSEXEC DD's

What exactly are you doing here. What code is the called module.

Also look at the syntax of the code that you are using.
Back to top
View user's profile Send private message
karthik.ilangovan

New User


Joined: 05 Dec 2006
Posts: 27
Location: India

PostPosted: Thu Nov 25, 2010 5:15 pm    Post subject:
Reply with quote

Hello Expat,

Yes, Both the Called Module and the Calling Module reside in the same Library 'T0920KE.PDS.REXX.PROGS' and

Yes, This Library is concatenated to SYSUPROC (User PROC) - Not SYSEXEC or SYSPROC.

When i do a CALL CALLB - It works just fine...

Thanks for your help.
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: Thu Nov 25, 2010 5:35 pm    Post subject:
Reply with quote

Yes, the correct syntax usually works well icon_biggrin.gif
Back to top
View user's profile Send private message
karthik.ilangovan

New User


Joined: 05 Dec 2006
Posts: 27
Location: India

PostPosted: Thu Nov 25, 2010 7:27 pm    Post subject:
Reply with quote

Hi Expat,

I found this in QW.. Was trying to check if this worked...

FUNCTION
The CALL command loads and executes programs in executable form.
SYNTAX -

CALL 'dsname(member)' 'parm'
CAPS/ASIS NOENVB/PASSENVB

Required - Either DSNAME or MEMBER name or both.
Defaults - DSNAME - If no DSNAME is used, PREFIX.LOAD is used as the
DSNAME. If '*' is used, the Link List will be
used to locate the MEMBER.
MEMBER - If no MEMBER is specified, TEMPNAME is used.

Thanks,
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: Thu Nov 25, 2010 7:32 pm    Post subject:
Reply with quote

I quite often use SORT or ICETOOL in my REXX
Code:
"CALL *(SORT)"
Back to top
View user's profile Send private message
karthik.ilangovan

New User


Joined: 05 Dec 2006
Posts: 27
Location: India

PostPosted: Thu Nov 25, 2010 7:59 pm    Post subject:
Reply with quote

Ok Expat,

Its really a mystery to me as to what is wrong with this Syntax..

7 *-* /* THROWMSG */ /*WORKS */
8 *-* /* CALL THROWMSG */ /*WORKS */
9 *-* 'CALL 'T0920KE.PDS.REXX.PROGS(CALLB)''
9 +++ 'CALL 'T0920KE.PDS.REXX.PROGS(CALLB)''
IRX0043I Error running CALLREXX, line 9: Routine not found
***

A CALL CALLB seems to be working just fine - which proves that this library is already a part of SYSUPROC... Please help.

Thanks.
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: Thu Nov 25, 2010 8:06 pm    Post subject:
Reply with quote

There is a link to the REXX manuals at the top of the CLIST/REXX forum as a sticky.

Take a look through them. They are for z/OS 1.7 but still basically the same as the latest edition.
Back to top
View user's profile Send private message
karthik.ilangovan

New User


Joined: 05 Dec 2006
Posts: 27
Location: India

PostPosted: Thu Nov 25, 2010 8:13 pm    Post subject:
Reply with quote

Thanks Expat,

Finally, Made it work... Coded it this way..

ADDRESS TSO "CALL 'T0920KE.PDS.REXX.PROGS(CALLB)'"

And it abended with -S806 (Load not found) - which is fine because

The CALL command loads and executes programs in executable form ONLY.... Hope I in right in saying this...

>>> "CALL 'T0920KE.PDS.REXX.PROGS(CALLB)'"
IEW4007I FIND FOR MODULE CALLB FAILED BECAUSE DIRECTORY ENTRY IS NOT VALID F
OR A LOAD MODULE.
CSV003I REQUESTED MODULE CALLB NOT FOUND
CSV028I ABEND806-04 JOBNAME=T0920KE STEPNAME=TSOUSER
IEA995I SYMPTOM DUMP OUTPUT
SYSTEM COMPLETION CODE=806 REASON CODE=00000004
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Nov 25, 2010 8:16 pm    Post subject: Reply to: Error IRX0043I when CALLing another REXX Program..
Reply with quote

the statement call <some library>(<some member>)
works only for LOAD modules
I am sure about that, for a quick and dirty reply I did not check about COMPILED REXX

the library search order for REXX <scripts> is completely different

everything is explained here
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4A370/4.2.1?SHELF=IKJ4BK80&DT=20060626210253#HDRDUP0010

(*) I did not clone my reply, karthik posted while I was reading the manual icon_biggrin.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Nov 25, 2010 8:22 pm    Post subject: Reply to: Error IRX0043I when CALLing another REXX Program..
Reply with quote

beware, beware, beware ...

1) Address TSO "CALL ...."
is quite different from a plain
2) CALL

(1) invokes the TSO call command
(2) is a Rexx keyword instruction
Quote:
3.0 Chapter 3. Keyword instructions
...
3.3 CALL
3.4 DO
...


so the conclusion is wrong,
You are comparing oranges to shoes!
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: Thu Nov 25, 2010 8:25 pm    Post subject: Re: Reply to: Error IRX0043I when CALLing another REXX Progr
Reply with quote

enrico-sorichetti wrote:
so the conclusion is wrong,
You are comparing oranges to shoes!
Aha, that explains why my feet are so damp icon_lol.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Sat Nov 27, 2010 6:07 pm    Post subject: Reply to: Error IRX0043I when CALLing another REXX Program..
Reply with quote

You are lucky then that I didn' t say
compare whale' s excrements to caviar icon_biggrin.gif
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Mon Nov 29, 2010 9:59 pm    Post subject: Reply to: Error IRX0043I when CALLing another REXX Program..
Reply with quote

Try EXEC command rather than CALL command.
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 S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm


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