Steven > -----Original Message----- > From: [EMAIL PROTECTED] On Behalf Of Steven Frost > Sent: Monday, 15 May 2006 12:04 > To: U2 Users (E-mail) > Subject: [U2] UniData dbpause ( unix) > > Hi - I need a script to check if dbpause is on (using the > dbpause_status command) I am trying to pipe the output through > grep so I can tell the user in their login profile that the > database is paused for certain reasons, and do they really > really need to login
This implies they can login to UD even if 'dbpause' is set, so you could maybe put a program in the LOGIN VOC that does an EXECUTE 'dbpause_status' CAPTURING ... And parse out the information you need? Not quite so elegant, but... Mike The information contained in this Internet Email message is intended for the addressee only and may contain privileged information, but not necessarily the official views or opinions of the New Zealand Defence Force. If you are not the intended recipient you must not use, disclose, copy or distribute this message or the information in it. If you have received this message in error, please Email or telephone the sender immediately. ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/