Re: Compile and run later

Rick Fochtman <[email protected]>
Newsgroups gmane.comp.emulators.turnkey-mvs
Message-ID <[email protected]>
-------------------------------<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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.