*nix has a handy command "which".
From the man page :
which [options] [--] programname [...]
Which takes one or more arguments. For each of its arguments it prints
to stdout the full path of the executables that would have been exe-
cuted when this argument had been entered at the shell prompt. It does
this by searching for an executable or script in the directories listed
in the environment variable PATH using the same algorithm as bash(1).
Is there an equivalent command for MVS (OS390r8)?
If not how would I write one?
I'm reading through 'ABC's of System Programming for OS390', and VOl #2, Chapter 4 "LPA, LNKLST, authorized libraries", and chapter 1, "IPL" have been helpful, in my attempt to understand how MVS searches for executables.
Mike