On Fri, 18 January 2002, "rich herdman" wrote:

> What's the best way to check for the existence of an IFS file in a
> CL program?  There is no CHKOBJ for the IFS.  I am running V5R1...

In the long run, it's best to create procedures over the appropriate APIs; but 
a quick interim solution is to use the CHKIN or CHKOUT commands.

These commands function somewhat like DLCOBJ and ALCOBJ for various 
combinations of object types and authorities. What might be useful to you are 
the monitorable error messages such as CPFA0A9=Object not found.

Be aware that if you successfully CHKOUT an object, you should CHKIN the object 

Tom Liotta

Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788
Fax  253-872-7904

The ALL NEW CS2000 from CompuServe
 Better!  Faster! More Powerful!
 250 FREE hours! Sign-on Now!

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 by 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.