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
 

 

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: 8593
Location: Back in jolly old England

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: 7905
Location: Bellevue, IA

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: 2422
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

Active Member


Joined: 07 Feb 2009
Posts: 982
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
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

Active Member


Joined: 07 Feb 2009
Posts: 982
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
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 Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
This topic is locked: you cannot edit posts or make replies. ERROR WHILE SUBMITTING LOAD JOB ANURADHA NEELAKANTAN JCL & VSAM 12 Thu Aug 25, 2016 11:50 am
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 pm
No new posts How to get the program name of callin... pkmurali COBOL Programming 8 Mon Aug 01, 2016 3:36 am


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