Hmmm. I've set UDT.OPTIONS 14 ON and UTD.OPTIONS 105 ON. It seems that if ON.ABORT defines a BASIC program to run (the same program that executed an ABORT, like a TCL.SHELL program), this whole process works only once. It then fails and returns me to ECL.
AE VOC SORRY Top of "SORRY" in "VOC", 3 lines, 69 characters. *--: P 001: PA 002: DISPLAY Sorry for aborting. ON.ABORT definition now running. 003: TEST Bottom. *--: EX Quit "SORRY" in file "VOC" unchanged. :AE BP TEST Top of "TEST" in "BP", 5 lines, 89 characters. *--: P 001: CRT "This test program is now running. Press [Enter] to abort. " : 002: INPUT ZZ,1 003: ABORT 004: * 005: END Bottom. *--: EX Quit "TEST" in file "BP" unchanged. :ON.ABORT SORRY :TEST This test program is now running. Press [Enter] to abort. ? (I pressed [Enter]) Sorry for aborting. ON.ABORT definition now running. This test program is now running. Press [Enter] to abort. ? (I pressed [Enter]) : If, instead of pressing [Enter] I pressed [Ctrl]+C I get the same thing. :TEST This test program is now running. Press [Enter] to abort. ?***DEBUGGER called at line 2 of program BP\_TEST !END Sorry for aborting. ON.ABORT definition now running. This test program is now running. Press [Enter] to abort. ?***DEBUGGER called at line 2 of program BP\_TEST !END : It doesn't seem as though I'm able to keep users from getting to ECL when they're running in a BASIC program. Setting UDT.OPTIONS 38, 41, and 77 didn't help either. Bill > -----Original Message----- > From: Bill Haskett [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 18, 2006 8:51 PM > To: '[email protected]' > Subject: RE: [U2] [UD] ON.ABORT > > Wally: > > Thank you. This will give me plenty to chew on, so to speak. :-) > > Bill Haskett > Advantos Systems, Inc. > www.advantos.net > (760)944-5570 (CA) > (360)923-4838 (WA) > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > Wally Terhune > > Sent: Thursday, May 18, 2006 7:36 PM > > To: [email protected] > > Subject: Fw: [U2] [UD] ON.ABORT > > > > UDT.OPTIONS 14 ON = if you type END in the debugger - > > run ON.ABORT paragraph You may also find the following > > UDT.OPTIONS of interest: 38, 41, 77, 105 > > > > Wally Terhune > > U2 Support Architect > > IBM Information Management > > 4700 South Syracuse Street, Denver, CO 80237 > > Tel: 303.773.7969 > > Fax: 303.773.5915 > > [EMAIL PROTECTED] > > > > > > ----- Forwarded by Wally Terhune/Denver/IBM on 05/18/2006 > > 08:29 PM ----- > > > > "Bill Haskett" > > <[EMAIL PROTECTED] > > os.net> > > To > > Sent by: > <[email protected]> > > [EMAIL PROTECTED] > > cc > > stserver.u2ug.org > > > > Subject > > [U2] [UD] ON.ABORT > > 05/18/2006 07:59 > > PM > > > > > > Please respond to > > [EMAIL PROTECTED] > > er.u2ug.org > > > > > > > > > > > > > > I'm running UD 7.1 on Windows 2003 and am trying to use the > > ON.ABORT command to prevent user access to ECL. According > > to the UD Commands Reference manual: > > > > "The ECL ON.ABORT command identifies a command that UniData > > executes when a UniBasic program aborts. command may be an > > ECL command, a paragraph, or a directly or globally cataloged > > UniBasic program. This setting remains in effect until you > > clear it with the CLEAR.ONABORT command." > > > > Reading the UD Windows Admin manual, the following note is > > made: > > > > "Note: You can also use the ECL ON.ABORT command to prevent > > users from accessing the ECL or MS-DOS prompt. ON.ABORT > > defines a paragraph that executes whenever a UniBasic > > program aborts. See the UniData Commands Reference for > > information about ON.ABORT." > > > > If I set ON.ABORT, in the login paragraph, to execute a > > BASIC main menu program, then press [Ctrl]+C to break > > out of the main menu, then enter "END" at the "!" debug > > prompt, I end up at the ECL prompt. I thought the > > command specified by the ON.ABORT command was supposed > > to execute (the main menu program). > > > > So, how does one keep anyone from getting to ECL by > > any means? > > > > As always, thanks. > > > > Bill Haskett ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
