MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Executing a compiled rexx program online

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
moyeenkhan
Beginner


Joined: 04 Dec 2002
Posts: 64
Topics: 21

PostPosted: Fri Oct 05, 2007 7:30 pm    Post subject: Executing a compiled rexx program online Reply with quote

I have compiled a rexx program. It works fine in Batch. Somehow I am unable to make it work running in ISPF as TSO command. Anyone done this. If so what are the steps needed to run this compiled rexx program in TSO.

Thanks
Back to top
View user's profile Send private message Send e-mail
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Oct 05, 2007 11:00 pm    Post subject: Reply with quote

What exactly does "unable to make it work" mean? I can think of at least 5 things that can go wrong but without knowing what you set up, how you compiled it (load module or CREXX format, which stub, etc), how you invoked it, what results you expected and what errors you got, no one can begin to help. Please try to formulate requests with useful information because otherwise we would just be guessing and that is a waste of everyone's time.
Back to top
View user's profile Send private message Visit poster's website
moyeenkhan
Beginner


Joined: 04 Dec 2002
Posts: 64
Topics: 21

PostPosted: Sat Oct 06, 2007 8:57 pm    Post subject: Reply with quote

semigeezer:
Sorry and I agree with you. I compiled using rexxc command and I have the module in a cexec library. I can run a batch job and get the results but when I try to run it as TSO command I got the message REQUESTED MODULE EAGRTPRC NOT FOUND. My sys programmer says that rexx modules are not in LPA. He asked me to load the libray thru ISPLLIB. I tried that but I got the same message. ( I don't know anything about EAGRTPRC!)

I hope my message is making sense to you.
Back to top
View user's profile Send private message Send e-mail
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Sun Oct 07, 2007 2:01 am    Post subject: Reply with quote

OK, thanks. The EAG modules are runtime modules, and should be available in a load library (get the name from your sysprog)... The suggestion to add them to ISPLLIB is probably correct, but the caveat is that you need to allocate ISPLLIB before you start ISPF. So try this...
  1. from within ISPF, type TSO ISRDDN; SAVE
  2. remove everything in there except the allocations to ISPLLIB. If there are none, create an ALLOC command to just allocate ISPLLIB to the load library with EAGRTPRC in it. Be sure to use SHR as a disposition.
  3. Exit ISPF and type EX 'userid.ISRDDN.CLIST' where userid is, of course, your userid. (if your TSO prefix is the same as your userid, you can just type EX ISRDDN and TSO will add the prefix and the CLIST suffix).
  4. Enter ISPF again and try the exec again from within ISPF

Of course, you can save the CLIST to some other member, but this is good for a quick try.
You can probably use the LIBDEF service to set this up within ISPF and then use the SELECT CMD() service to start it, but I afraid I can never quite remember what the keywords and exact sequence is for that.
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
moyeenkhan
Beginner


Joined: 04 Dec 2002
Posts: 64
Topics: 21

PostPosted: Sun Oct 07, 2007 5:47 am    Post subject: Reply with quote

Thanks for your help semigeezer. I will try it on Monday and will let you know the outcome.
Back to top
View user's profile Send private message Send e-mail
moyeenkhan
Beginner


Joined: 04 Dec 2002
Posts: 64
Topics: 21

PostPosted: Mon Oct 22, 2007 3:48 pm    Post subject: Reply with quote

I tried your way but I could not get it to corectly. After digging a lot, I had to add the libarry in my logon proc in STEPLIB.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group