Lindy Mayfield wrote:
Thanks all for the clarification.  This is a synopsis up what I learned,
which was sort of what I thought:

- Regular "record oriented" PS files can updated by basically opening
them for I/O and replacing a particular record.  They still have to be
sequentially scanned of course.  COBOL and EXECIO can both do this.

- A FBS PS dataset can be updated at any byte location (like an ESDS or
even LDS) using lower level routines provided by Assembler, IBM C and
SAS/C.  AMASPZAP could also be used.  If you write your own access
method you can even do random access I/O operations.

- Still, though, when you get down to it, it is still QSAM and
multi-user access (without some sort of higher level manager) would
solely depend on ENQ, which, if I'm not wrong, would be pretty lame.

- And finally, if it is an application programmer type asking, the
answer is just plain No.  (-:

That's a terrible attitude! If the application calls for it,
why would you lie to the application programmer? Honestly,
systems programmers can sometimes be so arrogant!


Regards,
Lindy

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of john gilmore
Sent: 20. elokuuta 2007 16:30
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.

And GET / PUTX only usable with QSAM. So what?


Much depends upon what kinds of update processing are required, in particular upon whether non-sequential processing is required.

John Gilmore
Ashland, MA 01721-1817
USA



--

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

  z/OS Application development made easier
    * Our classes include
       + How things work
       + Programming examples with realistic applications
       + Starter / skeleton code
       + Complete working programs
       + Useful utilities and subroutines
       + Tips and techniques

----------------------------------------------------------------------
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

Reply via email to