|
The stat() function might be your best bet, or perhaps access() depending on your mood. If it helps, you should be able to call this function from any ILE language, not just C. -Walden -----Original Message----- From: owner-midrange-l@midrange.com [mailto:owner-midrange-l@midrange.com]On Behalf Of System Support Products, Inc. Sent: Tuesday, May 12, 1998 2:50 PM To: MIDRANGE-L@midrange.com Subject: CHKOBJ/CHKDLO for IFS stream files Hello all, I'm looking for a CL counterpart to the CHKOBJ and CHKDLO commands for IFS stream files, and not having any luck. The closest thing I could find was to use the CHKIN command, because that would tell me if the file existed or not. Unfortunately, according to the IFS manual, CHKIN is not valid in all of the file systems. The only other option I can see is to write a small C program that uses the stat() function to get information about the file, and call it from the CL program. Any other ideas? Thanks, - Lou Forlini Software Engineer System Support Products, Inc. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.