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 <[email protected]> On Behalf Of Joseph Reichman Sent: Thursday, July 17, 2025 10:32 AM To: [email protected] 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 [email protected] 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 <[email protected]> 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 > <[email protected]> > 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 [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
