In article <[EMAIL PROTECTED]> you wrote: > > -----Original Message----- > > From: IBM Mainframe Discussion List > > [mailto:[EMAIL PROTECTED] On Behalf Of john gilmore > > Sent: Monday, August 20, 2007 8:30 AM > > To: [email protected] > > Subject: Re: ways to update PS files? > > > > > > As usual, we have a lot of people posting comments about > > things they know > > little about. > > > > NOTE and POINT, as reference to the current z/OS DFSMS Macro > > Instructions > > for Data Sets manual will confirm, are usable only with BSAM and BPAM.
Was someone insisting that QSAM be used? > > > > Much depends upon what kinds of update processing are required, in > > particular upon whether non-sequential processing is required. > > > > John Gilmore > I think the simpliest answer to this question is just plain NO. Granted, > that technically it can be done, it is not something that your average > application programmer would want to try. If something needs to be > updated "ad hoc", then I'd suggest AMASPZAP. If something needs to be > updated with any regularity, then I'd strongly suggest that an ESDS > would be simplier to do than a PS file. The only minus is that an ESDS > cannot be read as easily by an application as a PS file. Too bad IBM > didn't make a "PS compatability" interface so that an ESDS could be > read/written via a QSAM or BSAM DCB in addition to a DCB. I think that > this is possible in z/VSE's version of an ESDS (but I could easily be > wrong). If you can specify the RECFM of the dataset, then PS files are easy to update and very fast. C programmers are used to using fseek, ftell and so forth. I'm not sure if they consider themselves "average", but I doubt they look on themselves as rocket scientists. > -- > John McKown > Senior Systems Programmer > HealthMarkets > Keeping the Promise of Affordable Coverage > Administrative Services Group > Information Technology -- Don Poitras - SAS Development - SAS Institute Inc. - SAS Campus Drive [EMAIL PROTECTED] (919) 531-5637 Cary, NC 27513 ---------------------------------------------------------------------- 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

