Create/Update Timestamp of a Dataset through Rexx

IBM's Command List programming language & Restructured Extended Executor
Blackthorn
Posts: 130
Joined: Tue Feb 01, 2011 7:12 pm
Skillset: JCL, TWS, IBM Utilities
Referer: Found on web

Re: Create/Update Timestamp of a Dataset through Rexx

Postby Blackthorn » Wed Mar 13, 2019 9:10 pm

steve-myers wrote:
Blackthorn wrote:
expat wrote:But the type 15 only shows the dataset being opened for output, it doesn't show that there was an update or not.


That doesn't seem to be the case. The type 15 is written when the dataset is closed. So, at that point, it knows whether there actually was an update or not. If there wasn't an update, even if it was opened for output, there is no type 15, only a type 14.
No.

All you know, 100% for sure, is the data set was opened to alter the data set in some way. You do not know whether the data set was actually altered.


So why is it that when I edit a dataset (ie; place an E next to it in 3.4) and then PF3 without changing anything I only get a type 14. But if I change some of the data, I get both a type 14 and a type 15?

enrico-sorichetti
Global moderator
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
Referer: www.ibmmainframes.com

Re: Create/Update Timestamp of a Dataset through Rexx

Postby enrico-sorichetti » Wed Mar 13, 2019 9:59 pm

Because ISPF knows that nothing was changed :ugeek:
and it will not rewrite the dataset
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort


  • Similar Topics
    Replies
    Views
    Last post