Re: [U2] (no subject)
That worked good. Thank you for that. Now all I have to do is change the font type to something like FIXEDSYS or COURIER NEW (both fixed fonts, not proportional) and my columns should line up properly. How do I do that? Robert On 7/28/2012 4:02 AM, Brian Leach wrote: Sounds like the printer is getting the job but doesn't understand what to do with it ..depending on the printer type it may need to use GDI calls. Try using SETPTR ,,AT myprintername,GDI Note; the first time you do a GDI print it takes forever to load the driver but after that it should be okay. (UniVerse) Brian ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] UNIDATA question (now that I got it working in UNIVERSE)
I wanted to mention that I got it working in UNIVERSE with this command: SETPTR ,,AT SAMSUNGM,GDI,BRIEF,FONTNAME Courier New And now I am trying to get it working in UNIDATA. It didn't like the above command. Robert On 7/28/2012 4:02 AM, Brian Leach wrote: Sounds like the printer is getting the job but doesn't understand what to do with it ..depending on the printer type it may need to use GDI calls. Try using SETPTR ,,AT myprintername,GDI Note; the first time you do a GDI print it takes forever to load the driver but after that it should be okay. (UniVerse) Brian ___ 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] cold start
(changed the subject line) How does one automatically execute a login when the U2 dbms service starts? If you're after a way to fire off paragraphs etc. when booting under Windows .. I've written a little windows service application in C# to do this for UniVerse, should be easy to do an equivalent for UniData. It fires off a uv executable to kick off a named paragraph in a specified account directory (which in turn can run a set of phantoms etc.). The key is that the service definition makes it dependent on the UniVerse Resource Service, so it won't start up until that is up and running, and once it has run it closes down until the next reboot. Brian -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett Sent: 10 August 2012 03:48 To: U2 Users List Subject: Re: [U2] dbpause/dbresume or stopud/startud I could be completely misunderstanding your comment ...execute a login as that user. Are you suggesting that I start the service under particular credentials and configure that user to have a login script (which then starts some U2 phantoms/processes)? What about the Allow service to interact with desktop checkbox available when a service starts with the local system account? Then, don't you have to mess with group policies and/or a netlogon share? What if the machine isn't part of a domain? As always, on this topic more questions are raised than were answered. :-) Bill - Original Message - *From:* wjhon...@aol.com *To:* u2-users@listserver.u2ug.org *Date:* 8/9/2012 5:45 PM *Subject:* Re: [U2] dbpause/dbresume or stopud/startud If stopud just kills the Windows services (I don't know what it does), that will not kill the phantoms. Each pid runs as a seperate Windows process and is not signalled when the main services are stopped. You can manually kill any pid however. Maybe stopud does more than that. We can stop the four main processes and users who are logged in, stay logged in. No one new can log in however. Someone more familiar with stopud should comment on what that does. You don't have to *alert* U2 that it's started. What you do is execute a login as that user. In that users login script you put the phantoms you want to start. So when that user logs in, the phantoms start. -Original Message- From: Bill Haskett wphask...@advantos.net To: U2 Users List u2-users@listserver.u2ug.org Sent: Thu, Aug 9, 2012 3:37 pm Subject: Re: [U2] dbpause/dbresume or stopud/startud I have no idea how that would be done. I use a U2 VB script to start services when Windows starts, but have no idea how to alert the dbms that it has started. :-( With a simple solution out there (it's been there for many years), I'm also amazed this simple issue hasn't been implemented. :-( Bill -- -- - Original Message - *From:* wjhon...@aol.com *To:* u2-users@listserver.u2ug.org *Date:* 8/9/2012 9:40 AM *Subject:* Re: [U2] dbpause/dbresume or stopud/startud You have to write a script that logs in as the phantom user, so that the jobs are launched inside U2. I really have no idea why IBM / Rocket didn't figure out a better way to solve this. See my past thread on the COLDSTART, a very useful command which went bye bye bye. -Original Message- From: Bill Haskett wphask...@advantos.net To: U2 Users List u2-users@listserver.u2ug.org Sent: Thu, Aug 9, 2012 9:33 am Subject: Re: [U2] dbpause/dbresume or stopud/startud As far as I know, Windows doesn't care about UniData. If the Volume Shadow Copy service is running the backups cruise right through everything. Now, to answer the question of whether it works, we're not 24/7 and I wouldn't use this if we were. However, since our systems are basically unused for 3 - 4 hours every night, this is a viable solution that hasn't caused me any problems over the years. I don't really know what files were locked when the backups are performed, but I have restored quite a bit of data over the years and have had no problems. Again, we're not a 24/7 shop so this solution is the most viable and inexpensive for our purposes. If I could manage to work through a mirrored solution that would be simple and inexpensive I'd do that, but I don't have the time or resources to traverse that path. :-o This brings up another point; when stopud is run, all phantoms are killed, right? When startud runs how are these phantoms all started up again? Bill Untitled Page - --- - Original Message - *From:* dwolv...@flash.net *To:* 'U2 Users List' u2-users@listserver.u2ug.org *Date:* 8/9/2012 8:29 AM *Subject:* Re: [U2] dbpause/dbresume or stopud/startud Hey -- this was a
Re: [U2] dbpause/dbresume or stopud/startud
Your routine runs on the local machine, as the local admin of that local machine. You run in, in other words, on the very same machine which is the universe machine, not remotely. -Original Message- From: Bill Haskett wphask...@advantos.net To: U2 Users List u2-users@listserver.u2ug.org Sent: Thu, Aug 9, 2012 8:14 pm Subject: Re: [U2] dbpause/dbresume or stopud/startud I could be completely misunderstanding your comment ...execute a login as that user. How does one automatically execute a login when the U2 dbms service starts? Are you suggesting that I start the service under particular credentials and configure that user to have a login script (which then starts some U2 phantoms/processes)? What about the Allow service to interact with desktop checkbox available when a service starts with the local system account? Then, don't you have to mess with group policies and/or a netlogon share? What if the machine isn't part of a domain? As always, on this topic more questions are raised than were answered. :-) Bill - Original Message - *From:* wjhon...@aol.com *To:* u2-users@listserver.u2ug.org *Date:* 8/9/2012 5:45 PM *Subject:* Re: [U2] dbpause/dbresume or stopud/startud If stopud just kills the Windows services (I don't know what it does), that will not kill the phantoms. Each pid runs as a seperate Windows process and is not signalled when the main services are stopped. You can manually kill any pid however. Maybe stopud does more than that. We can stop the four main processes and users who are logged in, stay logged in. No one new can log in however. Someone more familiar with stopud should comment on what that does. You don't have to *alert* U2 that it's started. What you do is execute a login as that user. In that users login script you put the phantoms you want to start. So when that user logs in, the phantoms start. -Original Message- From: Bill Haskett wphask...@advantos.net To: U2 Users List u2-users@listserver.u2ug.org Sent: Thu, Aug 9, 2012 3:37 pm Subject: Re: [U2] dbpause/dbresume or stopud/startud I have no idea how that would be done. I use a U2 VB script to start services when Windows starts, but have no idea how to alert the dbms that it has started. :-( With a simple solution out there (it's been there for many years), I'm also amazed this simple issue hasn't been implemented. :-( Bill - Original Message - *From:* wjhon...@aol.com *To:* u2-users@listserver.u2ug.org *Date:* 8/9/2012 9:40 AM *Subject:* Re: [U2] dbpause/dbresume or stopud/startud You have to write a script that logs in as the phantom user, so that the jobs are launched inside U2. I really have no idea why IBM / Rocket didn't figure out a better way to solve this. See my past thread on the COLDSTART, a very useful command which went bye bye bye. -Original Message- From: Bill Haskett wphask...@advantos.net To: U2 Users List u2-users@listserver.u2ug.org Sent: Thu, Aug 9, 2012 9:33 am Subject: Re: [U2] dbpause/dbresume or stopud/startud As far as I know, Windows doesn't care about UniData. If the Volume Shadow Copy service is running the backups cruise right through everything. Now, to answer the question of whether it works, we're not 24/7 and I wouldn't use this if we were. However, since our systems are basically unused for 3 - 4 hours every night, this is a viable solution that hasn't caused me any problems over the years. I don't really know what files were locked when the backups are performed, but I have restored quite a bit of data over the years and have had no problems. Again, we're not a 24/7 shop so this solution is the most viable and inexpensive for our purposes. If I could manage to work through a mirrored solution that would be simple and inexpensive I'd do that, but I don't have the time or resources to traverse that path. :-o This brings up another point; when stopud is run, all phantoms are killed, right? When startud runs how are these phantoms all started up again? Bill Untitled Page - Original Message - *From:* dwolv...@flash.net *To:* 'U2 Users List' u2-users@listserver.u2ug.org *Date:* 8/9/2012 8:29 AM *Subject:* Re: [U2] dbpause/dbresume or stopud/startud Hey -- this was a question I got though: Is there a way to make UniData VSS/Shadow-Copy 'aware'? Does that question come up to other people as they transition users to U2? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett Sent: Thursday, August 09, 2012 10:06 AM To: U2 Users List Subject: Re: [U2] dbpause/dbresume or stopud/startud David: I'm sure I don't have a