We use EXCP for the I/O to our DB and when customers incorrectly allocate it as an extended format DS we fail with a S213-B8:
B8An OPEN was attempted against an extended-format data set with a DCB that specified EXCP. EXCP is not supported for extended-format data sets. Mike Shaw MVS/QuickRef Support Group Chicago-Doft, Ltd. On Fri, Dec 15, 2023, 11:07 AM Schmitt, Michael <michael.schm...@dxc.com> wrote: > I wonder if this explains why IBM File Manager doesn't allow Disk Browse > or Disk Print on PDSEs -- maybe their code using EXCP and they didn't want > to change it to use media manager. > > -----Original Message----- > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf > Of Lennie Dymoke-Bradshaw > Sent: Thursday, December 14, 2023 5:39 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Can this be done? > > I am assuming you are speaking of DASD based data sets rather than those > on tape or any other medium. > > I would have said use EXCP until recently. In addition you would need to > be APF authorised in order to open VSAM datasets using EXCP. > However, I understand however that there are some undocumented issues > running EXCP against data sets that are extended format. The DFP Advanced > Services manual states the following, > "The EXCP and EXCPVR macro instructions allow you to control the data > organization based on > device characteristics. The exceptions to this capability are partitioned > data sets extended (PDSEs), > extended format data sets, spooled and dummy data sets, TSO terminals, and > z/OS UNIX files and > file systems. They are not supported for user-written applications using > EXCP." > It seems likely to me that there are ways of circumventing these > restrictions. There is a low level interface called the media manager which > may do what you need. But the manual for this is not available to us mere > mortals. > As others have said, use ADRDSSU. > > Lennie Dymoke-Bradshaw > https: //rsclweb.com > -----Original Message----- > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf > Of Billy Ashton > Sent: 14 December 2023 15:44 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Can this be done? > > Hey everyone! I have a little down time here at the end of the year with > our freeze, and I wanted to play with some ideas I have had. > > I would like to write a program that can open any kind of file - PDS, > Sequential, Panvalet, loadlib, and maybe even VSAM components. I want to > open the file in "raw" format, as if I were going straight to the disk pack > and scooping up the bytes from the beginning of the allocation to the end. > > Is there any way to do this without caring about the catalog RECFM? > Obviously, the easiest way is through some JCL parameter that says "force > as PS" but I doubt that is likely. I can't go into more detail at present, > sorry! > > What do you think? > > Thank you and best regards, > Billy Ashton > > ---------------------------------------------------------------------- > 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 > > > > ---------------------------------------------------------------------- > 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