>PRINTDCB DCB   DSORG=PS,MACRF=(PM),RECFM=VBA,LRECL=137,          +
>              EXLST=DUMMYADR,EROPT=ACC,DCBE=PRDCBE 
>
>PRDCBE   DCBE  RMODE31=NONE,                                     +
>              SYNAD=DCBSYNEX

I'm missing the DDNAME parameter on the DCB. Does this mean you
let DYNALLOC assing one for you and you then move it to the DCB
before the OPEN? If so, any chance something is wrong with this code?

Any chance you're trying to open the data set twice? That is one of
the reasons you might get RC=8. 

Peter Hunkeler
CREDIT SUISSE

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