Re: [U2] FW: Universe just quits
It also cleans the session up and leaves a system message (050005) in the errlog file of the uv folder so you can track who has been leaving their sessions active. Jerry Banker -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hona, David Sent: Wednesday, July 22, 2009 7:20 PM To: 'U2 Users List' Subject: Re: [U2] FW: Universe just quits Harold, Is there any reason you don't use the UV command AUTOLOGOUT to time out idle sessions? It does what you want already from within UV already (and can be setup individually or globally for all UV sessions) and doesn't have the problem of just looking at terminal keyboard input idle time like the UNIX who command does. Regards David -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold Sent: Thursday, 23 July 2009 7:01 AM To: U2 Users List Subject: Re: [U2] FW: Universe just quits Thanks to all who made suggestions. I'm definitely going to use some of them to improve processing. Good news: Universe is not at fault! So why did the process just end? Because a background process we run logs out processes idle for more than 3 hours. To determine idle time we check the 7th column of the output from the unix command who -HTR. Here was the surprise for me: even though the process was furiously performing I/O, as far as that unix command was concerned, it was idle. Oops! Easy to fix that, of course. The best parts of this were that UniVerse came through as more robust than I had worried it wasn't, and that contributors gave me some great advice. Thanks again to all. Harold Oaks ** IMPORTANT MESSAGE * This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] FW: Universe just quits
David, Henry: In my original testiing it seemed ineffective, with the following occurring if running our menu program in my testing: Your program has aborted from the application Please contact your system administrator Enter Q to log out or any key to continue= Just hitting the Enter key puts you right back into the menu, no actual logout, so it didn't do what we wanted. But, perhaps I was too hasty. Putting AUTOLOGOUT 180 in the LOGIN record in the VOC would implement it each time a user logged in, but how do you set it up globally? Many thanks- Harold -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hona, David Sent: Wednesday, July 22, 2009 5:20 PM To: 'U2 Users List' Subject: Re: [U2] FW: Universe just quits Harold, Is there any reason you don't use the UV command AUTOLOGOUT to time out idle sessions? It does what you want already from within UV already (and can be setup individually or globally for all UV sessions) and doesn't have the problem of just looking at terminal keyboard input idle time like the UNIX who command does. Regards David -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold Sent: Thursday, 23 July 2009 7:01 AM To: U2 Users List Subject: Re: [U2] FW: Universe just quits Thanks to all who made suggestions. I'm definitely going to use some of them to improve processing. Good news: Universe is not at fault! So why did the process just end? Because a background process we run logs out processes idle for more than 3 hours. To determine idle time we check the 7th column of the output from the unix command who -HTR. Here was the surprise for me: even though the process was furiously performing I/O, as far as that unix command was concerned, it was idle. Oops! Easy to fix that, of course. The best parts of this were that UniVerse came through as more robust than I had worried it wasn't, and that contributors gave me some great advice. Thanks again to all. Harold Oaks ** IMPORTANT MESSAGE * This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] FW: Universe just quits
Harold, You can define the global (or default) value for AUTOLOGOUT by creating a UV.LOGIN paragraph in the VOC file in the UV account. The UV.LOGIN paragraph gets executed before the LOGIN paragraph. This merely enforces a default autologout value, for all UV sessions system-wide. It isn't necessary, but if you have multiple accounts and limited UV licenses (i.e., more end-users than licenses) - then you'll find it very handy. All the Auto-logouts are logged in the errlog file in your UV account. Regards, David -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold Sent: Friday, 24 July 2009 1:56 AM To: U2 Users List Subject: Re: [U2] FW: Universe just quits David, Henry: In my original testiing it seemed ineffective, with the following occurring if running our menu program in my testing: Your program has aborted from the application Please contact your system administrator Enter Q to log out or any key to continue= Just hitting the Enter key puts you right back into the menu, no actual logout, so it didn't do what we wanted. But, perhaps I was too hasty. Putting AUTOLOGOUT 180 in the LOGIN record in the VOC would implement it each time a user logged in, but how do you set it up globally? Many thanks- Harold ** IMPORTANT MESSAGE * This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] FW: Universe just quits
If this were windows, I would throw memory leak out there. I've seen certain SELECT statements in Unidata leak - to the point the U2 PID eventually dies a very bad death back to the shell. On windows, we can see this using process explorer. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Tuesday, July 21, 2009 6:24 PM To: U2 Users List Subject: Re: [U2] FW: Universe just quits Hi Harold, Our system is UD, so YMMV, but we had issues with a process that would crash to ECL with no error message. We eventually traced the statement it crashed on to a WRITE (OSWRITE actually) that did not have an ON ERROR clause and would kill the process without warning. Lesson learnt. Don't assume it will always result in a error message being displayed on a crash. However, crashing to ECL/TCL is completely different to crashing to shell. I assume you run the program once already logged into Universe, not calling it through Universe from shell? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold Sent: Wednesday, 22 July 2009 7:55 AM To: U2 Users List Subject: [U2] FW: Universe just quits Hi Marc: Curretly I'm doing nothing special with the error handling. I note that errors when running a BASIC program print some error and drop to Universe (TCL) level. However in this situation there is no error displayed and we drop entirely out of Universe, to unix. I can certainly try the ON ERROR clause to see if something gets returned. Thanks--- Harold -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Marc Hilbert Sent: Tuesday, July 21, 2009 1:16 PM To: U2 Users List Subject: Re: [U2] Universe just quits Are you handling all potential I/O errors in your Basic code (e.g. ON ERROR, ELSE, LOCKED clauses on CLEARFILE, WRITE, READSEQ)? UV will often just drop out of a program if the errors aren't handled. Regards, Marc - Original Message - From: Oaks, Harold harold.o...@clark.wa.gov To: u2-users@listserver.u2ug.org Sent: Tuesday, July 21, 2009 3:41 PM Subject: [U2] Universe just quits I am having a very disconcerting problem. A long job I have been running, processing a large text file and then loading a Universe file, is simply quitting sometimes. No error message of any kind, Universe just quits, the session drops into unix. We have Universe 10.2 running over HPux 11.1. I have reduced the job to smaller pieces to get thru it and indicate data values so that I restart at about the dropout point. So I'll be able to finish but I would like to understand what's going on. Anybody seen this kind of thing before? Is there a Universe parameter I should look at? A unix kernal parameter? Any ideas appreciated. Thanks- Harold Oaks Sr. Analyst/Programmer Clark County Information Systems Clark County, Washington ph: (360) 397-6121 x4132 This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ ### The information transmitted in this message and attachments (if any) is intended only for the person or entity to which it is addressed. The message may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. The intended recipient of this e-mail may only use, reproduce, disclose or distribute the information contained
Re: [U2] FW: Universe just quits
I'm leaning towards the string too large theory. I'd definitely try this same thing with sequential I/O. -K ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] FW: Universe just quits
Thanks to all who made suggestions. I'm definitely going to use some of them to improve processing. Good news: Universe is not at fault! So why did the process just end? Because a background process we run logs out processes idle for more than 3 hours. To determine idle time we check the 7th column of the output from the unix command who -HTR. Here was the surprise for me: even though the process was furiously performing I/O, as far as that unix command was concerned, it was idle. Oops! Easy to fix that, of course. The best parts of this were that UniVerse came through as more robust than I had worried it wasn't, and that contributors gave me some great advice. Thanks again to all. Harold Oaks -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Wednesday, July 22, 2009 8:14 AM To: U2 Users List Subject: Re: [U2] FW: Universe just quits I'm leaning towards the string too large theory. I'd definitely try this same thing with sequential I/O. -K ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] FW: Universe just quits
The who command's interpretation of idle is solely based on terminal activity: Is there any input coming from the user? type of activity. Any unix process that does not have terminal i/o will register as idle in the who output. Gregor -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold Sent: Thursday, 23 July 2009 7:01 AM To: U2 Users List Subject: Re: [U2] FW: Universe just quits Thanks to all who made suggestions. I'm definitely going to use some of them to improve processing. Good news: Universe is not at fault! So why did the process just end? Because a background process we run logs out processes idle for more than 3 hours. To determine idle time we check the 7th column of the output from the unix command who -HTR. Here was the surprise for me: even though the process was furiously performing I/O, as far as that unix command was concerned, it was idle. Oops! Easy to fix that, of course. The best parts of this were that UniVerse came through as more robust than I had worried it wasn't, and that contributors gave me some great advice. Thanks again to all. Harold Oaks -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Wednesday, July 22, 2009 8:14 AM To: U2 Users List Subject: Re: [U2] FW: Universe just quits I'm leaning towards the string too large theory. I'd definitely try this same thing with sequential I/O. -K ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- Message protected by DealerGuard: e-mail anti-virus, anti-spam and content filtering. http://www.pentanasolutions.com Click here to report this message as spam: https://login.mailguard.com.au/report/1xUYc2DuCm/7HvnjYZB2DCQyJk1ZdTcqC/0 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] FW: Universe just quits
Harold, Is there any reason you don't use the UV command AUTOLOGOUT to time out idle sessions? It does what you want already from within UV already (and can be setup individually or globally for all UV sessions) and doesn't have the problem of just looking at terminal keyboard input idle time like the UNIX who command does. Regards David -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold Sent: Thursday, 23 July 2009 7:01 AM To: U2 Users List Subject: Re: [U2] FW: Universe just quits Thanks to all who made suggestions. I'm definitely going to use some of them to improve processing. Good news: Universe is not at fault! So why did the process just end? Because a background process we run logs out processes idle for more than 3 hours. To determine idle time we check the 7th column of the output from the unix command who -HTR. Here was the surprise for me: even though the process was furiously performing I/O, as far as that unix command was concerned, it was idle. Oops! Easy to fix that, of course. The best parts of this were that UniVerse came through as more robust than I had worried it wasn't, and that contributors gave me some great advice. Thanks again to all. Harold Oaks ** IMPORTANT MESSAGE * This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] FW: Universe just quits
Hi Harold, Our system is UD, so YMMV, but we had issues with a process that would crash to ECL with no error message. We eventually traced the statement it crashed on to a WRITE (OSWRITE actually) that did not have an ON ERROR clause and would kill the process without warning. Lesson learnt. Don't assume it will always result in a error message being displayed on a crash. However, crashing to ECL/TCL is completely different to crashing to shell. I assume you run the program once already logged into Universe, not calling it through Universe from shell? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold Sent: Wednesday, 22 July 2009 7:55 AM To: U2 Users List Subject: [U2] FW: Universe just quits Hi Marc: Curretly I'm doing nothing special with the error handling. I note that errors when running a BASIC program print some error and drop to Universe (TCL) level. However in this situation there is no error displayed and we drop entirely out of Universe, to unix. I can certainly try the ON ERROR clause to see if something gets returned. Thanks--- Harold -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Marc Hilbert Sent: Tuesday, July 21, 2009 1:16 PM To: U2 Users List Subject: Re: [U2] Universe just quits Are you handling all potential I/O errors in your Basic code (e.g. ON ERROR, ELSE, LOCKED clauses on CLEARFILE, WRITE, READSEQ)? UV will often just drop out of a program if the errors aren't handled. Regards, Marc - Original Message - From: Oaks, Harold harold.o...@clark.wa.gov To: u2-users@listserver.u2ug.org Sent: Tuesday, July 21, 2009 3:41 PM Subject: [U2] Universe just quits I am having a very disconcerting problem. A long job I have been running, processing a large text file and then loading a Universe file, is simply quitting sometimes. No error message of any kind, Universe just quits, the session drops into unix. We have Universe 10.2 running over HPux 11.1. I have reduced the job to smaller pieces to get thru it and indicate data values so that I restart at about the dropout point. So I'll be able to finish but I would like to understand what's going on. Anybody seen this kind of thing before? Is there a Universe parameter I should look at? A unix kernal parameter? Any ideas appreciated. Thanks- Harold Oaks Sr. Analyst/Programmer Clark County Information Systems Clark County, Washington ph: (360) 397-6121 x4132 This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ ### The information transmitted in this message and attachments (if any) is intended only for the person or entity to which it is addressed. The message may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. The intended recipient of this e-mail may only use, reproduce, disclose or distribute the information contained in this e-mail and any attached files with the permission of IMB. ### ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users