Ed, I don't consider this exceptionally ideal, only normal practice. In our systems, all datasets are SMS managed and therefor cataloged. All tapes are supposed to be cataloged and in fact, we have no processes running with uncataloged tapes. Even tapes coming from our TPF systems are administrated in the CA1 TMC and cataloged in the catalogs, so they can also be processed them as normal, cataloged datasets.
Hillario does not mention what his normal situation is and if he needs to be able to handle exotic circumstances, but if not, I consider IDCAMS LISTC the right tool. Kees. "Ed Gould" <[email protected]> wrote in message news:<[email protected]>... > Kees, > > In an ideal world yes. However just because a data set is cataloged, it doesn't necessarily exist ie space allocated on a dataset and or cataloged to a tape but the tape is not might now "belong" to someone see. > > Ed > > Sent from my iPad > > On Jul 14, 2011, at 7:58 AM, "Vernooij, CP - SPLXM" <[email protected]> wrote: > > > "Hilario G." <[email protected]> wrote in message > > news:<[email protected]>... > >> Hello folks, > >> > >> I have several batch processes that contain empty files or files that > > do not exist. > >> > >> I need to control the execution of certain programs based on the > > existence of these files (including files created empty). > >> > >> I try to used IDCAMS but didn't work in my tests. > >> > >> Thank you very much everyone. > >> > > > > IDCAMS LISTC will give a returncode based on the result, i.e. the > > existence of the file. > > > > Kees. > > ******************************************************** > > For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. > > > > Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. > > Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 > > ******************************************************** > > > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: GET IBM-MAIN INFO > > Search the archives at http://bama.ua.edu/archives/ibm-main.html > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html ******************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ******************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

