RE: Unix "which" command equivalent for MVS ?
"Gordon SCOTT" <[email protected]> Mon, 21 Jun 2010 19:35:47 +0200
| Newsgroups | gmane.comp.emulators.turnkey-mvs |
|---|---|
| Message-ID | <000c01cb1168$302938f0$907baad0$@com> |
Hi there !
Simple to to an LD of all the progs in your LIBLIST either with sserv,
lserv or pserv. Look at ESA/390 Principles and Operation. Im getting
too old for this !
Gordon SCOTT
Software Engineer & Consultant
17 rue Professeur Rene Franquet
51100 REIMS
Tél : 03 51 85 57 75
Mobile : 06 82 14 65 67
This e-mail, any attachments and the information contained therein ("this
message") are confidential and intended solely for the use of the
addressee(s). If you have received this message in error please send it back
to the sender and delete it. Unauthorized publication, use, dissemination or
disclosure of this message, either in whole or in part is strictly
prohibited.
**********************************************************************
Ce message éléctronique et tous les fichiers joints ainsi que les
informations contenues dans ce message ( ci après "le message" ), sont
confidentiels et destinés exclusivement l'usage de la personne laquelle ils
sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer
à son émetteur et de le détruire. Toutes diffusion, publication, totale ou
partielle ou divulgation sous quelque forme que se soit non expressément
autorises de ce message, sont interdites.
**********************************************************************
Weinberg's Second Law: If builders built buildings the way programmers wrote
programs, the first woodpecker to come along would destroy civilization.
De : [email protected] [mailto:[email protected]] De la
part de Mike Stramba
Envoyé : lundi 21 juin 2010 18:22
À : [email protected]
Objet : [turnkey-mvs] Unix "which" command equivalent for MVS ?
*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?
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.
There seem to be similarities with it and MVS38j (lnklst ...etc), but
there are enough differences to pose a few "challenges" ;)
Mike