Create/Update Timestamp of a Dataset through Rexx

IBM's Command List programming language & Restructured Extended Executor

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.

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?
Posts: 130
Joined: Tue Feb 01, 2011 7:12 pm
Has thanked: 1 time
Been thanked: 9 times

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
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

These users thanked the author enrico-sorichetti for the post:
Blackthorn (Thu Mar 14, 2019 8:28 pm)
Global moderator
Posts: 2995
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times


Return to CLIST & REXX


  • Related topics
    Last post