Re: Documentation for reading JES2
"Kevin Leonard" <kl_j76-/[email protected]>
| Newsgroups | gmane.comp.emulators.turnkey-mvs |
|---|---|
| Message-ID | <[email protected]> |
> As far as I know, there is no available documentation on JES2 > internals; I'm not even aware of anything for HASP, but I never > looked for any. Until about 1985, IBM taught a JES2 Internals class. There are probably class materials for it somewhere, but not currently online. The JES2 logic manual is: SY24-6000 OS/VS2 JES2 4.1 Logic which is the Holy Grail of my manual quest. I had it once, but it's gone. The HASP V4 logic manual is at bitsavers: http://computer-refuge.org/bitsavers/pdf/ibm/370/hasp/GY27-7255-0_HASP_II_Version_4_Logic_Sep76.pdf There are significant differences between JES2 and HASP -- in particular, JES2 is integrated into the operating system through the subsystem interface while HASP intercepts requests for spooled input/output by pretending to be unit record devices. Reading the HASP manual will give you a general idea of process flow, but keep in mind it's not going to be a perfect match for the JES2 environment. > Your best bet is to assemble the modules in SYS1.HASPSRC > (doubles as a macro library), start with HASPINIT, then > HASPRDR, then HASPPRPU. Those should show you the basics > of how job information is created and used. There's a member JES2JOB in SYS1.PROCLIB that assembles all JES2 source modules including HASPDOC, which expands all JES2 control blocks. JES2JOB is really a job, not a proc, so you can't just say "START JES2JOB"; you need to punch it and submit it as a job. It executes a proc called HASPASM, also found in SYS1.PROCLIB, which as it stands wants to create text decks in a SYS1.HASPOBJ data set. If all you want is to generate listings, create your own HASPASM proc with the assembler parm changed from DECK to NODECK and the SYSPUNCH DD statement deleted. -- Kevin