Am I missing something?  The DIR command confirms the existence of 
MAINDATA.ALL.  However, the CHKFILE function returns a "0" when I 
reference the file.

As a test, I referenced the TEMP.RMD file in the CHKFILE function and it 
returned a "1" as it should have.

Version:  R:BASE eXtreme 9.5 (64), U.S. Version, Build: 9.5.2.20228   (I'm 
aware it's not the latest before "someone" reminds me.  LOL.   There's a 
long story behind the reason.)

======================
Test using MAINDATA.ALL

R>dir maindata.all

 Volume in drive E is Archive
 Volume Serial Number is 4EFE-1D11

 Directory of E:\rbase\data95\

07/17/2013  04:09 PM       5,250,322,728 MAINDATA.ALL
           1 File(s)       5,250,322,728 bytes
           0 Dir(s)      162,725,699,584 bytes free
 
R>SET VAR VTEST = (CHKFILE('MAINDATA.ALL'))
 
R>SHOW VAR VT%
Variable           = Value                                   Type
------------------   ------------------------------          -------
VTEST              = 0                                        INTEGER
======================
 
======================
Test using TEMP.RMD which also exists in the same directory.

R>dir temp.rmd

 Volume in drive E is Archive
 Volume Serial Number is 4EFE-1D11

 Directory of E:\rbase\data95\

07/17/2013  04:27 PM                  83 TEMP.RMD
           1 File(s)                  83 bytes
           0 Dir(s)      162,725,699,584 bytes free

R>SET VAR VTEST = (CHKFILE('TEMP.RMD'))
 
R>SHOW VAR VT%
Variable           = Value                                   Type
------------------   ------------------------------          -------
VTEST              = 1                                        INTEGER


Suggestions? 

Mike Ramsour
AK Steel Coshocton Works
Quality Department
Phone:  740-829-4340
Cell:  740-502-1659

Confidentiality Notice
This message is intended exclusively for the individual or entity to which it 
is addressed and may contain privileged, proprietary, or otherwise private 
information.  
If you are not the named addressee, you are not authorized to read, print, 
retain, copy or disseminate this message or any part of it.  If you have 
received this message in error, please notify the sender immediately by e-mail 
and delete all copies of the message.

Reply via email to