No, but neither does LISTDSI; either way I need separate tests for ddn and dsn.
I may throw in the towel, make everything FB and reallocate. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Friday, December 29, 2023 12:36 PM To: [email protected] Subject: Re: Checking status of multiple datasets in CLIST and REXX On Fri, 29 Dec 2023 11:13:18 -0600, Jon Perryman wrote: >On Fri, 29 Dec 2023 09:40:33 -0600, Paul Gilmartin wrote: >>> >>How useful would BPXWDYN(INFO ,,,) be? >><https://www.ibm.com/docs/en/zos/3.1.0?topic=output-requesting-allocation-information> > >REXX function SYSDSN( ) will determine if a dataset exists without the >overhead of LISTDSI. > Does it report allocated status as the OP requested? in <https://www.ibm.com/docs/en/zos/3.1.0?topic=functions-using-sysdsn-function> i see: PROTECTED DATASET UNAVAILABLE DATASET What do those mean? Write protected? Read protected? ENQ SHR? ENQ EXC? ...? -- gil ---------------------------------------------------------------------- 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
