I had a problem once using TESTAUTH from CLIST without DATA PROMPT, but the details are long forgotten, except that it marked the time when I stopped using CLIST except when I specifically needed something CLIST did better, i.e. very rarely :-)
Roops On Thu, 17 Jul 2025, 17:43 Seymour J Metz, <sme...@gmu.edu> wrote: > Are you referring to DATA and DATA PROMPT? > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > עַם יִשְׂרָאֵל חַי > נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר > > > > > ________________________________________ > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf > of Rupert Reynolds <rreyno...@cix.co.uk> > Sent: Thursday, July 17, 2025 12:38 PM > To: IBM-MAIN@LISTSERV.UA.EDU <IBM-MAIN@LISTSERV.UA.EDU> > Subject: Re: Contention problem TSO and batch job > > > External Message: Use Caution > > > If the dataset is allocated with the equivalent of FREE=CLOSE (I forget the > TSO ALLOC syntax for that) and if the program being tested closes the file, > all should be good. > > If both TSO and batch job can allocate it SHR, that should work too. > > If the dataset is allocated by the same CLIST that runs TEST, you may have > to make changes. From memory a CLIST can interact with TEST after the TEST > command, so could you start TEST (or the CLIST) from Rexx, then have Rexx > issue a FREE after TEST (or THE CLIST) ends and returns to Rexx. > > Roops > > On Thu, 17 Jul 2025, 16:09 Joseph Reichman, < > 000005812645a43c-dmarc-requ...@listserv.ua.edu> 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 > > > > Thanks > > ---------------------------------------------------------------------- > > 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