On Wed, 5 Mar 2014 18:21:34 -0500, Micheal Butz wrote: > >I have 2 files and would li[k]e to see >If one or both or none exist > >I am using IDCAMS if-else sequence > An alternative if TSO is available is to use LISTDSI which (I think) returns "tracks used" in a variable. Requires that the data sets be on DASD and catalogued.
Or run LISTDS and scrape tracks used from its output. Damn! Why does OS/360 make things so difficult which should be easy!? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN