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
 

 

IRXLOAD Sample Example

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

New User


Joined: 13 Dec 2012
Posts: 14
Location: India

PostPosted: Tue Apr 01, 2014 6:49 pm    Post subject: IRXLOAD Sample Example
Reply with quote

Hi,

I am looking for sample IRXLOAD code. My purpose is to load a particular exec routine in the Internal block (INstorage control block). I surfed the entire internet but did not find anything useful on IRXLOAD. Only theoritical concept of IRXLOAD is given. I even tried the ASM program from http://www.cbttape.org/xephon/xephonm/mvs9802.pdf but unfortunately it is not working. I even refered the 'Practical usage of MVS rexx' by Anthony.S.Rudd but there also the theoritical concept of IRXLOAD is given and not any practical example. It will be better if the implementation of IRXLOAD from PL/I program is being shared.

The whole purpose of this is I want to write file from IMS online service. In batch the file can be written but I need to find an way to write a file from IMS online program. And through IRXLOAD I can load an exec in the memory and can invoke this exec from IMS online program using IRXEXEC. But loading of the exec using IRXLOAD is the challenging part that I am facing
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Apr 01, 2014 7:49 pm    Post subject: Reply to: IRXLOAD Sample Example
Reply with quote

Quote:
The whole purpose of this is I want to write file from IMS online service.


the description of the requirement is pretty poor.

Quote:
And through IRXLOAD I can load an exec in the memory and can invoke this exec from IMS online program using IRXEXEC. But loading of the exec using IRXLOAD is the challenging part that I am facing

unfortunately there is the prerequisite of a TSO environment
Back to top
View user's profile Send private message
iqbal.mallick

New User


Joined: 13 Dec 2012
Posts: 14
Location: India

PostPosted: Tue Apr 01, 2014 8:10 pm    Post subject: Reply to: IRXLOAD Sample Example
Reply with quote

Thanks for your reply and sorry for my poor description but i am looking for sample IRXLOAD sample code that is being called from pli program. I would really appreciate if you could help in this regards
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 641
Location: Whitby, ON, Canada

PostPosted: Tue Apr 01, 2014 8:48 pm    Post subject:
Reply with quote

Do you have the approval of your IMS systems programmer to do this? Ours would be extremely unlikely to allow an online program to write to an external file. One (of many) reasons they would cite is that there would be no way to guarantee the integrity of the external file in the event of a transaction failure.

Another approach would be to change the online program to ISRT a transaction (via an express PCB) which would then run an MPP (which could be Rexx) to do the work. With enough persuasion our IMS guys might approve this technique, but would probably want the transaction to run in a 'special' MPR to keep it out of the way.

The traditional approach is to write the data to a DB2 table or IMS data base and then run another process (probably a BMP) to unload the data.
Back to top
View user's profile Send private message
iqbal.mallick

New User


Joined: 13 Dec 2012
Posts: 14
Location: India

PostPosted: Tue Apr 01, 2014 9:09 pm    Post subject:
Reply with quote

I think i can manage an approval from our IMS group. Actually i have develop a code coverage tool(to track the flow of program for a particular test case) for pli programs for my project. The tool is working fine for batch program and the flow is being written into a file. Seeing the success of the tool in case of batch my project wants me to develop it for online services. Once i thought of DB2 tables but i dont want to restrict my tool for any particular DB2 table as my project wants to circulate this tool to other accounts and projects. So i was thinking of using files. I have all the design and testing done for online service, the only challenge I am facing is loading the Exec through IRXLOAD. I went through a lot of materials but could not find a sample IRXLOAD from pl/i program. I am so close in finishing the tool but got stuck to IRXLOAD.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Apr 01, 2014 9:27 pm    Post subject: Reply to: IRXLOAD Sample Example
Reply with quote

the irxload is a performance tweak ...
preload a REXX script so that it will be in storage for the rest of the TSO session
and it would be the second step.

the first one would be to invoke the rexx scripts.

how do You plan to setup the REXX environment ???
Back to top
View user's profile Send private message
iqbal.mallick

New User


Joined: 13 Dec 2012
Posts: 14
Location: India

PostPosted: Tue Apr 01, 2014 9:49 pm    Post subject:
Reply with quote

Will IRXEXEC will not take care in setting up the rexx environment when called from Pl/i? May be I may be wrong but when I called IRXEXEC from a sample pli program it was able to write some content into a file that was not being declared inside the pli program.

Enrico could you please send me some sample codes for preloading rexx exec for TSO session? Will this work when IRXEXEC invokes the exec from pli? I will be glad if you could share some sample.
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 A sample of exit program for exit XMN... lind sh CICS 2 Mon Oct 03, 2016 5:07 pm
No new posts Can I use sort to select sample recor... Steve Ironmonger DFSORT/ICETOOL 3 Tue Nov 10, 2015 10:02 pm
No new posts sample report program kiran_65 COBOL Programming 4 Sat Jun 06, 2015 4:19 pm
No new posts ONCODE=8094 from IRXLOAD iqbal.mallick CLIST & REXX 8 Mon Apr 07, 2014 3:43 pm
No new posts ERROR in Displaying the Sample Panel ... Ramsee CLIST & REXX 4 Tue Nov 12, 2013 7:04 pm


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