On Thu, 13 Jun 2019 at 11:48, John McKown <john.archie.mck...@gmail.com> wrote:
> On Thu, Jun 13, 2019 at 10:44 AM Bill Ogden <og...@us.ibm.com> wrote: > > > My old memory is failing in too many areas. Long ago, I seem to recall, > > there was an easy way to read a VTOC with simple JCL using a "magic" > > DSNAME ----- obviously not 040404... for JCL, but some other name. Is my > > memory correct? What is the DSNAME? While playing with google I cannot > > find anything, but I might be using the wrong search words. > > Try: DSN=FORMAT4.DSCB,DISP=OLD,UNIT=SYSDA,VOL=SER=volser > I'm almost certain this is a kluge/feature implemented only by AMASPZAP, and not some JCL magic that works for just any program. FORMAT4.DSCB is documented in the "SPZAP: Modify data in programs and VTOCs" chapter of the "MVS Diagnosis: Tools and Service Aids" book. Whether you can Dynalloc the VTOC using the true name (44 bytes of 04) is another question. For that matter, does JCL reject it (it would have to be quoted, of course)? Tony H. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN