Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

About PS datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Thu Apr 24, 2008 2:56 pm    Post subject: About PS datasets
Reply with quote

Hi all,

From one of Enrico's replies..,
Quote:
usually PS datasets are not updated, they are created every time,
so the creation date should be the equal to the changed date

From 3.4 list and couple of PF11 strokes..,

I see Created, Referred dates can be diiferent for PS datasets.
And Changed data is not there for PS !?.

Members of PDS will have Created as well as Changed date.

Could anyone please explain in detail?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Thu Apr 24, 2008 3:03 pm    Post subject: Reply to: About PS datasets
Reply with quote

created means just that
referenced ... opened, irrelevant of mode

the info for the pds members is internally managed by ispf
and stored in the userd data of the directory record
if I remember correctly hitachi ispf like product statistics were different
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Apr 24, 2008 6:36 pm    Post subject:
Reply with quote

To find the last time that a PS dataset may have been updated is to use SMF type 15 records. These are generated when a dataset is opened for output.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Apr 25, 2008 4:45 am    Post subject: Re: About PS datasets
Reply with quote

Hi,
gnanas wrote:
Created, Referred dates can be diiferent for PS datasets.
Created date is the date when DSN was allocated, got an entry in ccatalog. Reference date is when it was last modified.

For an experiment, pick a file allocated by you, check for it's reference date; now edit it & check for reference date. In later case reference-date should be 'today's date'.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Apr 25, 2008 5:11 am    Post subject:
Reply with quote

Hello,

Accessing a dataset also often updates the reference date.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Apr 25, 2008 5:22 am    Post subject:
Reply with quote

dick scherrer wrote:
Accessing a dataset also often updates the reference date.
Should I say it can be site specific, I tried it at my shop but it doesn't make any difference..?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Apr 25, 2008 6:09 am    Post subject:
Reply with quote

Hi Anuj,

Quote:
Should I say it can be site specific, I tried it at my shop but it doesn't make any difference..?
If you update the file, the reference data changes (at least on every system where i've actually noticed). If you access the file (as in retrieving the "I" info from 3.4), the reference data may be changed - this has not always been consistent.

I'm sure there is some rule, but i've never gone looking to find the specifics. My only caution is that the reference date may not indicate the last time the dataset was actually referenced.
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Fri Apr 25, 2008 9:14 pm    Post subject:
Reply with quote

What Anuj has said is that I am trying to say...

But, still I am not clear with this...
Quote:
From one of Enrico's replies..,
Quote:
usually PS datasets are not updated, they are created every time,
so the creation date should be the equal to the changed date
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Apr 25, 2008 9:52 pm    Post subject:
Reply with quote

Hello,

Typically, PS datasets are deleted and re-allocated in a job rather than being "written over". One reason is that writing over a qsam file may waste space (if the "new" data is significantly less than the existing data) or the job may abend due to the "new" data requiring more space that is allocated.

Database, vsam, and partioned datasets are typically updated rather than re-created.

If i've mis-understood the question, please clarify.
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Mon Apr 28, 2008 2:10 pm    Post subject:
Reply with quote

Thanks Dick for your reply.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Apr 28, 2008 10:12 pm    Post subject: Reply to: About PS datasets
Reply with quote

You're welcome icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts Finding unreferenced datasets without... Alan Playford JCL & VSAM 5 Tue Jul 12, 2016 9:07 pm
No new posts BDW in VB datasets harisukumaran JCL & VSAM 5 Sat May 28, 2016 9:46 am
No new posts How to sync memebers in some datasets... Lord.of.Wind Compuware & Other Tools 2 Thu Apr 21, 2016 12:48 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us