John [McKown]:

SYS1.LINKLIB is the obvious example of a mixed PDS library, but it is
not a good example of much of anything.  It is very old, very much in
need of being "rearchitected"; but it is also essentially untouchable
because changing it would break too much old code.

My own practice is to use two copies in different libraries, with
different member names and a shared alias, for any executable that
needs to run both authorized and non-authorized.  Done manually, this
scheme is tedious and error-prone; but it is easy to automate.

I do this for reasons of systems integrity/security.   Long ago a
colleague of mine made changes in such a shared-use routine that
proved to be disastrous for its unauthorized use, and I was thus able
to learn this lesson vicariously, without having to make a fool of
myself.

In my experience, moreover, there are only a very small number of
these executables.  I use a lot of neutral common subroutines,
hundreds of them, of which I keep only one source-language and NCAL
load module or program object; but their use bound into different
executables, some authorized and some not, is unproblematic.

John Gilmore, Ashland, MA 01721 - USA

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to