determining if database has been put in read-only mode
All,
I'm working on a backup script that will put the Intralink fileserver into read-only mode, make a dump file, and set the fileserver back to read-write. This is per "Method 2" in http://www.ptc.com/cs/cs_25/howto/bak1120/bak1120.htm
I'm curious if there's a convenient way to tell which mode the fileserver is in. Running the command to set the status (PDMTransactionSetRO and PDMTransactionSetRW work regardless of the current status).
The reason I'm asking is that my batch file to do all of this seems to just stop after making the dump file without running the final command. Here's the text of the batch file: