Re: Testing external file existance

From: JerryMouse (nospam_at_bisusa.com)
Date: 07/16/04


Date: Thu, 15 Jul 2004 21:29:50 -0500

Kris Dames wrote:
> I use rmcobol85 on redhat linux and I need a way to verify from within
> my program that a user-specified file exists in a specific location on
> the filesystem. For example, if the user inputs the filename
> "myfile.txt" I need to check the /tmp directory for the file and tell
> the user if the file exists or not. Any help would be appreciated!
>

Open the file. If you get an error, chances are the file's not there.



Relevant Pages

  • Testing external file existance
    ... I use rmcobol85 on redhat linux and I need a way to verify from within ... my program that a user-specified file exists in a specific location on ... if the user inputs the filename ...
    (comp.lang.cobol)
  • Re: Testing external file existance
    ... Kris Dames wrote: ... > I use rmcobol85 on redhat linux and I need a way to verify from within ... > my program that a user-specified file exists in a specific location on ... if the user inputs the filename ...
    (comp.lang.cobol)