Re: [U2] Re trieving Unix Date and Time stamp on records in a DIR type file

2009-10-27 Thread closebutnocigar
You could use EXECUTE ! stat ./BP/PROG1 CAPTURING OUT and parse out the bits you are interested in. This will show date/time of the most recent access, modification and change -- View this message in context:

Re: [U2] Re trieving Unix Date and Time stamp on records in a DIR type file

2009-10-27 Thread Doug Farmer
Use the DIR command on the file. Get the path of the file, append the appropriate \ or /, then do a DIR. For example, on a Unix machine: ITEM.ID = 'TEST' OPEN '','BP' TO BP THEN FILE.PATH = FILEINFO(BP,2) ITEM.PATH = FILE.PATH:'/':ITEM.ID ITEM.DATE =