Page 1 of 1

Locating a command

PostPosted: Tue Jul 12, 2011 8:48 pm
by harryseldon
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.

Re: Locating a command

PostPosted: Tue Jul 12, 2011 9:32 pm
by Peter_Mann
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

Re: Locating a command

PostPosted: Wed Jul 13, 2011 12:20 am
by harryseldon
Thanks, Peter. I tracked the commands down to some ISPF Edit Macro clists using the TSO command you gave me.

Re: Locating a command

PostPosted: Wed Jul 13, 2011 12:27 am
by Peter_Mann
Great!
ISRFIND is a handy tool :)
Peter