If I was doing this task (and assuming the data set in question was expected to reside on a disk) I would use Dynamic Information Retrieval and use a Text Unit that causes the DCB to be read from this disk, such as DINRTORG.
Lennie -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Joseph Reichman Sent: 16 February 2025 17:43 To: [email protected] Subject: Trying to determine if a dataset exists Hi Sorry about the previous post I fat finger it and didn’t now how to recall or delete Well here is my question I am getting some strange abends fro LOCATE Specifically abend 66D reason code 61 I am running the program from a clist under TSO TEST My goal is to determine whether the dataset exists Just wondering is S99VRBIN using SVC 99 would be a better way And If so what text units should I use Thank you ---------------------------------------------------------------------- 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
