Just like FTP, the copy will reset the timestamps. Creating a directory listing from the source system would be the best choice. I don't know that you can do a save/restore from that mounted file system. That would likely preserve the timestamp. Never tried that though.
Sent from my Galaxy Tab® A
-------- Original message --------
From: Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
Date: 1/23/17 12:49 PM (GMT-08:00)
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: Read stream files by data/time?
I would not, but that would be a purely native operation.
My stream file dilemma involves Windows, so nothing would surprise me.
-----Original Message-----
From: Rob Berendt [mailto:rob@xxxxxxxxx]
Sent: Monday, January 23, 2017 2:26 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: Read stream files by data/time?
Let me ask you this, if you ran this:
create table mytable (
mycol char 5,
myts1 timestamp,
myts2 timestamp)
insert into table mytable values('A', current timestamp - 5 minutes, current timestamp + 4 minutes) insert into table mytable values('B', current timestamp - 2 minutes, current timestamp + 8 minutes)
create table crud as (select * from mytable) with data
Would you really expect all the timestamps to change?
There would have to be some weird <expletive deleted> trigger on them or some such thing for that to happen.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.