Re: [U2] Universal COMO
What's the reason for using a variable, @MY_COMO, instead of the actual path ? -Original Message- From: Bill Haskett wphask...@advantos.net To: U2 Users List u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 7:22 pm Subject: Re: [U2] Universal COMO In UniData (on Windows) this is pretty simple. First you create an environment variable for the como file (e.g. MY_COMO) that points to the directory under which you've created a _PH_ directory and a D__PH_ dictionary file. Then you create a VOC item as follows: _PH_ 001 DIR 002 @MY_COMO\_PH_ 003 @MY_COMP\D__PH_ ...to include in every account's VOC file. This will now act as a centralized como repository. I do this with the _HOLD_ directory, as everyone on our machines share the same spooler file, and each spooler file name is a unique .txt file. I'm sure it would be even easier on a nix machine. :-) Bill - Original Message - *From:* peter.che...@firstmac.com.au *To:* U2 Users List u2-users@listserver.u2ug.org *Date:* 1/23/2013 6:31 PM *Subject:* Re: [U2] Universal COMO Hi Will, I think the biggest *con* you might come up against will be concurrency issues with multiple processes writing to the one central location. If you had a solution where each session log is unique amongst all processes then that would work very well. You will still need to clean it out though whether it be one big centralised dir or one for each account. As others have indicated, and if you run a unix box, then an overnight cron job to find and clean out any COMO dirs older than a set number of days would an option for you. I would suggest that you identify any logs that were important historically to you and roll them first. Probably zipping them up and moving them to an archive area would be viable. Google may even cough up a log rotate script that you could adapt. Regards, Peter -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Thursday, 24 January 2013 4:28 To: u2-users@listserver.u2ug.org Subject: [U2] Universal COMO By default, Universe will create several files in each account you create. Like SAVEDLISTS, and ED... one of these default files is COMO which is where you can stick session logs. We use this constantly to monitor the output of phantoms, for review and debugging the next day. The logs are emailed to myself and some other programmers here. By altering the VOC entries in the accounts, we could have a central, universal COMO for all accounts, instead of one for each account. I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? Will Johnson ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users --- Note: This email (inc all attachments) is for the use of the intended recipient(s) only. Privileged or confidential information may be contained in this communication. If you have received this email in error, please notify the sender immediately and then delete all copies of this message from your computer network. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission. If you are the intended recipient and you do not wish to receive similar electronic messages from us in future, then please respond to the sender to this effect. We have taken precautions to minimise the risk of transmitting software viruses, but advise you to carry out your own virus checks on this email and its attachments. We do not accept liability for any loss or damage caused by software viruses and do not represent that this transmission is free from viruses or other defects. Firstmac Limited (ABN 59 094 145 963) (AFSL 290600) --- ___ 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 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Universal COMO
So you do what you want to do, but not hard code it and hence require manual updating of all those VOCs. When you want to move for some reason...like lack of disk space or a new disk letter... UD also supports multiple version to operate on the same host/server...done mainly through the use of shell variables to point to proper version. Much like you can do with Oracle too. Now that would be handy if UV could do that too...especially when upgrading/test new releases, etc. Back to your query... In the past we use to have multiple UV accounts from the old legacy systems. But then we bit the bullet and simply created a single account. Not all sites can do this if you have duplicate filenames. We had few files like this and just renamed them and end up prefixing the duplicates with the (original) account name to ease the transition. Then we just change any applications/dictionaries that use to refer to. We didn't have any issues with duplicate HOLD, SAVEDLISTS nor COMO filenames. But you do have to aware of potential gotchas like this when applications start overwriting each other's' output. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Thursday, 24 January 2013 7:07 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Universal COMO What's the reason for using a variable, @MY_COMO, instead of the actual path ? -Original Message- From: Bill Haskett wphask...@advantos.net To: U2 Users List u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 7:22 pm Subject: Re: [U2] Universal COMO In UniData (on Windows) this is pretty simple. First you create an environment variable for the como file (e.g. MY_COMO) that points to the directory under which you've created a _PH_ directory and a D__PH_ dictionary file. Then you create a VOC item as follows: _PH_ 001 DIR 002 @MY_COMO\_PH_ 003 @MY_COMP\D__PH_ ...to include in every account's VOC file. This will now act as a centralized como repository. I do this with the _HOLD_ directory, as everyone on our machines share the same spooler file, and each spooler file name is a unique .txt file. I'm sure it would be even easier on a nix machine. :-) Bill ** 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] Universal COMO
On 23/01/13 23:11, Wjhonson wrote: That's not however to what he is referring. Not a cron job, but rather a way to specify directories to BE temporary. Sort of a flag or something. I've never heard of that before. Implemented by cron, I believe ... But I know yast had it (the SuSE admin tool). You just gave it a list of directories, and how long to keep stuff, and it would clean them out for you. Cheers, Wol -Original Message- From: Dan Ell d...@jbase.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 1:48 pm Subject: Re: [U2] Universal COMO Ahh. In that case, my guess is directories as temporaries with time-outs means you have certain log directories in *nix that are cleaned up based on date. This is typically done with a cronjob that uses find and simply removes old logs at a preset time (usually in the wee hours of the morning). Here is a find command to purge vsifax outbound faxes over 7 days old. find /usr/vsifax3/faxq/vsifax -mtime +7 -exec rm -rf {} \; I believe that command added to the cron to run everyday at 1am would define /usr/vsifax3/faxq/vsifax as temporary with time-outs. 1 0 * * * /usr/bin/find /usr/vsifax3/faxq/vsifax -mtime +7 -exec rm -rf {} \; #Clears vsifax report files and faxes older than 7 days -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of wjhon...@aol.com Sent: Wednesday, January 23, 2013 3:37 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Universal COMO To be more clear declare certain directories as temporaries with time-outs. -Original Message- From: Dan Ell d...@jbase.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 11:27 am Subject: Re: [U2] Universal COMO According to Google this has several meanings: Pronoun Used to identify a specific person or thing close at hand or being indicated or experienced: is this your bag?. Adjective Used to identify a specific person or thing close at hand or being indicated or experienced: don't listen to this guy. Adverb To the degree or extent indicated: they can't handle a job this big. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Wednesday, January 23, 2013 2:22 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Universal COMO I don't understand at all what this means. I tried to Google it and I get a million false hits, without a more specific name for which to look -Original Message- From: Wols Lists antli...@youngman.org.uk To: u2-users u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 11:15 am Subject: Re: [U2] Universal COMO On 23/01/13 18:28, Wjhonson wrote: I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? This isn't a pro, in that that is perfectly possible, certainly in *nix. I'm not sure how it's done, but it's pretty standard to declare certain directories as temporaries with time-outs. Just add the COMO directories to that list ... you could probably automate that. Cheers, Wol ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Universal COMO
By default, Universe will create several files in each account you create. Like SAVEDLISTS, and ED... one of these default files is COMO which is where you can stick session logs. We use this constantly to monitor the output of phantoms, for review and debugging the next day. The logs are emailed to myself and some other programmers here. By altering the VOC entries in the accounts, we could have a central, universal COMO for all accounts, instead of one for each account. I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? Will Johnson ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Universal COMO
Depending on the naming convention used, you might step on another COMO that you wish to preserve. Add the account name to the COMO name to avoid this (or something like that). Permissions could be an issue depending on your set up. However, with a bit of thought, this could be very useful. One-stop shopping. JRI -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Wednesday, January 23, 2013 1:28 PM To: u2-users@listserver.u2ug.org Subject: [U2] Universal COMO By default, Universe will create several files in each account you create. Like SAVEDLISTS, and ED... one of these default files is COMO which is where you can stick session logs. We use this constantly to monitor the output of phantoms, for review and debugging the next day. The logs are emailed to myself and some other programmers here. By altering the VOC entries in the accounts, we could have a central, universal COMO for all accounts, instead of one for each account. I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? Will Johnson ___ 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] Universal COMO
Too many files in a single UNIX directory resulting in sluggish access to the como files. Wally Terhune Technical Support Engineer Rocket Software 4600 South Ulster Street, Suite 1100 **Denver, CO 80237 **USA t: +1 720 475 8055 **e: wterh...@rocketsoftware.com **w: u2.rocketsoftware.com Rocket U2 Support: +1.800.729.3553 ** Please note that I am only available on Tuesdays and Thursdays. ** -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Wednesday, January 23, 2013 11:28 AM To: u2-users@listserver.u2ug.org Subject: [U2] Universal COMO By default, Universe will create several files in each account you create. Like SAVEDLISTS, and ED... one of these default files is COMO which is where you can stick session logs. We use this constantly to monitor the output of phantoms, for review and debugging the next day. The logs are emailed to myself and some other programmers here. By altering the VOC entries in the accounts, we could have a central, universal COMO for all accounts, instead of one for each account. I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? Will Johnson ___ 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] Universal COMO
On 23/01/13 18:28, Wjhonson wrote: I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? This isn't a pro, in that that is perfectly possible, certainly in *nix. I'm not sure how it's done, but it's pretty standard to declare certain directories as temporaries with time-outs. Just add the COMO directories to that list ... you could probably automate that. Cheers, Wol ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Universal COMO
I don't understand at all what this means. I tried to Google it and I get a million false hits, without a more specific name for which to look -Original Message- From: Wols Lists antli...@youngman.org.uk To: u2-users u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 11:15 am Subject: Re: [U2] Universal COMO On 23/01/13 18:28, Wjhonson wrote: I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? This isn't a pro, in that that is perfectly possible, certainly in *nix. I'm not sure how it's done, but it's pretty standard to declare certain directories as temporaries with time-outs. Just add the COMO directories to that list ... you could probably automate that. Cheers, Wol ___ 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] Universal COMO
According to Google this has several meanings: Pronoun Used to identify a specific person or thing close at hand or being indicated or experienced: is this your bag?. Adjective Used to identify a specific person or thing close at hand or being indicated or experienced: don't listen to this guy. Adverb To the degree or extent indicated: they can't handle a job this big. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Wednesday, January 23, 2013 2:22 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Universal COMO I don't understand at all what this means. I tried to Google it and I get a million false hits, without a more specific name for which to look -Original Message- From: Wols Lists antli...@youngman.org.uk To: u2-users u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 11:15 am Subject: Re: [U2] Universal COMO On 23/01/13 18:28, Wjhonson wrote: I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? This isn't a pro, in that that is perfectly possible, certainly in *nix. I'm not sure how it's done, but it's pretty standard to declare certain directories as temporaries with time-outs. Just add the COMO directories to that list ... you could probably automate that. Cheers, Wol ___ 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 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Universal COMO
To be more clear declare certain directories as temporaries with time-outs. -Original Message- From: Dan Ell d...@jbase.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 11:27 am Subject: Re: [U2] Universal COMO According to Google this has several meanings: Pronoun Used to identify a specific person or thing close at hand or being indicated or experienced: is this your bag?. Adjective Used to identify a specific person or thing close at hand or being indicated or experienced: don't listen to this guy. Adverb To the degree or extent indicated: they can't handle a job this big. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Wednesday, January 23, 2013 2:22 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Universal COMO I don't understand at all what this means. I tried to Google it and I get a million false hits, without a more specific name for which to look -Original Message- From: Wols Lists antli...@youngman.org.uk To: u2-users u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 11:15 am Subject: Re: [U2] Universal COMO On 23/01/13 18:28, Wjhonson wrote: I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? This isn't a pro, in that that is perfectly possible, certainly in *nix. I'm not sure how it's done, but it's pretty standard to declare certain directories as temporaries with time-outs. Just add the COMO directories to that list ... you could probably automate that. Cheers, Wol ___ 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 ___ 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] Universal COMO
Ahh. In that case, my guess is directories as temporaries with time-outs means you have certain log directories in *nix that are cleaned up based on date. This is typically done with a cronjob that uses find and simply removes old logs at a preset time (usually in the wee hours of the morning). Here is a find command to purge vsifax outbound faxes over 7 days old. find /usr/vsifax3/faxq/vsifax -mtime +7 -exec rm -rf {} \; I believe that command added to the cron to run everyday at 1am would define /usr/vsifax3/faxq/vsifax as temporary with time-outs. 1 0 * * * /usr/bin/find /usr/vsifax3/faxq/vsifax -mtime +7 -exec rm -rf {} \; #Clears vsifax report files and faxes older than 7 days -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of wjhon...@aol.com Sent: Wednesday, January 23, 2013 3:37 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Universal COMO To be more clear declare certain directories as temporaries with time-outs. -Original Message- From: Dan Ell d...@jbase.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 11:27 am Subject: Re: [U2] Universal COMO According to Google this has several meanings: Pronoun Used to identify a specific person or thing close at hand or being indicated or experienced: is this your bag?. Adjective Used to identify a specific person or thing close at hand or being indicated or experienced: don't listen to this guy. Adverb To the degree or extent indicated: they can't handle a job this big. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Wednesday, January 23, 2013 2:22 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Universal COMO I don't understand at all what this means. I tried to Google it and I get a million false hits, without a more specific name for which to look -Original Message- From: Wols Lists antli...@youngman.org.uk To: u2-users u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 11:15 am Subject: Re: [U2] Universal COMO On 23/01/13 18:28, Wjhonson wrote: I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? This isn't a pro, in that that is perfectly possible, certainly in *nix. I'm not sure how it's done, but it's pretty standard to declare certain directories as temporaries with time-outs. Just add the COMO directories to that list ... you could probably automate that. Cheers, Wol ___ 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 ___ 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 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Universal COMO
That's not however to what he is referring. Not a cron job, but rather a way to specify directories to BE temporary. Sort of a flag or something. I've never heard of that before. -Original Message- From: Dan Ell d...@jbase.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 1:48 pm Subject: Re: [U2] Universal COMO Ahh. In that case, my guess is directories as temporaries with time-outs means you have certain log directories in *nix that are cleaned up based on date. This is typically done with a cronjob that uses find and simply removes old logs at a preset time (usually in the wee hours of the morning). Here is a find command to purge vsifax outbound faxes over 7 days old. find /usr/vsifax3/faxq/vsifax -mtime +7 -exec rm -rf {} \; I believe that command added to the cron to run everyday at 1am would define /usr/vsifax3/faxq/vsifax as temporary with time-outs. 1 0 * * * /usr/bin/find /usr/vsifax3/faxq/vsifax -mtime +7 -exec rm -rf {} \; #Clears vsifax report files and faxes older than 7 days -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of wjhon...@aol.com Sent: Wednesday, January 23, 2013 3:37 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Universal COMO To be more clear declare certain directories as temporaries with time-outs. -Original Message- From: Dan Ell d...@jbase.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 11:27 am Subject: Re: [U2] Universal COMO According to Google this has several meanings: Pronoun Used to identify a specific person or thing close at hand or being indicated or experienced: is this your bag?. Adjective Used to identify a specific person or thing close at hand or being indicated or experienced: don't listen to this guy. Adverb To the degree or extent indicated: they can't handle a job this big. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Wednesday, January 23, 2013 2:22 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Universal COMO I don't understand at all what this means. I tried to Google it and I get a million false hits, without a more specific name for which to look -Original Message- From: Wols Lists antli...@youngman.org.uk To: u2-users u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 11:15 am Subject: Re: [U2] Universal COMO On 23/01/13 18:28, Wjhonson wrote: I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? This isn't a pro, in that that is perfectly possible, certainly in *nix. I'm not sure how it's done, but it's pretty standard to declare certain directories as temporaries with time-outs. Just add the COMO directories to that list ... you could probably automate that. Cheers, Wol ___ 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 ___ 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 ___ 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] Universal COMO
What about symbolic links at OS level? -- Augusto Alonso 2013/1/23 Wjhonson wjhon...@aol.com By default, Universe will create several files in each account you create. Like SAVEDLISTS, and ED... one of these default files is COMO which is where you can stick session logs. We use this constantly to monitor the output of phantoms, for review and debugging the next day. The logs are emailed to myself and some other programmers here. By altering the VOC entries in the accounts, we could have a central, universal COMO for all accounts, instead of one for each account. I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? Will Johnson ___ 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] Universal COMO
Hi Will, I think the biggest *con* you might come up against will be concurrency issues with multiple processes writing to the one central location. If you had a solution where each session log is unique amongst all processes then that would work very well. You will still need to clean it out though whether it be one big centralised dir or one for each account. As others have indicated, and if you run a unix box, then an overnight cron job to find and clean out any COMO dirs older than a set number of days would an option for you. I would suggest that you identify any logs that were important historically to you and roll them first. Probably zipping them up and moving them to an archive area would be viable. Google may even cough up a log rotate script that you could adapt. Regards, Peter -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Thursday, 24 January 2013 4:28 To: u2-users@listserver.u2ug.org Subject: [U2] Universal COMO By default, Universe will create several files in each account you create. Like SAVEDLISTS, and ED... one of these default files is COMO which is where you can stick session logs. We use this constantly to monitor the output of phantoms, for review and debugging the next day. The logs are emailed to myself and some other programmers here. By altering the VOC entries in the accounts, we could have a central, universal COMO for all accounts, instead of one for each account. I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? Will Johnson ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users --- Note: This email (inc all attachments) is for the use of the intended recipient(s) only. Privileged or confidential information may be contained in this communication. If you have received this email in error, please notify the sender immediately and then delete all copies of this message from your computer network. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission. If you are the intended recipient and you do not wish to receive similar electronic messages from us in future, then please respond to the sender to this effect. We have taken precautions to minimise the risk of transmitting software viruses, but advise you to carry out your own virus checks on this email and its attachments. We do not accept liability for any loss or damage caused by software viruses and do not represent that this transmission is free from viruses or other defects. Firstmac Limited (ABN 59 094 145 963) (AFSL 290600) --- ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Universal COMO
Or lymbollic sinks if you're little endian? :) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Augusto Alonso Sent: Thursday, 24 January 2013 11:17 To: U2 Users List Subject: Re: [U2] Universal COMO What about symbolic links at OS level? -- Augusto Alonso 2013/1/23 Wjhonson wjhon...@aol.com By default, Universe will create several files in each account you create. Like SAVEDLISTS, and ED... one of these default files is COMO which is where you can stick session logs. We use this constantly to monitor the output of phantoms, for review and debugging the next day. The logs are emailed to myself and some other programmers here. By altering the VOC entries in the accounts, we could have a central, universal COMO for all accounts, instead of one for each account. I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? Will Johnson ___ 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 --- Note: This email (inc all attachments) is for the use of the intended recipient(s) only. Privileged or confidential information may be contained in this communication. If you have received this email in error, please notify the sender immediately and then delete all copies of this message from your computer network. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission. If you are the intended recipient and you do not wish to receive similar electronic messages from us in future, then please respond to the sender to this effect. We have taken precautions to minimise the risk of transmitting software viruses, but advise you to carry out your own virus checks on this email and its attachments. We do not accept liability for any loss or damage caused by software viruses and do not represent that this transmission is free from viruses or other defects. Firstmac Limited (ABN 59 094 145 963) (AFSL 290600) --- ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Universal COMO
In UniData (on Windows) this is pretty simple. First you create an environment variable for the como file (e.g. MY_COMO) that points to the directory under which you've created a _PH_ directory and a D__PH_ dictionary file. Then you create a VOC item as follows: _PH_ 001 DIR 002 @MY_COMO\_PH_ 003 @MY_COMP\D__PH_ ...to include in every account's VOC file. This will now act as a centralized como repository. I do this with the _HOLD_ directory, as everyone on our machines share the same spooler file, and each spooler file name is a unique .txt file. I'm sure it would be even easier on a nix machine. :-) Bill - Original Message - *From:* peter.che...@firstmac.com.au *To:* U2 Users List u2-users@listserver.u2ug.org *Date:* 1/23/2013 6:31 PM *Subject:* Re: [U2] Universal COMO Hi Will, I think the biggest *con* you might come up against will be concurrency issues with multiple processes writing to the one central location. If you had a solution where each session log is unique amongst all processes then that would work very well. You will still need to clean it out though whether it be one big centralised dir or one for each account. As others have indicated, and if you run a unix box, then an overnight cron job to find and clean out any COMO dirs older than a set number of days would an option for you. I would suggest that you identify any logs that were important historically to you and roll them first. Probably zipping them up and moving them to an archive area would be viable. Google may even cough up a log rotate script that you could adapt. Regards, Peter -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Thursday, 24 January 2013 4:28 To: u2-users@listserver.u2ug.org Subject: [U2] Universal COMO By default, Universe will create several files in each account you create. Like SAVEDLISTS, and ED... one of these default files is COMO which is where you can stick session logs. We use this constantly to monitor the output of phantoms, for review and debugging the next day. The logs are emailed to myself and some other programmers here. By altering the VOC entries in the accounts, we could have a central, universal COMO for all accounts, instead of one for each account. I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? Will Johnson ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users --- Note: This email (inc all attachments) is for the use of the intended recipient(s) only. Privileged or confidential information may be contained in this communication. If you have received this email in error, please notify the sender immediately and then delete all copies of this message from your computer network. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission. If you are the intended recipient and you do not wish to receive similar electronic messages from us in future, then please respond to the sender to this effect. We have taken precautions to minimise the risk of transmitting software viruses, but advise you to carry out your own virus checks on this email and its attachments. We do not accept liability for any loss or damage caused by software viruses and do not represent that this transmission is free from viruses or other defects. Firstmac Limited (ABN 59 094 145 963) (AFSL 290600) --- ___ 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