Re: Compile and run later
Ron Hudson <[email protected]>
| Newsgroups | gmane.comp.emulators.turnkey-mvs |
|---|---|
| Message-ID | <[email protected]> |
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. On Wed, May 19, 2010 at 3:32 AM, Mike Stramba <[email protected]> wrote: > > > >There is a mechanism for "implicit" running, e.g. anything in > SYS1.LINKLIB, SYS2.LINKLIB, but I'm not sure where that's setup. > > I meant to say, I'm not sure how you setup *additional* libraries to > be searched implicitly, in addition to SYS1.LINKLIB ..SYS1.LINKLIB > > > On 5/19/10, Mike Stramba <[email protected] <mikestramba%40gmail.com>> > wrote: > > 1) RPF won't let you edit / view certain types (not sure which) of > > datasets. > > The manual says "View not available, The specified dataset is not a > > card image library.", which I would *think* means 80 byte records (for > > 'card image'), but it *does* let me view a dataset with 121 Lrecl) > > > > Anway, > > At the TSO promp (or RPF option 6 (TSO), use the PDS command > > > > PDS HUDSON.LINKLIB > > d(isplay) > > **** should see 'GRID' ... and any other members you've compiled ** > > end **** exit PDS > > > > call 'hudson.linklib(grid)' > > > > There is a mechanism for "implicit" running, e.g. anything in > > SYS1.LINKLIB, SYS2.LINKLIB, but I'm not sure where that's setup. > > > > In "Intro to Zos Basics", page 496 "Search order for programs", > > http://tinyurl.com/23z7as4 > > > > it says > > "5. Libraries in the linklist, as specified in PROGxx and LNKLSTxx > > By default, the linklist begins with SYS1.LINKLIB, SYS1.MIGLIB, and > > SYS1.CSSLIB. However, you can change this order using SYSLIB in > > PROGxx and add other libraries to the linklist concatenation. The system > > must bring modules found in the linklist into private area virtual > > storage before > > the programs can run. > > The default search order can be changed by specifying certain options on > > the > > macros used to call programs. The parameters that affect the search order > > the > > system will use are EP, EPLOC, DE, DCB, and TASKLIB. For more information > > about these parameters, see the topic about the search for the load > module > > in > > z/OS MVS Programming: Assembler Services Guide. Some IBM subsystems > > (notably CICS and IMS) and applications (such as ISPF) use these > facilities > > to > > establish other search orders for programs." > > > > I don't know what relevance that has to Turnkey (MVS38j) > > > > You can also add a CLIST in either Hudson.CMDPROC or SYS1.CMDPROC :, > > just putting the same command as above : > > > > Just add a member called whatever, e.g. RUNGRID, or even just GRID > > > > call 'hudson.linklib(grid)' > > > > Then you'll be able to just type GRID at the TSO prompt. > > > > Mike > > > > > > On 5/19/10, Ron Hudson <[email protected] <hudson.ra%40gmail.com>> > wrote: > >>> > >>> I susspected It was something like that - I now have a new PDS (I think > >> it's a PDS) > >> but I cant 'E' it in RPF menu 3.4 to verify it has a member named "Grid" > >> > >> HUDSON.DATA.DATA PUB002 10.138 PO FB 80 3120 1 > >> 300 > >> 299 > >> HUDSON.FORT.FORTH PUB000 10.138 PO FB 80 3120 1 > >> 30 5 > >> HUDSON.LINKLIB MVSCAT 10.138 PO U 0 32760 1 > >> 45 44 > >> HUDSON.PROG.PL1 PUB002 10.133 PO FB 80 3120 1 > >> 150 > >> 149 > >> > >> So, How do I run it now? > >> > > > >