> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On > Behalf Of David Day > Sent: Tuesday, February 27, 2007 4:17 PM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Re: Data Spaces or Hiperspaces > > I have no experience with Hiperspaces, but have coded data spaces on a > number of occasions. If you're going to play by the rules, the data space > is tied to the address space that creates it, so if you do this, you have > to > keep the address space that does the create around. Other than that, you > have to have a mechanism for making the alet of the data space available > to > these other address spaces when they need it. > > --Dave Day > ----- Original Message ----- > From: "Tom Savor" <[EMAIL PROTECTED]> > > > Is this possible or feasible from an Batch application standpoint ?? > > > > 1). Build data (create) into a Data Space or a Hiperspace in 1 Batch > job. > > 2). Access this data in many following Batch jobs. > > 3). At the end of Batch cycle, delete #1's Data Space or Hiperspace. > > If possible to do, then which is perferable ?? Data Space or Hiperspace > > ?? > > > > Any examples ?? > > > > Thanks, > > > > Tom Savor
Playing by the rules means that the data space is deleted automatically when the owning task terminates. This usually means at end of job step all data spaces created by the application are gone. If your application is running authorized (supervisor state key zero), then you can create a data space and "hang it" onto a higher level task in the address space. However, getting addressability to the data space is problematic, because of the way the PASN-AL (Primary Space Access List) is handled across job step tasks. Hiperspaces are usually used for windowing onto the files (VSAM?), but I don't recall at the moment the gory details. If you want data persistence across job steps or jobs, then you want a data set and probably want to use a hiperspace for a "window" onto the file. Jeffrey D. Smith Principal Product Architect Farsight Systems Corporation 700 KEN PRATT BLVD. #204-159 LONGMONT, CO 80501-6452 303-774-9381 direct 303-484-6170 FAX http://www.farsight-systems.com/ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html