View previous topic :: View next topic
|
Author |
Message |
Ramanan-R
New User
Joined: 21 Mar 2007 Posts: 66 Location: Chennai, Tamilnadu, India
|
|
|
|
Hi All ,
In our shop, we execute few utility programs like ISRSUPC, SORT, IDCAMS etc., without giving Joblib.
Is there any way to find the Load libraries of above utility programs? If so, please let me know how to find it...
Thanks.
Regards,
Ramanan R |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Ramanan,
The load modules for SORT utilities would be in SYS2.LINKLIB. Try searching for SYS2.** for all the libraries. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Ramanan,
Quote: |
Is there any way to find the Load libraries of above utility programs? |
Speak with your shop MVS team. They will help you out. |
|
Back to top |
|
|
Ramanan-R
New User
Joined: 21 Mar 2007 Posts: 66 Location: Chennai, Tamilnadu, India
|
|
|
|
Hi Aaru and Murali,
Thanks for your suggestions...
I found the Load library of ISRSUPC.. and it is ISP.SISPLPA...
My actual requirement is to call ISRSUPC from REXX either by TSO CALL function or by ISPEXEC SELECT command..
I tried both but none worked out...
As per the forum rules, i'll raise a question in REXX forum.
Regards,
Ramanan R |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
Back to top |
|
|
Ramanan-R
New User
Joined: 21 Mar 2007 Posts: 66 Location: Chennai, Tamilnadu, India
|
|
|
|
e.s,
Thanks for the link..
LINKMVS, LINKPGM, ATTCHMVS, and ATTCHPGM are returning a RC of -3, whose explanation is given in the same link as below.
Quote: |
A -3 if the host command environment could not locate the program you specified |
But i could locate the load module manually in ISP.SISPLPA...
Thanks & Regards,
Ramanan R |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
Quite strange !?!?
I just checked and the way ISPF itself invokes ISRSUPC i thru :
Code: |
Address ISPEXEC SLECT PGM(ISRSUPC) PARM(&ZPARML) |
check again Your REXX script |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
Quote: |
The load modules for SORT utilities would be in SYS2.LINKLIB. Try searching for SYS2.** for all the libraries. |
maybe they are at Your shop !?!? |
|
Back to top |
|
|
Ramanan-R
New User
Joined: 21 Mar 2007 Posts: 66 Location: Chennai, Tamilnadu, India
|
|
|
|
e.s,
Thanks a lot...
Your code is working fine...
Can we execute other utilities like SORT, IDCAMS from REXX?
Regards,
Ramanan R |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
Quote: |
Can we execute other utilities like SORT, IDCAMS from REXX? |
It can be done ...
allocate command is roughly the equivalent of a dd statement
Address LINK, LINKMVS, LINKPGM are roughly the equivalent of the EXEC statement
sysin/sysprint management is a pain in the *** :-)
but in my long experience I found only a handful of situations where
I had to do it ( AND NEVER for SORT) and only for systems related work ! |
|
Back to top |
|
|
banu_parveen
New User
Joined: 30 Jan 2007 Posts: 6 Location: india
|
|
|
|
To find out where the load of any particular program resides we can give the following command on the Command line
"TSO FDRDEBUG 'The program name'" |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Banu,
Quote: |
"TSO FDRDEBUG 'The program name'" |
Isn't it a site-specific command? |
|
Back to top |
|
|
|