[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Problem Opening a File in SQR



OPEN returns 0 if successful, so you want

  if #Open1 = 0
     [process file]
  else
     [error message]
  end-if

If that doesn't fix your problem, please tell us exactly what happens, not
"it doesn't work" if you want advice instead of guesses.

Dave

At 08:49 PM 8/27/1998 +0530, you wrote:
>Hi,
>     Thankx a lot for the info. I changed it even then it is giving the
>same error.This is what i gave :
>
>!******************************************************
>     OPEN $d_file_Location as 1
>     FOR-READING
>     RECORD=10:fixed
>     STATUS=#Open1
>
>if #Open1 != 0
>