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

Re: File Closing



Jyoti,

Sorry ... there is no mechanism within SQR to teel whether or not a file
channel is being used.

Peter

-----Original Message-----
From: Nandi, Jyotirmoy (Cognizant) [mailto:NJyotirm@CAL.COGNIZANT.COM]
Sent: Wednesday, May 01, 2002 7:31 AM
To: SQR-USERS@list.iex.net
Subject: File Closing
Importance: High


hi,

        is it possible to know in SQR whether a particular file is open or
not?? i want to judge whether a file is open before closing it. e.g.

        OPEN $Filename as 1 for-writing .....

        if (???)
           CLOSE 1
        end-if

rgds,
jyoti