Locating a command



IBM OS/370, MVS, OS/390, Linux, TPF, VM/CMS, VM/ESA, VSE/ESA, z/VM, z/VSE, z/OS, z/OS.e etc...

Locating a command

Postby harryseldon » Tue Jul 12, 2011 8:48 pm

I have a command I can execute from an edit screen that will run some diagnostics on JCL and then display the results. I can't figure out where the command is getting picked up from. Is there a mainframe equivalent to the which command that can tell me what library a command is being executed from? I checked my linklist and the usual places like proclib, cmdlib, etc but the command isn't in any of those locations.
harryseldon
 
Posts: 15
Joined: Thu Jul 29, 2010 12:27 am
Has thanked: 0 time
Been thanked: 0 time

Re: Locating a command

 

Re: Locating a command

Postby Peter_Mann » Tue Jul 12, 2011 9:32 pm

harryseldon wrote:I have a command I can execute from an edit screen that will run some diagnostics on JCL and then display the results. I can't figure out where the command is getting picked up from. Is there a mainframe equivalent to the which command that can tell me what library a command is being executed from? I checked my linklist and the usual places like proclib, cmdlib, etc but the command isn't in any of those locations.

from ISPF OPTION 6 (TSO)
ISRFIND <enter>
fill out appropriate info.
HTH
Peter
Peter
Peter_Mann
 
Posts: 139
Joined: Fri Jun 24, 2011 7:37 pm
Location: Lowell,AR
Has thanked: 15 times
Been thanked: 3 times

Re: Locating a command

Postby harryseldon » Wed Jul 13, 2011 12:20 am

Thanks, Peter. I tracked the commands down to some ISPF Edit Macro clists using the TSO command you gave me.
harryseldon
 
Posts: 15
Joined: Thu Jul 29, 2010 12:27 am
Has thanked: 0 time
Been thanked: 0 time

Re: Locating a command

Postby Peter_Mann » Wed Jul 13, 2011 12:27 am

Great!
ISRFIND is a handy tool :)
Peter
Peter
Peter_Mann
 
Posts: 139
Joined: Fri Jun 24, 2011 7:37 pm
Location: Lowell,AR
Has thanked: 15 times
Been thanked: 3 times


Return to Operating Systems

 


  • Related topics
    Replies
    Views
    Last post