I have a VSAM ESDS that gets dynamically allocated with status of MOD.  The 
dataset is normally opened for read only.  At one point in the logic, new 
records need to be added to the end of the dataset.  When this occurs, I close 
the dataset, re-gen the ACB, and try to re-open it.  I keep getting a return 
code of 8 from the OPEN.  I've specified MAREA on the ACB, but nothing is in 
this area after the OPEN.  The ACBERFLG field is 0's as well, but the return 
code from OPEN is 8.  The macrf from the first OPEN for read only is   
MACRF=(ADR,NDF,DIR,SEQ,IN,NSR,NUB).  The macrf for the update is  
(ADR,NDF,DIR,SEQ,OUT,NSR,NUB). Obviously I'm doing something wrong, and would 
appreciate any help.  How do I get VSAM to indicate to me what it doesn't like 
about wha I'm trying to do?

    --Dave Day 
 

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