What happens if you just set your ALLOC to NEW CATALOG CATALOG? -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Joseph Reichman Sent: Thursday, July 17, 2025 10:45 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [EXTERNAL] Re: Contention problem TSO and batch job
Just did the file is gone deleted Get Outlook for iOS<https://urldefense.com/v3/__https://aka.ms/o0ukef__;!!KjMRP1Ixj6eLE0Fj!puyDjNFyKHE_rk5IaJr488Nw2rNp8Y7lMhJnqlptlt5o87NX_X0VjctkbZZhuvQeRSuEVHGfSEqKvnjMRB2Hp26bNbZlTPtWYeEH$ > ________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Pommier, Rex <00000737643a508d-dmarc-requ...@listserv.ua.edu> Sent: Thursday, July 17, 2025 11:37:02 AM To: IBM-MAIN@LISTSERV.UA.EDU <IBM-MAIN@LISTSERV.UA.EDU> Subject: Re: [EXTERNAL] Re: Contention problem TSO and batch job Just from curiosity, when you're done running the CLIST, did you try freeing the file from your TSO session? TSO FREE FI(O7010111) -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Joseph Reichman Sent: Thursday, July 17, 2025 10:32 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: Contention problem TSO and batch job This is from my job at the irs so I can’t cut and paste as I have trouble sending outbound email From joseph.reich...@irs.gov So here goes ALLOC FI(‘O7010111) NEW CATALOG DELETE DA(‘IFU05.BMF701.C39.O7010111’) USING(DCBPARAM) SPACE(15,15) CYLINDERS STORCLAS(STANDARD) MGMTCLAS(MTSOPRM) ATTRIB DCBPARM RECFM (V B) LRECL(31996) BLKSIZE(32000) DSORG(PS) In the batch job after I finish with clist I have //I7010201 DD DSN=IFU05.BMF701.C39.O7010111,DISP=SHR There is a contention message As the job is held When I log off tso and back on it is deleted Thanks On Thu, Jul 17, 2025 at 11:17 AM Charles Mills <charl...@mcn.org> wrote: > Oh Joe, Joe, Joe, ... > > Specifics, specifics, specifics, ... > > What is the exact allocation of the file in question? > > CM > > On Thu, 17 Jul 2025 11:09:47 -0400, Joseph Reichman > <reichman...@gmail.com> > wrote: > > >Hi > > > >I have a clist which I allocate an output file used to debug a > >program > under TSO TEST > > > >When that clist ends I would like to use the file in a batch job > > > >However I get a contention error > > > >When I free it or log off tso the file gets deleted > > > >Don’t understand this > > > >Can this be installation specfic > > ---------------------------------------------------------------------- > 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN