snipsnip
snip
That's sweet. I'm adding that to my bag of other people's tricks.
Thank you.
--
Allen Egerton
/snipsnip
And I'm adding that to my book of other people's quotes!
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
On our unix system, I've just created a VOC entry that mimics ls -l, using
the path from field 2 of the VOC file record.
CT VOC LS.TEST
LS.TEST
0001 PA
0002 SH
0003 DATA ls -l F(VOC,C2,2)
0004 DATA exit
LS.TEST SAMPLE.FILE
-rwxrwxrwx 1 root system 549888 Jan 03 15:19
Doug -
My apologies for stating the obvious questions:
(1) is the pick item in a Type1/Type19 file? Or a hashed file?
(2) if Type1/Type19, you can execute *NIX ls -l {pick_name} or Winxx -
Explorer - {directory} - right click - Properties to get created/last
update time
(3) If in a hashed file,
Hi Doug,
Is there a way in universe (10.1) to see the date a pick item was
created/last modified?
If this item is in a hashed file, the answer is no. You would have to add
your own date/time modified field to handle this.
If it is in a directory file (type 1 or 19), you can use the STATUS
Well, if it's a type 19 or type 1 file and it's a Unix-based system, you
can shell out, cd to that directory, and an 'ls' of the item's details
will show the last date/time it was modified.
However, if you're talking about an every day, garden variety data file,
no there isn't any way.
Only on a directory-type file.
- Original Message -
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org u2-users@listserver.u2ug.org
Sent: Thu Jan 03 10:29:16 2008
Subject: [U2] date on a pick item
Is there a way in universe (10.1) to see the date a pick item was
Robert DunnMiller wrote:
(3) If in a hashed file, that becomes a function of the application itself.
its a hashed file, at one time Charlie Noah showed me how to do this but
sadly its been years and at the time I did not have a use for it ...
I am almost positive there is a way, I
Doug Chanco wrote:
Is there a way in universe (10.1) to see the date a pick item was
created/last modified?
Short answer - No.
Long(er) answer - not on a stock system unless the item in question is a
record within a type1 or type19 file, (in which case it's actually a
file within a
1. Consider saving the date with the record.
2. Some time ago, I remember that Jeff Fitzgerald (fitzlong.com) mentioned
transaction logging
functionality in U2. Info on transaction logging is in the IBM tech
manuals. I have not used
U2 transaction logging.
--Bill
---
u2-users
.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of doug chanco
Sent: Thursday, January 03, 2008 10:50 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] date on a pick item
Robert DunnMiller wrote:
(3) If in a hashed file, that becomes a function
Doug,
You described a system that builds VOC entries and procs; I assume the
problem is that you're ending up with a bunch of temporary procs
cluttering up your system.
Why not (a) add the date to the NIGHT-JOBSport id, or (b) add lines to
the proc to make it self-deleting (it should be
Doug
Since it's only a single file you're looking at (VOC), here's a low impact
way you could timestamp. This will log all changes to an index file, which
you will need to clear down periodically grin:
1. Create a subroutine that will return a timestamp AND a checksum when
listed, e.g.
the records to the PH records, so you can view any
messages.
Roger
- Original Message -
From: Rex Gozar
Date: Thursday, January 3, 2008 1:45 pm
Subject: Re: [U2] date on a pick item
To: u2-users@listserver.u2ug.org
Doug,
You described a system that builds VOC entries and procs; I
Wow, he's smart!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Leach
Sent: Thursday, January 03, 2008 12:37 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] date on a pick item
Doug
Since it's only a single file you're
Brian Leach wrote:
Doug
Since it's only a single file you're looking at (VOC), here's a low impact
way you could timestamp. This will log all changes to an index file, which
you will need to clear down periodically grin:
1. Create a subroutine that will return a timestamp AND a checksum when
15 matches
Mail list logo