Re: Compile and run later
Ron Hudson <[email protected]>
| Newsgroups | gmane.comp.emulators.turnkey-mvs |
|---|---|
| Message-ID | <[email protected]> |
On Wed, May 19, 2010 at 9:40 AM, Mike Stramba <[email protected]> wrote: > > > Well, answering my own question, adding > > //STEPLIB DD DSN=HERC01.LIB1.LOAD,DISP=SHR > > to SYS1.PROCLIB(TSOLOGON) > > *does* work, but what if I want it global, regardless of logon procedure ? > > Obviously I could add it to every logon procedure that might exist, > but that seems messy > > Mike > Can logon procedures call other procedures as subroutines? Perhaps you could have a system-wide procedure that is called by each of your logon procedures? (I dunno perhaps there is already a system-wide procedure that gets automatically called at logon time) > > > On 5/19/10, Mike Stramba <[email protected] <mikestramba%40gmail.com>> > wrote: > > Rick, > > > > Where do you setup "global implicit" libraries ? > > > > Add a STEPLIB to the logon proecedure in SYS1.PROCLIB(TSOLOGON) ? > > > > Mike > > > > On 5/19/10, Rick Fochtman <[email protected] <rfochtman%40ync.net>> > wrote: > >> -------------------------------<snip>---------------------------- > >> > >>> > >>> > >>> Well grid may have not been a good choice for this exercise, it prints > >>> out stuff (lots of stuff) > >>> and requires a > >>> > >>> FT006F001 dd sysout=a > >>> > >>> JCL line... > >>> > >>> So... I am working with a different piece of JCL to run it from the > >>> linklib: > >>> > >>> //RGRID JOB (PROD),'PRODUCTION', > >>> // CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1) > >>> //GRID EXEC PGM=GRID > >>> //FT06F001 DD SYSOUT=A > >>> > >>> And this seems to find grid - > >>> At first I had " 'HUDSON.LINKLIB(GRID)' " but it complained of the > >>> single quotes > >>> so I removed them... > >>> > >>> then I tried HUDSON.LINKLIB(GRID) (no quotes) and it complained of > >>> the dot. > >>> then I tried LINKLIB(GRID) and it then complained of the parentheses. > >>> so now it's just as you see it above PGM=GRID.. > >>> No complaints but an 806 abend... > >>> > >>> I gotta go look up a system 806 abend now .. aaand I am back - > >>> hmm it can't find my program ... > >>> but it does not want to be told 'HUDSON.LINKLIB(GRID)' either with or > >>> without single quotes. > >>> > >> ----------------------------<unsnip>--------------------------------- > >> Add the following JCL statement: > >> > >> //STEPLIB DD DSN=HUDSON.LINKLIB,DISP=SHR > >> > >> Note that STEPLIB is a special name, as is JOBLIB, but the placements > >> are different. > >> Put the STEPLIB card after the EXEC card. > >> > > > >