|
I think that you could just execute the wrklnk command for the specific object WRKLNK OBJ('/web/welvome.html') OBJTYPE(*STMF) Since I mispelled the file name(on purpose) I got the following message: Message ID . . . . . . : CPFA0A9 Severity . . . . . . . : 40 Message type . . . . . : Diagnostic Date sent . . . . . . : 05/12/98 Time sent . . . . . . : 21:29:28 Message . . . . : Object not found. Cause . . . . . : Object /web/welvome.html/ could not be found or its type cannot be resolved by this function. I suppose that you could do the same in a program. Good Luck, Bryan Dietz 3X Corp. ========================== "System Support Products, Inc." <sspi@ix.netcom.com> on 05/12/98 02:50:07 PM Please respond to MIDRANGE-L@midrange.com To: MIDRANGE-L@midrange.com cc: (bcc: Bryan Dietz/Columbus/3X Corp) 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.