Details please. Is it an existing or new dataset? Is it really partitioned? Does the DSCB already have a RECFM? Are you opening for input or output? Any chance of an AMODE inconsistency? Can you show us the SVC 99 code and the OPEN instruction?
Any chance you could add a snap dump of the DCB prior to the open to verify everything is the way you think it should be? > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of MichealButz > Sent: Wednesday, August 13, 2014 8:23 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Return code 8 from open > > Hi, > > > > I am dynamically allocating a loadlib the SVC 99 is successful however I get > a return code 8 when I try to open it > > I move the ddname returned by SVC 99 before I open it here is the layout of > my DCB for the loadlib > > > > DDCB DCB DDNAME=DDNAME,RECFM=U,DSORG=PO,MACRF=R > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN