UniData has the _PH_ file which is a DIR type file. There is the DIR()
function that will return a lot of information for you without the expense
of opening the file. Perhaps UniVerse has something similar.

See <http://www.pickwiki.com/cgi-bin/wiki.pl?GetOsInfo> for examples and
code on how to use it to get the OS date/time/size quickly and easily.

hth
Colin
Calgary, Canada

-----Original Message-----
From: Perry Taylor

If you don't want to mess with the "nuances" of the &PH& ID you can call a
subroutine which does an OPENSEQ then uses STATUS to get the modification
date right from the file system.

Perry

----- Original Message -----
From: Charles Stevenson

You can also get elapsed time by subtracting that ID date-time stamp 
from the os's date-time-modified stamp, which is when the job ended. (if 
the job writes to the &PH& log as it ends.)

On 11/29/2011 4:01 PM, John Thompson wrote:
> Yep... need more sleep.  Thanks.
>
> On Tue, Nov 29, 2011 at 4:58 PM, Wjhonson wrote:
>
>> Third field, not second field
>> FIELD(@ID,'_',3)
>>
>> -----Original Message-----
>> From: John Thompson
>>
>>
>> So I thought I would build an I-type to get the date of the&PH&  items in
>> niverse so I could more easily purge them...
>> The item id looks like so:
>> AUTOMATED.UPDATE.REO_23400_15641
>> The friendly manual says that the item id is:
>> hantomverb_time_date
>> So my I-type looks like so:
>> 001 I
>> 02 FIELD(@ID,'_',2)
>> 03
>> 04 Date
>> 05 10
>> 06 R
>> And of course, I have not put in the conversion code yet...
>> The output of the I-type is this:
>> ID......................................
>>             Date......
>> AUTOMATED.UPDATE.REO_23400_15641         234000000.0
>> What am I missing?
>> Shouldn't Date be 15641?
>> --
>> ohn Thompson

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to