Re: Anyone need a random number generator?
Ron Hudson <[email protected]>
| Newsgroups | gmane.comp.emulators.turnkey-mvs |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Apr 28, 2010 at 4:14 PM, Gerhard Postpischil <[email protected]>wrote: > > > On 4/28/2010 5:32 PM, Ron Hudson wrote: > > If I wanted to add other subroutines or functions to the > > source code would that be ok too? > > > > or should I duplicate this whole file and change names? > > Neither? Adding something to a system library is generally > considered undesirable; just consider what you will do when the > latest and greatest MVS release becomes available - do you > rename the volumes, copy all your changes from the old system, > and then name them back? > Re-install the items into the new library? (also this supposes that IBM will let us have MVS 40 A free and public domain...) > > The common way of doing this is to use your own library, and > concatenate it either in front, or behind, the system library > when you run. For example: > > //LKED.SYSLIB DD > // DD DISP=SHR,DSN=rons.library > Yes, Is there a way for my to share rons.library with others on the system (I am pretending this is a production system and I am an operator and system analyst in a shop with others) > > Note that doing this requires that the format of your library be > the same as the system's. Since SYS1.FORTLIB is a load-module > library (PDS with RECFM=U), your link-edit output will be just > fine. But in an earlier post you mentioned object code, which is > what the compiler produces in SYSLIN, and you fed into to LKED > step; these two forms are not interchangeable. > > and I am doing to learn in an area in which I have very little experience so I barely understand what you are saying but I have no idea how to properly implement it. I may even have a random number generator in some library somewhere that I don't know about. > Gerhard Postpischil > Bradford, VT > >