We found CLOSE TYPE=T was required if the dataset is disk mirrored and you
want to be able to run the restart off the mirrored system.
Due to the overhead, we only recommend our customers do this if they are
using disk mirroring.

Robert Ngan
CSC Financial Services Group


|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Kirk Wolf <[email protected]>                                                
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[email protected]                                              
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |2010/06/25 09:10                                                             
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Requirements / benefits of CLOSE TYPE=T                                      
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|





I'm working on a BSAM library that supports asynch READ / WRITE mixed with
NOTE/POINT.
So far so good, but I would like some advice from I/O gurus on the list.

One of the functions in write mode is "flush()", which CHECKs all of the
outstanding WRITES.   (and a "NOTE" in write mode automatically causes a
flush()).

What are the benefits of adding an option to do CLOSE TYPE=T after flush()
and before the NOTE?

How does this affect "restart" processing if the job abended and wanted to
POINT to the last NOTE and restart?

Do I always want to do CLOSE TYPE=T between flush() and NOTE or make it an
option (is it expensive?)

Thanks in advance for your kind advice.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

Reply via email to