Hi Anthony,

Use the STATUS statement, this should return the dates you need to
compare. Examples are shown in the manual. In essence,

OPEN '','MY.TYPE.1.FILE' TO filething ELSE STOP
STATUS filedata FROM filething

mod.date = filedata<16> ; * Gives us the date of last modification in
internal format
acc.date = filedata<14> ; * Gives us the date of last access in internal
format

HTH

Regards
David Logan
Database Administrator
HP Managed Services
139 Frome Street,
Adelaide 5000
Australia

+61 8 8408 4273 - Work
+61 417 268 665 - Mobile
+61 8 8408 4259 - Fax



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Dzikiewicz
Sent: Thursday, 6 May 2004 5:38 AM
To: [EMAIL PROTECTED]
Subject: [U2] Universe Sequential File Attributes


How would one go about analyzing a type 1 file records in UV for ;

1. the creation date was within a range,
2. or file size was at least nnn large.

Im working on automating some 'backups' and now Im up against this wall.
I
remember a long time ago there was a way to get this info in PI/OPEN.
In
Unix I could always do something in the shell, but the platform Im
working
on is Windows where this type of thing isn't available.

Anthony Dzikiewicz
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Reply via email to