At 08:04 PM 7/28/2008, Patti Jakusz wrote:

I'm having no luck using the CHKFILE command.  I've tried 3
different ways of writing my code and I keep getting messages
that don't make sense with the whole idea of the command.
set v ve2 INT
set v ve2 = (CHKFILE(filename.txt))
(and I know my file exists - I've tried a few different names.)
I get the following errors: Column or variable filename.txt not
found (2515) when I close that one, I get: Expression cannot be
evaluated (2179)

You MUST enclose the file name with your database default quotes.

Here's how:

Example:

SET VAR ve2 = (CHKFILE('filename.txt'))

OR

SET VAR ve2 = (CHKFILE("filename.txt"))

That's all there is to it!

Very Best R:egards,

Razzak.


Reply via email to