View previous topic :: View next topic |
Author |
Message |
moyeenkhan Beginner
Joined: 04 Dec 2002 Posts: 64 Topics: 21
|
Posted: Fri Oct 05, 2007 7:30 pm Post subject: Executing a compiled rexx program online |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Oct 05, 2007 11:00 pm Post subject: |
|
|
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 |
|
 |
moyeenkhan Beginner
Joined: 04 Dec 2002 Posts: 64 Topics: 21
|
Posted: Sat Oct 06, 2007 8:57 pm Post subject: |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Sun Oct 07, 2007 2:01 am Post subject: |
|
|
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...
- from within ISPF, type TSO ISRDDN; SAVE
- 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.
- 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).
- 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 |
|
 |
moyeenkhan Beginner
Joined: 04 Dec 2002 Posts: 64 Topics: 21
|
Posted: Sun Oct 07, 2007 5:47 am Post subject: |
|
|
Thanks for your help semigeezer. I will try it on Monday and will let you know the outcome. |
|
Back to top |
|
 |
moyeenkhan Beginner
Joined: 04 Dec 2002 Posts: 64 Topics: 21
|
Posted: Mon Oct 22, 2007 3:48 pm Post subject: |
|
|
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 |
|
 |
|
|