RE: [U2] SBClient Question - Apply Logout Script to SBCLIENT
How about this for an idea... If you make a phantom program that watches either a file or a directory for an entry with a PID value then the phantom can issue a LOGOUT pid# then deletes the entry. I'm not sure this will work but it's a thought. Then all you have to do is manually make the entry that the phantom is looking for. There might be a problem with trying to LOGOUT a session that is not your own, but again, "It just might be crazy enough to work!" Good luck, BobW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angelo Collazo Sent: Thursday, October 05, 2006 1:20 PM To: u2-users@listserver.u2ug.org; [EMAIL PROTECTED] Subject: RE: [U2] SBClient Question - Apply Logout Script to SBCLIENT Stuart or Others, The solution provided here works well when the "logout_script" is executed in normal SBClient logout but when you do a kill PID( I know, not a good practice, but we have users idled for over five+ ours) on it, It does NOT execute the "logout_script" and it shows the "Session Disconnected" and you have to press . Any solutions or other methods will be appreciated. Cheers, Angelo Collazo System Administrator Angelo, From within SBServer, you can CALL TU.SESSION.CLOSE("") from an exit verb which will close the session without a dialog. Or a script: Script Name: logout_script Trigger String: script_started Trigger Response: [exit_session(265)][script_end()] Assign this script to your logout script in the setup menu. This script apparently only works with the window close button or the file exit menu and so you probably need to use both methods to always suppress the close/save dialog box. I'm not sure if either of these will clean up your sessions/licences like SH.OFF (the normal logout method) does. Cheers, Stuart __ - Create script that will close out SBCLIENT session and not prompt end-user to save changes to session ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects personal information to provide and market our services. For more information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ** --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [sbs] RE: [U2] SBClient Question - Apply Logout Script to SBCLIENT
Correction: /ud/bin/deleteuser NOT kill PID. Cheers, Angelo Collazo System Administrator Stuart or Others, The solution provided here works well when the "logout_script" is executed in normal SBClient logout but when you do a kill PID( I know, not a good practice, but we have users idled for over five+ ours) on it, It does NOT execute the "logout_script" and it shows the "Session Disconnected" and you have to press . Any solutions or other methods will be appreciated. Cheers, Angelo Collazo System Administrator Angelo, From within SBServer, you can CALL TU.SESSION.CLOSE("") from an exit verb which will close the session without a dialog. Or a script: Script Name: logout_script Trigger String: script_started Trigger Response: [exit_session(265)][script_end()] Assign this script to your logout script in the setup menu. This script apparently only works with the window close button or the file exit menu and so you probably need to use both methods to always suppress the close/save dialog box. I'm not sure if either of these will clean up your sessions/licences like SH.OFF (the normal logout method) does. Cheers, Stuart __ - Create script that will close out SBCLIENT session and not prompt end-user to save changes to session ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects personal information to provide and market our services. For more information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ** --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- SBSolutions mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] Retreive Paragraph Comment Statement ?
that has to be related to time zones, it has not been 10 hours since I first saw your email and before the modarator says "please end this topic on users and move to community" I am done no offense take or meant and it was an interesting point to bring up ... dougc john reid wrote: I checked a couple, and the responses were upwards of 10 hours apart. Like I said, no offense; better too much probably than not enough. Just thought I would broach it. j On 10/5/06, doug chanco <[EMAIL PROTECTED]> wrote: thats a good point but I would like to point out that maybe they were all sent out @ the same time or before the message was fully sent to all users, how long should one wait before deciding that no one else responded (minutes, hours, days)? dougc john reid wrote: > No offense intended, and probably none of my business, but we could > probably cut down on activity if responders would read any previously > sent comments. In this particular case, several responses were very > similar in content. > > > On 10/5/06, Ray Wurlod <[EMAIL PROTECTED]> wrote: >> To be a comment in a paragraph - or indeed on the command line - you >> need not only the leading asterisk but also at least one space >> character. >> Otherwise the line is taken to be the name of a globally catalogued >> program/routine, which UniVerse will attempt to execute. >> --- >> u2-users mailing list >> u2-users@listserver.u2ug.org >> To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] SBClient Question - Apply Logout Script to SBCLIENT
Stuart or Others, The solution provided here works well when the "logout_script" is executed in normal SBClient logout but when you do a kill PID( I know, not a good practice, but we have users idled for over five+ ours) on it, It does NOT execute the "logout_script" and it shows the "Session Disconnected" and you have to press . Any solutions or other methods will be appreciated. Cheers, Angelo Collazo System Administrator Angelo, From within SBServer, you can CALL TU.SESSION.CLOSE("") from an exit verb which will close the session without a dialog. Or a script: Script Name: logout_script Trigger String: script_started Trigger Response: [exit_session(265)][script_end()] Assign this script to your logout script in the setup menu. This script apparently only works with the window close button or the file exit menu and so you probably need to use both methods to always suppress the close/save dialog box. I'm not sure if either of these will clean up your sessions/licences like SH.OFF (the normal logout method) does. Cheers, Stuart __ - Create script that will close out SBCLIENT session and not prompt end-user to save changes to session ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects personal information to provide and market our services. For more information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ** --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] Retreive Paragraph Comment Statement ?
I checked a couple, and the responses were upwards of 10 hours apart. Like I said, no offense; better too much probably than not enough. Just thought I would broach it. j On 10/5/06, doug chanco <[EMAIL PROTECTED]> wrote: thats a good point but I would like to point out that maybe they were all sent out @ the same time or before the message was fully sent to all users, how long should one wait before deciding that no one else responded (minutes, hours, days)? dougc john reid wrote: > No offense intended, and probably none of my business, but we could > probably cut down on activity if responders would read any previously > sent comments. In this particular case, several responses were very > similar in content. > > > On 10/5/06, Ray Wurlod <[EMAIL PROTECTED]> wrote: >> To be a comment in a paragraph - or indeed on the command line - you >> need not only the leading asterisk but also at least one space >> character. >> Otherwise the line is taken to be the name of a globally catalogued >> program/routine, which UniVerse will attempt to execute. >> --- >> u2-users mailing list >> u2-users@listserver.u2ug.org >> To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- john --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Cron job creates many &PH& entries
On Thu, Oct 05, 2006 at 11:48:43AM -0700, Scott Ballinger wrote: > > #!/bin/sh > TERM=ansi ; export TERM > cd /usr/yyy/XXX > /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" > # purge &ph& entries more than 2 days old > cd \&PH\& > find . -mtime +2 -name "DUPCHECK*" -print | xargs rm > > Yes, that is kind of an overkill, running the 'rm' every minute instead > of once per day; but this way it's all in one place and that much easier > to see what's going on when I re-visit this in the memory-impaired > future. Your phantom files are going to all be the same size, unless there's a problem, right? I'd keep the ones that are not that size. So, if that size is, say, 50 bytes, do: find . -mtime +2 -name "DUPCHECK*" ! -size 50c -print | xargs rm --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Inconsistent XML output
Hi all. I noticed that XML output produced by Retrieve using TOXML command may not always produce consistent results depending on the files or dictionaries used. For example, using the LOCATION.F demo file (created by MAKE.DEMO.FILES), I execute the following Retrieve statement several times: LIST LOCATIONS.F TOXML SAMPLE 2 Output from the first execution: Output from the second execution: Output from the third execution: As you can see, elment names "LOCATIONS.F" from the first output are now screwed up in the output from the second and third execution of the exact same Retrieve statement. I noticed this problem occurs more often in attribute centric output. Element centric output tend to be more consistent. XML Schema produced by the WITHSCHEMA does not have any problem. Is there anything I should be aware of before I start using XML in Universe? Thanks. Jason --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Cron job creates many &PH& entries
We do something similar, I use another phantom that runs at night. It pulls the timedate of each @ID in &PH& and deletes it if it's more than 48 hours old. I setup a DICT item that converts the timedate in the @ID to the date and SELECT &PH& with NODS GE 2, where NODS is DATE()-FIELD(@ID'S DATE) NODS = NUMBER OF DAYS SINCE George > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Scott > Ballinger > Sent: Thursday, October 05, 2006 12:38 PM > To: u2-users@listserver.u2ug.org > Subject: [U2] Cron job creates many &PH& entries > > > Universe 10.1.4, pick flavor, Red Hat > > I have a UV phantom cron job that runs every minute. It checks a > directory for any inbound files, processes them, then writes > them to an > outbound directory. My problem is that the &PH& directory is > filling up > with DUPCHECK_time_date files (1440 per day). Anyone know how to turn > off this feature? > > Here is the cron job: > > #!/bin/sh > TERM=ansi ; export TERM > cd /usr/yyy/XXX > /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" > > DUPCHECK is a cataloged basic program in the XXX account. > > Thanks, > > /Scott Ballinger > Pareto Corporation > Edmonds WA USA > 206 713 6006 > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Cron job creates many &PH& entries
Hey, BRIEF does exactly what I asked for. But you know what they say: be careful what you ask for! It got me thinking... I guess I like the logging aspect of the &PH& entries, in case something stops working I have some entrails to sift (or is that tea leaves to read?), anyway, here is what I ended up with (keeps 2 days of logs): #!/bin/sh TERM=ansi ; export TERM cd /usr/yyy/XXX /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" # purge &ph& entries more than 2 days old cd \&PH\& find . -mtime +2 -name "DUPCHECK*" -print | xargs rm Yes, that is kind of an overkill, running the 'rm' every minute instead of once per day; but this way it's all in one place and that much easier to see what's going on when I re-visit this in the memory-impaired future. Thanks to all! /Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, October 05, 2006 10:36 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Cron job creates many &PH& entries Hi Scott, Have you looked into BRIEF? #!/bin/sh TERM=ansi ; export TERM cd /usr/yyy/XXX /usr/ibm/uv/bin/uv "PHANTOM BRIEF DUPCHECK" -- Original message -- From: "Scott Ballinger" <[EMAIL PROTECTED]> > Universe 10.1.4, pick flavor, Red Hat > > I have a UV phantom cron job that runs every minute. It checks a > directory for any inbound files, processes them, then writes them to > an outbound directory. My problem is that the &PH& directory is > filling up with DUPCHECK_time_date files (1440 per day). Anyone know > how to turn off this feature? > > Here is the cron job: > > #!/bin/sh > TERM=ansi ; export TERM > cd /usr/yyy/XXX > /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" > > DUPCHECK is a cataloged basic program in the XXX account. > > Thanks, > > /Scott Ballinger > Pareto Corporation > Edmonds WA USA > 206 713 6006 > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Cron job creates many &PH& entries
Scott, Why are you running this job as a phantom every minute and not just the DUPCHECK program? Can you send a copy of it? Cheers, Angelo Collazo System Administrator Universe 10.1.4, pick flavor, Red Hat I have a UV phantom cron job that runs every minute. It checks a directory for any inbound files, processes them, then writes them to an outbound directory. My problem is that the &PH& directory is filling up with DUPCHECK_time_date files (1440 per day). Anyone know how to turn off this feature? Here is the cron job: #!/bin/sh TERM=ansi ; export TERM cd /usr/yyy/XXX /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" DUPCHECK is a cataloged basic program in the XXX account. Thanks, /Scott Ballinger Pareto Corporation Edmonds WA USA 206 713 6006 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Cron job creates many &PH& entries
Ooops... I just reread the OP's message. Any time you run a job as a phantom it will write out to &PH&. A better method may be to have a job start once in the morning and run all day. Have a VOC item do a LOOP/REPEAT. If it finds the file it runs DUPCHECK, the sleeps, otherwise just sleep. At the top of your loop check for for time of day/record in a flag file, etc to see if the job should quit. You will still get an entry in &PH&, but it will be only 1 per day. -Original Message- From: Hennessey, Mark F. Sent: Thursday, October 05, 2006 2:04 PM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2] Cron job creates many &PH& entries Try changing cd /usr/yyy/XXX /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" To: cd /usr/yyy/XXX exec `cat /.uvhome`/bin/uv > /dev/null
RE: [U2] Cron job creates many &PH& entries
Don't use PHANTOM. Thanks, David A. Green DAG Consulting -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ballinger Sent: Thursday, October 05, 2006 9:38 AM To: u2-users@listserver.u2ug.org Subject: [U2] Cron job creates many &PH& entries Universe 10.1.4, pick flavor, Red Hat I have a UV phantom cron job that runs every minute. It checks a directory for any inbound files, processes them, then writes them to an outbound directory. My problem is that the &PH& directory is filling up with DUPCHECK_time_date files (1440 per day). Anyone know how to turn off this feature? Here is the cron job: #!/bin/sh TERM=ansi ; export TERM cd /usr/yyy/XXX /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" DUPCHECK is a cataloged basic program in the XXX account. Thanks, /Scott Ballinger Pareto Corporation Edmonds WA USA 206 713 6006 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Cron job creates many &PH& entries
Try changing cd /usr/yyy/XXX /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" To: cd /usr/yyy/XXX exec `cat /.uvhome`/bin/uv > /dev/null
Re: [U2] Cron job creates many &PH& entrie
True, but phantoming avoids using a license. On 10/5/06, jpb <[EMAIL PROTECTED]> wrote: Why are you phantoming what is basically already a phantom (cron)? If you just run the program directly from cron instead of phantoming it then there will be no entry in the &PH& file. - Original Message - From: "Scott Ballinger" <[EMAIL PROTECTED]> To: Sent: Thursday, October 05, 2006 11:38 AM Subject: [U2] Cron job creates many &PH& entries > Universe 10.1.4, pick flavor, Red Hat > > I have a UV phantom cron job that runs every minute. It checks a > directory for any inbound files, processes them, then writes them to an > outbound directory. My problem is that the &PH& directory is filling up > with DUPCHECK_time_date files (1440 per day). Anyone know how to turn > off this feature? > > Here is the cron job: > > #!/bin/sh > TERM=ansi ; export TERM > cd /usr/yyy/XXX > /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" > > DUPCHECK is a cataloged basic program in the XXX account. > > Thanks, > > /Scott Ballinger > Pareto Corporation > Edmonds WA USA > 206 713 6006 > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: Spam:[U2] Cron job creates many &PH& entries
Just my humble opinion... I would not turn it off. I assume all these &PH& records are identical. If true, I would have another process that every X minutes, queries the &PH& records for extraneous messages, so if an issue occurs (unexpected), you are made aware of it. then let the process delete the &PH& records. Barry Rogen PNY Technologies, Inc. Senior Programmer/Analyst (973) 515 - 9700 ext 5327 [EMAIL PROTECTED] - Far better it is to dare mighty things, to win glorious triumphs even though checkered by failure, than to rank with those poor spirits who neither enjoy nor suffer much because they live in the gray twilight that knows neither victory nor defeat.t. roosevelt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ballinger Sent: Thursday, October 05, 2006 12:38 PM To: u2-users@listserver.u2ug.org Subject: Spam:[U2] Cron job creates many &PH& entries Universe 10.1.4, pick flavor, Red Hat I have a UV phantom cron job that runs every minute. It checks a directory for any inbound files, processes them, then writes them to an outbound directory. My problem is that the &PH& directory is filling up with DUPCHECK_time_date files (1440 per day). Anyone know how to turn off this feature? Here is the cron job: #!/bin/sh TERM=ansi ; export TERM cd /usr/yyy/XXX /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" DUPCHECK is a cataloged basic program in the XXX account. Thanks, /Scott Ballinger Pareto Corporation Edmonds WA USA 206 713 6006 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Cron job creates many &PH& entries
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of jpb > Sent: Thursday, October 05, 2006 10:02 AM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] Cron job creates many &PH& entries > > Why are you phantoming what is basically already a phantom > (cron)? If you > just run the program directly from cron instead of phantoming > it then there > will be no entry in the &PH& file. Eliminating the PHANTOM command from cron UV jobs is very dangerous because all the jobs will use the same shared memory segment. Not a problem if you never have more than one cron UV process running at a time, but if two should ever exist concurrently - very bad. There have been a few threads on this over the years. One not too long ago, I think. -John --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Cron job creates many &PH& entries
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Scott Ballinger > Sent: Thursday, October 05, 2006 9:38 AM > To: u2-users@listserver.u2ug.org > Subject: [U2] Cron job creates many &PH& entries > > Universe 10.1.4, pick flavor, Red Hat > > I have a UV phantom cron job that runs every minute. It checks a > directory for any inbound files, processes them, then writes > them to an > outbound directory. My problem is that the &PH& directory is > filling up > with DUPCHECK_time_date files (1440 per day). Anyone know how to turn > off this feature? I also have a lot of cron jobs spawning UV phantoms. I don't know how to turn off logging to &PH&, but I have a weekly cron job that rotates the &PH& file: #!/bin/sh cd /uvdata/FABRIC.PROD rm -rf \&PH\&.OLD mv \&PH\& \&PH\&.OLD mkdir \&PH\& chown uvusr \&PH\& chgrp "Domain Users" \&PH\& chmod 775 \&PH\& -John --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Cron job creates many &PH& entries
Hi Scott, Have you looked into BRIEF? #!/bin/sh TERM=ansi ; export TERM cd /usr/yyy/XXX /usr/ibm/uv/bin/uv "PHANTOM BRIEF DUPCHECK" -- Original message -- From: "Scott Ballinger" <[EMAIL PROTECTED]> > Universe 10.1.4, pick flavor, Red Hat > > I have a UV phantom cron job that runs every minute. It checks a > directory for any inbound files, processes them, then writes them to an > outbound directory. My problem is that the &PH& directory is filling up > with DUPCHECK_time_date files (1440 per day). Anyone know how to turn > off this feature? > > Here is the cron job: > > #!/bin/sh > TERM=ansi ; export TERM > cd /usr/yyy/XXX > /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" > > DUPCHECK is a cataloged basic program in the XXX account. > > Thanks, > > /Scott Ballinger > Pareto Corporation > Edmonds WA USA > 206 713 6006 > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Cron job creates many &PH& entries
Turnoff not off hand How about a simple remove find /path/ -name "DUPCHECK_*_*" -mtime +1 | xargs -I {} ls -l {} find /path/ -name "DUPCHECK_*_*" -mtime +1 | xargs -I {} ls -l {} > log... find /path/ -name "DUPCHECK_*_*" -mtime +1 | xargs -I {} rm {} drop it in your cron or in a script and have a crontab call it once a day/ hour etc. Keith Johnson IT Lewis-Clark State College (LCSC) 208 792 2510 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ballinger Sent: Thursday, October 05, 2006 9:38 AM To: u2-users@listserver.u2ug.org Subject: [U2] Cron job creates many &PH& entries Universe 10.1.4, pick flavor, Red Hat I have a UV phantom cron job that runs every minute. It checks a directory for any inbound files, processes them, then writes them to an outbound directory. My problem is that the &PH& directory is filling up with DUPCHECK_time_date files (1440 per day). Anyone know how to turn off this feature? Here is the cron job: #!/bin/sh TERM=ansi ; export TERM cd /usr/yyy/XXX /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" DUPCHECK is a cataloged basic program in the XXX account. Thanks, /Scott Ballinger Pareto Corporation Edmonds WA USA 206 713 6006 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Cron job creates many &PH& entries
Why are you phantoming what is basically already a phantom (cron)? If you just run the program directly from cron instead of phantoming it then there will be no entry in the &PH& file. - Original Message - From: "Scott Ballinger" <[EMAIL PROTECTED]> To: Sent: Thursday, October 05, 2006 11:38 AM Subject: [U2] Cron job creates many &PH& entries Universe 10.1.4, pick flavor, Red Hat I have a UV phantom cron job that runs every minute. It checks a directory for any inbound files, processes them, then writes them to an outbound directory. My problem is that the &PH& directory is filling up with DUPCHECK_time_date files (1440 per day). Anyone know how to turn off this feature? Here is the cron job: #!/bin/sh TERM=ansi ; export TERM cd /usr/yyy/XXX /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" DUPCHECK is a cataloged basic program in the XXX account. Thanks, /Scott Ballinger Pareto Corporation Edmonds WA USA 206 713 6006 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] IBM Conference travel tips
Is there nothing that man doesn't know??? There are but he's ignorant of them. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Cron job creates many &PH& entries
Universe 10.1.4, pick flavor, Red Hat I have a UV phantom cron job that runs every minute. It checks a directory for any inbound files, processes them, then writes them to an outbound directory. My problem is that the &PH& directory is filling up with DUPCHECK_time_date files (1440 per day). Anyone know how to turn off this feature? Here is the cron job: #!/bin/sh TERM=ansi ; export TERM cd /usr/yyy/XXX /usr/ibm/uv/bin/uv "PHANTOM DUPCHECK" DUPCHECK is a cataloged basic program in the XXX account. Thanks, /Scott Ballinger Pareto Corporation Edmonds WA USA 206 713 6006 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] Retreive Paragraph Comment Statement ?
right you are, I bet there there are already 10 responses related to below .. dougc Kevin King wrote: While I agree with you John, often times the other responses have not come through before a response is posted. Like this one, I have received no responses to your message yet but suspect that several will probably mention this very thing. -Kevin [EMAIL PROTECTED] http://www.PrecisOnline.com ** Check out scheduled Connect! training courses at http://www.PrecisOnline.com/train.html. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] Retreive Paragraph Comment Statement ?
thats a good point but I would like to point out that maybe they were all sent out @ the same time or before the message was fully sent to all users, how long should one wait before deciding that no one else responded (minutes, hours, days)? dougc john reid wrote: No offense intended, and probably none of my business, but we could probably cut down on activity if responders would read any previously sent comments. In this particular case, several responses were very similar in content. On 10/5/06, Ray Wurlod <[EMAIL PROTECTED]> wrote: To be a comment in a paragraph - or indeed on the command line - you need not only the leading asterisk but also at least one space character. Otherwise the line is taken to be the name of a globally catalogued program/routine, which UniVerse will attempt to execute. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] How to create unix ".netrc" file?
I would not call it a security 'problem' but *nix files which begin with a '.' are hidden files. jpb wrote: Most of the '.' files in Unix are used for system purposes. I will not give any examples of what you can do with these because I don't feel like giving anyone any ideas. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, October 04, 2006 9:11 PM Subject: RE: [U2] [UV] How to create unix ".netrc" file? Can you explain why it might be a breach of security to write a standard Unix file to your home directory? S __ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "jpb" <[EMAIL PROTECTED]> Sent: Wednesday, 4 October 2006 23:28 To: Subject: Re: [U2] [UV] How to create unix ".netrc" file? It's also a breach of security. ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects personal information to provide and market our services. For more information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ** --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- == Jeff Schasny jschasnyATricochetDOTcom == --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] How to create unix ".netrc" file?
dot files are "hidden" from a standard ls command , so unless you are used to doing ls -a most of the time users (even system admin users) will not see them in a directory listing, that would be issue # 1 also they are used for unix "stuff" for example .profile - what the ksh runs upon starting .netrc - what ftp looks for when it starts up .bashrc - what bash run when it starts up so if you wanted to log some information/do something bad as another user all you would need to do is write a .profile that replaces their .profile and does the "bad thing", also if all your users use the same login (or all have the same home directory) modifying a .profile will affect ALL your users the same can be said for a .netrc file, you put in the login credentials for your ftp server , modify the host file to point to yrou ftp server and when teh automated program to ftp data to their sever runs it goes to your server instead. Now I will admit that all this requires "root" priviliges, so if they already have root access to your system your basically toast anyways, but it does point out some of the security issues not to mention that unless your users/system admins are used to doing ls -a or ls -la they would not normally see . files (one of the reasons I always do it, from my sys admin days) anyway there are legit reasons for modifying . files, someone mentioned allowing users to modify their .profile (which is perfectly legit) dougc jpb wrote: Most of the '.' files in Unix are used for system purposes. I will not give any examples of what you can do with these because I don't feel like giving anyone any ideas. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, October 04, 2006 9:11 PM Subject: RE: [U2] [UV] How to create unix ".netrc" file? Can you explain why it might be a breach of security to write a standard Unix file to your home directory? S __ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "jpb" <[EMAIL PROTECTED]> Sent: Wednesday, 4 October 2006 23:28 To: Subject: Re: [U2] [UV] How to create unix ".netrc" file? It's also a breach of security. ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects personal information to provide and market our services. For more information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ** --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] IBM Conference travel tips
Is there nothing that man doesn't know??? No... --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] Retreive Paragraph Comment Statement ?
response to john reid: I agree...almost. There have been many times when I saw a post that appeared no one had responded to. I would post an answer and by the time my email showed on the mailing list it would show several posts that were earlier than mine. That makes me feel a little stupid for giving a response that is the same as others. However, at the time of my post there was apparently no response. What's a boy to do? :-) Ron White john reid wrote: No offense intended, and probably none of my business, but we could probably cut down on activity if responders would read any previously sent comments. In this particular case, several responses were very similar in content. On 10/5/06, Ray Wurlod <[EMAIL PROTECTED]> wrote: To be a comment in a paragraph - or indeed on the command line - you need not only the leading asterisk but also at least one space character. Otherwise the line is taken to be the name of a globally catalogued program/routine, which UniVerse will attempt to execute. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] SBClient Question - Apply Logout Script to SBCLIENT
This worked for me. Thanks Stuart. Cheers, Angelo Collazo System Administrator Angelo, From within SBServer, you can CALL TU.SESSION.CLOSE("") from an exit verb which will close the session without a dialog. Or a script: Script Name: logout_script Trigger String: script_started Trigger Response: [exit_session(265)][script_end()] Assign this script to your logout script in the setup menu. This script apparently only works with the window close button or the file exit menu and so you probably need to use both methods to always suppress the close/save dialog box. I'm not sure if either of these will clean up your sessions/licences like SH.OFF (the normal logout method) does. Cheers, Stuart __ - Create script that will close out SBCLIENT session and not prompt end-user to save changes to session ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects personal information to provide and market our services. For more information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ** --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] [PING] Tony Gravagno
Tony, drop me a line will you? I responded to your message several days ago but didn't receive a response. Apologies to the group for the ping traffic. -Kevin [EMAIL PROTECTED] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Retreive Paragraph Comment Statement ?
While I agree with you John, often times the other responses have not come through before a response is posted. Like this one, I have received no responses to your message yet but suspect that several will probably mention this very thing. -Kevin [EMAIL PROTECTED] http://www.PrecisOnline.com ** Check out scheduled Connect! training courses at http://www.PrecisOnline.com/train.html. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] Retreive Paragraph Comment Statement ?
You do realize that this is a world wide email list don't you? Everyone does not get emails in exactly the same order and sometimes when we are awake some are sleeping. I have even missed receiving emails from some places for a whole day. I would much rather get several emails confirming an answer than to get only one that possibly could be wrong. - Original Message - From: "john reid" <[EMAIL PROTECTED]> To: Sent: Thursday, October 05, 2006 9:22 AM Subject: Re: [U2] [UV] Retreive Paragraph Comment Statement ? No offense intended, and probably none of my business, but we could probably cut down on activity if responders would read any previously sent comments. In this particular case, several responses were very similar in content. On 10/5/06, Ray Wurlod <[EMAIL PROTECTED]> wrote: To be a comment in a paragraph - or indeed on the command line - you need not only the leading asterisk but also at least one space character. Otherwise the line is taken to be the name of a globally catalogued program/routine, which UniVerse will attempt to execute. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- john --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] How to create unix ".netrc" file?
Most of the '.' files in Unix are used for system purposes. I will not give any examples of what you can do with these because I don't feel like giving anyone any ideas. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, October 04, 2006 9:11 PM Subject: RE: [U2] [UV] How to create unix ".netrc" file? Can you explain why it might be a breach of security to write a standard Unix file to your home directory? S __ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "jpb" <[EMAIL PROTECTED]> Sent: Wednesday, 4 October 2006 23:28 To: Subject: Re: [U2] [UV] How to create unix ".netrc" file? It's also a breach of security. ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects personal information to provide and market our services. For more information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ** --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] Retreive Paragraph Comment Statement ?
No offense intended, and probably none of my business, but we could probably cut down on activity if responders would read any previously sent comments. In this particular case, several responses were very similar in content. On 10/5/06, Ray Wurlod <[EMAIL PROTECTED]> wrote: To be a comment in a paragraph - or indeed on the command line - you need not only the leading asterisk but also at least one space character. Otherwise the line is taken to be the name of a globally catalogued program/routine, which UniVerse will attempt to execute. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- john --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] [U2UG] Better and Better Committee
Greetings, For the past several months I have been co-chairing the Better and Better Committee of the U2UG. While we have had some good discussions in the past and have forwarded on some good requests to IBM, we would like take a hard look at how we are doing this and determine if there is a better way of proceeding. With that being said, I would like to see if there are any additional people who are interested in joining the committee. This is a voluntary position, not elected or appointed, and of no fixed term. If you are interested, please send an email to me at [EMAIL PROTECTED] Please note that we understand that commitments change, and instead of asking existing members to confirm their involvement, we ask them to send an email stating their continued desire to be involved in the group. Based on the response, I will contact all who responded with the next step. Regards, Michael Rajkowski P.S. I will be at the IBM IOD Conference, and I look forward to talking to all of you in attendance. While there are a lot of good sessions scheduled for U2, I am now going to give a shameless plug for those that are near a dear to my heart. On Sunday Oct 15 from 2-5 1453 - U2 Users Group (U2UG) General Meeting On Wednesday Oct 18 From 5:45 b 6:45 2685 - U2 Enhancement Requests Then there are my sessions Tuesday Oct 17 from 8-10:45 b 1472 - Accessing U2 from IBM WebSphere Information Integrator This session will explain how to set up access to your U2 data in IBM WebSphere Information Integrator. This will allow you to integrate other structured and unstructured data with your existing U2 data. ( Note that this is a hands on lab, and enrollment is limited to the first 40 people who sign up and add this session to their agenda. For those who have not set their agenda. You can do it at: http://www-06.ibm.com/software/data/ondemandbusiness/conf2006/tab_tracks_enroll.html ) In addition to showing how to connect to a U2 datasource in Information Integrator, we will also be connecting to Information Integratorbs Federated datasource with the UniBasic SQL Client Interface (BCI). Friday Oct 20 from 8:00 b 9:15 1603 - XML Solutions in U2 This is a high level overview of what XML is and is not, and how you can use it in your U2 solution. Lastly, we will have several sessions presented by non IBM employees and since I believe most (if not all) are members of the U2UG and subscribers to the lists, I would like them to post about their sessions instead of me stealing their thunder. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] PORT.STATUS bug?
> Whate else do people turn to? > SYSTEM(9001) is a little different tool, but at > least tangential to the > current discussion. There is GET.USERS which calls the SYSTEM(1302). SYSTEM(1302) isn't supported by IBM but GET.USERS is. CALL !GET.USERS(PI.USERS,MAX.PI.USERS,SYS.USERS,INFO,CODE) SYS.NB = DCOUNT(INFO,@AM) US = 0 LOOP WHILE US < SYS.NB US += 1 SYS.NO.PORT<1,US> = INFO SYS.USERID<1,US> = INFO SYS.PID<1,US> = INFO SYS.TYPE<1,US>= INFO REPEAT __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] IBM Conference travel tips
Is there nothing that man doesn't know??? I've used Supershuttle, but only when someone else pays. $12x2 = 24 is a good deal. That's probably more than 1/2 off & cheaper than what I suggested. > From: Ray Wurlod > > SuperShuttle services LAX (can't avoid it - coming from > Australia). You can get a special IBM rate $12 each way by > visiting > http://www-306.ibm.com/software/data/ondemandbusiness/conf2006 > /tab_reg_hotel.html (there's a PDF for printing vouchers) and > http://www.supershuttle.com/webrez/Welcome.aspx?GC=8G7MQ > You can book and pre-pay on the web. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/