• Subject: Re: CHKOBJ/CHKDLO for IFS stream files
  • From: bdietz@xxxxxx
  • Date: Tue, 12 May 1998 21:33:35 -0400

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
+---


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].