I've got a program that writes full blocks using BSAM.

Its got:

OPEN  (WRITEDCB,(OUTPUT))
WRITEDCB DCB   DSORG=PS,MACRF=(WP),...

It also uses NOTE/POINT for repositioning.  So far so good.

Now I need to change it so that I can point to a BLOCK, *READ* it, and then
re-WRITE it and continue writing sequentially from there.

The options on OPEN and DCB are confusing to me:

1) do I need OUTIN on OPEN?  Its not clear to me reading "Macro Instructions
for / Using Datasets" what that even means.

2) do I need MACRF=(WP,RP) on the DCB?

3) will changing my current parameters for this new requirement affect the
performance of normal write operations?
BTW:  I'm already doing multiple queued/async writes/checks for performance,
which is working fine with good performance,
I just don't want to trash the performance by adding support for "replacing
a block" while writing.

Thanks in advance for your kind advice,

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

Reply via email to