---------------------<snip>---------------------
NOTE and POINT, as reference to the current z/OS DFSMS MacroInstructions
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.
--------------------<unsnip>-------------------
With BSAM, in Assembler, you would READ a block. After scanning through
and determining that update is required, just issue a WRITE on the
block, using the same DECB that was used to READ it. Don't forget to do
a CHECK after each READ or WRITE. NOTE and POINT are not needed; OPEN
for UPDAT will set appropriate flags for address reuse, etc.
With QSAM, In Assembler, issue GET (Locate mode); when a record that
requires update is required, do the update then issue PUTX(Move mode).
In PL/1, OPEN the FILE for UPDATE, use sequential READ to locate records
to be updated. As each record is updated, use REWRITE to update the record.
I have no idea of the constructs for other languages. Which one you use
depends on your requirements and staff capabilities.
----------------------------------------------------------------------
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