Re: [U2] Logging program execution in Unidata?

2014-01-07 Thread Charles Stevenson
track OS's last access date on the object? On 1/7/2014 3:08 AM, McGowan, Ian wrote: We're looking into a major conversion late this year, which will involve checking out several thousand programs (mostly opens, reads or writes). Some programs are run many times a day, whereas some were

Re: [U2] Logging program execution in Unidata?

2014-01-07 Thread Wjhonson
So Ian, everything is globally catalogued? -Original Message- From: McGowan, Ian james.mcgo...@bankofthewest.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Mon, Jan 6, 2014 6:57 pm Subject: Re: [U2] Logging program execution in Unidata? Wow! Didn't know about that command

Re: [U2] Logging program execution in Unidata?

2014-01-07 Thread Wjhonson
: Tue, Jan 7, 2014 1:14 am Subject: Re: [U2] Logging program execution in Unidata? track OS's last access date on the object? On 1/7/2014 3:08 AM, McGowan, Ian wrote: We're looking into a major conversion late this year, which will involve checking out several thousand programs (mostly opens, reads

Re: [U2] Logging program execution in Unidata?

2014-01-07 Thread Wjhonson
dqbartl...@gmail.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Mon, Jan 6, 2014 10:02 pm Subject: Re: [U2] Logging program execution in Unidata? Ian Perhaps your answer lies in a combo - rather than looking at the actual code you have, why not focus on what calls it: This will minimise what

Re: [U2] Logging program execution in Unidata?

2014-01-07 Thread McGowan, Ian
...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Tuesday, January 07, 2014 9:17 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Logging program execution in Unidata? So Ian, everything is globally catalogued? -Original Message- From: McGowan, Ian james.mcgo...@bankofthewest.com To: U2

Re: [U2] Logging program execution in Unidata?

2014-01-07 Thread McGowan, Ian
- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dennis Bartlett Sent: Monday, January 06, 2014 10:02 PM To: U2 Users List Subject: Re: [U2] Logging program execution in Unidata? Ian Perhaps your answer lies in a combo - rather than looking

Re: [U2] Logging program execution in Unidata?

2014-01-07 Thread Ladd, Ryan
, January 07, 2014 11:20 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Logging program execution in Unidata? On this R-pointer point, can someone point me to the manual which describes the ability to have a security routine on these? I can't quite figure out where that information is. I've

Re: [U2] Logging program execution in Unidata?

2014-01-07 Thread Daniel McGrath
...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Tuesday, January 07, 2014 10:20 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Logging program execution in Unidata? On this R-pointer point, can someone point me to the manual which describes the ability to have a security routine on these? I can't quite

Re: [U2] Logging program execution in Unidata?

2014-01-07 Thread Wols Lists
On 07/01/14 17:19, Wjhonson wrote: On this R-pointer point, can someone point me to the manual which describes the ability to have a security routine on these? I can't quite figure out where that information is. iirc, if you put a globally catalog'd subroutine in field 4, that will run

Re: [U2] Logging program execution in Unidata?

2014-01-07 Thread Wols Lists
On 07/01/14 17:20, Wjhonson wrote: I think we've found before, that *if* you ask the system what was the last access date... it's updates the last access date. Because you just accessed it. Wrong? Yes and no. This feature is often (by default?) disabled on linux, as it's a mount option.

Re: [U2] Logging program execution in Unidata?

2014-01-07 Thread George Hammerle
We use Unidata and we globally catalog our programs. A previous poster was correct that a 'touch of the program does update the _MAP_ file. We have weekly backups that 'touch' every file and so the _MAP_ information becomes worthless. So to work around it, this is what I did. 1. I created a

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread dale kelley
Ian, In universe the map file contains the most recent execution date for cataloged programs. Programs that are just RUN I don't know of any way. Dale On 01/06/2014 06:08 PM, McGowan, Ian wrote: We're looking into a major conversion late this year, which will involve checking out several

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread jeffrey Butera
On 1/6/14, 7:08 PM, McGowan, Ian wrote: We're looking into a major conversion late this year, which will involve checking out several thousand programs (mostly opens, reads or writes). Some programs are run many times a day, whereas some were throwaway and haven't been touched in years. It

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread Wjhonson
That would be interesting. The only thing I've done in the past, is to stick a subroutine call near the top, to write the name of the routine into a logging file, and then recompile all the programs. -Original Message- From: McGowan, Ian james.mcgo...@bankofthewest.com To: U2-Users

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread Phil Walker
Maybe convert the VOC entries for the programs to R pointers. The r pointer would point to a file with the original VOC entry for the program. Then in attribute 4 of the R pointer put a security subroutine which logs the calling details for each call etc. That way you can gain a picture of when

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread McGowan, Ian
: [U2] Logging program execution in Unidata? Ian, In universe the map file contains the most recent execution date for cataloged programs. Programs that are just RUN I don't know of any way. Dale On 01/06/2014 06:08 PM, McGowan, Ian wrote: We're looking into a major conversion late this year

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread larryh
Users List Subject: Re: [U2] Logging program execution in Unidata? Ian, In universe the map file contains the most recent execution date for cataloged programs. Programs that are just RUN I don't know of any way. Dale On 01/06/2014 06:08 PM, McGowan, Ian wrote: We're looking into a major

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread McGowan, Ian
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of jeffrey Butera Sent: Monday, January 06, 2014 4:14 PM To: U2 Users List Subject: Re: [U2] Logging program execution in Unidata? On 1/6/14, 7:08 PM, McGowan, Ian wrote: We're looking into a major conversion late this year, which will involve

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread Wols Lists
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of dale kelley Sent: Monday, January 06, 2014 4:13 PM To: U2 Users List Subject: Re: [U2] Logging program execution in Unidata? Ian, In universe the map file contains the most recent execution date for cataloged programs. Programs

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread McGowan, Ian
: Monday, January 06, 2014 4:44 PM To: U2 Users List Subject: Re: [U2] Logging program execution in Unidata? MAKE.MAP.FILE We catalog all our programs - locally (so they end up in CTLG in the current account) for programs specific to a particular account, as well as globally (so

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread McGowan, Ian
out R pointers now! -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Phil Walker Sent: Monday, January 06, 2014 4:17 PM To: U2 Users List Subject: Re: [U2] Logging program execution in Unidata? Maybe convert the VOC

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread Wjhonson
...@listserver.u2ug.org] On Behalf Of lar...@wcs-corp.com Sent: Monday, January 06, 2014 4:44 PM To: U2 Users List Subject: Re: [U2] Logging program execution in Unidata? MAKE.MAP.FILE We catalog all our programs - locally (so they end up in CTLG in the current account) for programs specific to a particular

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread Baakkonen, Rodney A (Rod) 46K
, 2014 4:55 pm Subject: Re: [U2] Logging program execution in Unidata? Larry/Wol, thanks for this. Trying it now on a dev server. Not sure how I've missed this all these years, but glad to learn something new! -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread Charlie Noah
PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Logging program execution in Unidata? I believe there is something wrong with this suggestions. IIRC you don't get the time and date it was last RUN, only the date it was last Accessed. I suspect this is the touch date, which could mean

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread McGowan, Ian
-users-boun...@listserver.u2ug.org] On Behalf Of Charlie Noah Sent: Monday, January 06, 2014 5:31 PM To: U2 Users List Subject: Re: [U2] Logging program execution in Unidata? Ian, You said you didn't have a wrapper program. How do your programs get executed? Charlie On 01-06-2014 7:23 PM

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread McGowan, Ian
Subject: Re: [U2] Logging program execution in Unidata? What we did was have a cron run every 10 minutes that executed a Unidata program. The Unidata program did a PCPERFORM sbcsprogs to capture everything that was running out of the global catalog. It parses up the output of sbcsprogs

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread Dennis Bartlett
] On Behalf Of Charlie Noah Sent: Monday, January 06, 2014 5:31 PM To: U2 Users List Subject: Re: [U2] Logging program execution in Unidata? Ian, You said you didn't have a wrapper program. How do your programs get executed? Charlie On 01-06-2014 7:23 PM, Baakkonen, Rodney A (Rod) 46K wrote