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
 
How to locate IRXEXCOM load module?

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

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Mon Mar 18, 2013 2:42 pm    Post subject: How to locate IRXEXCOM load module?
Reply with quote

I'm trying to use below statement to call IRXEXCOM from COBOL, but when I compile the program, job terminated with error saying 'IRXEXCOM' cannot be found.
Code:

CALL 'IRXEXCOM' USING IRXEXCOM-ID           
                      IRXEXCOM-PARM-1       
                      IRXEXCOM-PARM-1       
                      SHVBLOCK             
END-CALL                                   


I googled, and also referred to 'REXX reference', but still cannot find where the module resides.

Can anybody please help me on this?

THanks.
Back to top
View user's profile Send private message

expat

Global Moderator


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

PostPosted: Mon Mar 18, 2013 2:47 pm    Post subject:
Reply with quote

Sounds like something you should be asking your internal support group.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8400
Location: Dubuque, Iowa, USA

PostPosted: Mon Mar 18, 2013 2:50 pm    Post subject:
Reply with quote

While IBM provides default data set names, during the software installation process each site can customize those names as it sees fit. Hence, only someone working at your site will be able to tell you the name of the load library you need.
Back to top
View user's profile Send private message
dejunzhu

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Mon Mar 18, 2013 2:51 pm    Post subject:
Reply with quote

I found below information on this:
Quote:
IRXEXCOM can be used only if a
REXX exec has been enabled for variable access in the language processor environment.


there is the new question: how to set enabled for variable access in the language processor environment?
Back to top
View user's profile Send private message
dejunzhu

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Mon Mar 18, 2013 2:52 pm    Post subject:
Reply with quote

Robert Sample wrote:
While IBM provides default data set names,

well, I even cannot find what the default data set name is...
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2463
Location: Netherlands, Amstelveen

PostPosted: Mon Mar 18, 2013 2:55 pm    Post subject:
Reply with quote

The IRXEXCOM variable access routine lets unauthorized commands and programs access and manipulate REXX variables. IRXEXCOM can be used in both the TSO/E and non-TSO/E address spaces. IRXEXCOM can be used only if a REXX exec has been enabled for variable access in the language processor environment. That is, an exec must have been invoked, but is not currently being processed. For example, you can invoke an exec that calls a routine and the routine can then invoke IRXEXCOM. When the routine calls IRXEXCOM, the REXX exec is enabled for variable access, but it is not being processed. If a routine calls IRXEXCOM and an exec has not been enabled, IRXEXCOM returns with an error.

Here is your answer. You could have found that yourself, a bit lazy isnt it?
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1118
Location: Oostende, Belgium

PostPosted: Mon Mar 18, 2013 4:07 pm    Post subject:
Reply with quote

Code:
TSO ISRDDN
LPA
M IRXEXCOM
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10521
Location: italy

PostPosted: Mon Mar 18, 2013 4:11 pm    Post subject: Reply to: How to locate IRXEXCOM load module?
Reply with quote

why use a static call...
using a dynamic call will let Your program use the <current> implementation
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10521
Location: italy

PostPosted: Mon Mar 18, 2013 4:15 pm    Post subject: Reply to: How to locate IRXEXCOM load module?
Reply with quote

Code:
TSO ISRDDN
LPA
M IRXEXCOM


if the TS had known about LPA probably would not have posted
and would have followed the dynamic call approach icon_cool.gif

anyway to make things easier for him... just a plain
Code:
TSO ISRDDN
M IRXEXCOM

works as well
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1118
Location: Oostende, Belgium

PostPosted: Mon Mar 18, 2013 4:19 pm    Post subject: Reply to: How to locate IRXEXCOM load module?
Reply with quote

Without "LPA" you would not get the library, just:

Code:
Module IRXEXCOM was found to be already loaded. Note that
invocations of this program name may pick up another copy from
STEPLIB or a LIBDEF'ed data set or from a tasklib such as ISPLLIB.
Tab to a box and press enter to view the module in storage.
   +-------------------------+
   | PLPA resident           |
   | Resident above 16 Meg   |
   | Module address:060C91E0 |
   | Module size:   00045A38 |
   | Alias of IRXINIT        |
   | Reentrant               |
   | Serially reusable       |
   | Not loadable only       |
   | AMODE 31                |
   | Authorized library      |
   | Not Authorized program  |
   +-------------------------+
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10521
Location: italy

PostPosted: Mon Mar 18, 2013 4:27 pm    Post subject: Reply to: How to locate IRXEXCOM load module?
Reply with quote

icon_redface.gif I agree on that ...
my comment depends on my warped attitude to use whenever possible dynamic calls
so that if the <module> is in the standard search , the library is really irrelevant icon_wink.gif
Back to top
View user's profile Send private message
dejunzhu

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Mon Mar 18, 2013 5:12 pm    Post subject:
Reply with quote

Thank you all, I have located it.
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 LIST NODE DIRECTORY - db2 clp - tryin... elixir1986 IBM Tools 1 Sat Jul 07, 2018 6:15 pm
No new posts Need help on TDQ load from file using... subratarec CICS 4 Wed Jun 13, 2018 11:32 pm
No new posts can we hardcode a value in db2 load c... ram_vizag DB2 2 Wed Feb 28, 2018 11:04 pm
No new posts SQLCODE 518 while executing DB2 module. abdulrafi DB2 8 Wed Feb 07, 2018 10:46 am
No new posts load and delete table through JCL wit... ram_vizag JCL & VSAM 9 Thu Feb 01, 2018 12:47 am

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