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
 

 

Get and delete the versions of PDS members
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
shreejita

New User


Joined: 16 Aug 2009
Posts: 60
Location: chennai

PostPosted: Tue Dec 08, 2009 5:25 pm    Post subject: Get and delete the versions of PDS members
Reply with quote

Hi All,

How can we get the versions of PDS members?? And how to delete those versions.

I know when we do any edit with the PDS it creates versions.

Thanks
Shreejita
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Tue Dec 08, 2009 5:29 pm    Post subject:
Reply with quote

Quote:
How can we get the versions of PDS members?????And how to delete those versions.

I know when we do any edit with the PDS it creates versions.
Actually, you only get versions when you've got ISPF statistics turned on -- if you turn them off, you won't get them anymore. There's a variety of ways of using ISPF to get member statistics -- ISPF 3.4 being a good first choice.

Perhaps if you told us what you want to achieve, we could provide assistance?
Back to top
View user's profile Send private message
shreejita

New User


Joined: 16 Aug 2009
Posts: 60
Location: chennai

PostPosted: Tue Dec 08, 2009 5:36 pm    Post subject: Reply to: Regarding PDS
Reply with quote

Hi

Thanks for prompt reply...

can u be specific how to make statistic on in 3.4 option??

Regards
Shreejita
Back to top
View user's profile Send private message
shreejita

New User


Joined: 16 Aug 2009
Posts: 60
Location: chennai

PostPosted: Tue Dec 08, 2009 5:37 pm    Post subject: Reply to: Regarding PDS
Reply with quote

Hi

If statistic is on then how to refer the old member?????

Thanks
Shreejita
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: Tue Dec 08, 2009 5:52 pm    Post subject:
Reply with quote

What do you mean by old member ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Tue Dec 08, 2009 6:09 pm    Post subject:
Reply with quote

Version in ISPF refers to the number of times the member has been modified. There is no archival history available of previous changes -- only the count of the number of times changes have been made. There is no "old memeber" to access -- this is PDS not GDG.
Back to top
View user's profile Send private message
neontech
Warnings : 1

New User


Joined: 08 Dec 2009
Posts: 11
Location: mumbai

PostPosted: Tue Dec 08, 2009 6:30 pm    Post subject:
Reply with quote

Keep using PF11 for futher details on the PDS
Hitting PF11 will not return the desired info, but it might be entertaining.
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: Tue Dec 08, 2009 6:34 pm    Post subject:
Reply with quote

neontech

Would I be correct in thinking that you have recently gained your first job in IT.

If you wish to productively participate in the forum, please take the time to read and understand the problems encountered rather than giving non related or non productive answers.
Back to top
View user's profile Send private message
neontech
Warnings : 1

New User


Joined: 08 Dec 2009
Posts: 11
Location: mumbai

PostPosted: Tue Dec 08, 2009 6:44 pm    Post subject:
Reply with quote

Expat.. i have been working since 5 years.. so you are wrong in telling that its my first IT job ... anyways... the version no.s can be browsed for a particular pds.. if we go PF11 .. every details pertaining to the pds member..

I am here to participate and have healthy discussion.. hope u understand
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Tue Dec 08, 2009 7:02 pm    Post subject:
Reply with quote

Shreejita: if you are editing a member and type "stats on" on the command line, it will turn statistics on. "stats off" will turn them off. Use the "profile" command to determine whether they are on or off. All these are primary commands and not line commands.

neontech: your answers so far have (a) not been responsive to the asked question, and (b) incomplete to the point of being useless. If Shreejita is in an edit session already, and hits PF11 (even repeatedly as you suggest), what happens? PF11 can provide member statistics data only so long as the person has gone to ISPF 3.4, entered a PDS, and done a member list on it. Otherwise, what's the point of shifting right while editing the data (assuming, of course, that the default PF key assignments have not been changed)?
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: Tue Dec 08, 2009 7:22 pm    Post subject:
Reply with quote

Thank you Robert, for expressing my thoughts in more eloquent and kindly manner than I believe that I would have done.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Tue Dec 08, 2009 7:33 pm    Post subject:
Reply with quote

You're welcome, expat -- always glad to help out on a rainy day (at least here -- up to 2 MORE inches of rain are expected and we're 16 inches above normal for the year as of yesterday)!
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Dec 08, 2009 8:37 pm    Post subject:
Reply with quote

System Programmer wrote:
Version in ISPF refers to the number of times the member has been modified. There is no archival history available of previous changes -- only the count of the number of times changes have been made.

neontech wrote:
anyways... the version no.s can be browsed for a particular pds.. if we go PF11 .. every details pertaining to the pds member..


Hey neontech, I'm confused. I'm quite young you know -- can you please direct me to some link or give some statistics (post some code to show what PF11 shows) to understand what you said.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Dec 08, 2009 9:48 pm    Post subject:
Reply with quote

Anuj,

unless you are just messing with the 'old rookie',

when you are viewing a ds list in 3.4, if you scroll right (normally PF11),
additional details about the ds's are provided.

when you are viewing a pds member list,
either by line commands e/v/b on ds list of 3.4
or
by ispf options 1 or 2

if you scroll right (normally pf11), additional details about the pds members will be displayed.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Dec 08, 2009 11:18 pm    Post subject:
Reply with quote

While old members are not archived or normally accessible, there are tools to recover prior versions in a normal PDS (non-PDSE) that has not been compressed. The old members exist in the "gas" and the utilities find them and restore a directory pointer to them.

The PDS Tool is on the www.cbttape.org website.
Back to top
View user's profile Send private message
shreejita

New User


Joined: 16 Aug 2009
Posts: 60
Location: chennai

PostPosted: Wed Dec 09, 2009 2:50 pm    Post subject: Reply to: Regarding PDS
Reply with quote

Hi All,

Good see a hot discussion..Thanks all for the help.

One more doubt i have that when i see with PF11 i see the version along with other details. Plz explain those too.

Code:
 Size    Init     Mod      VV MM
    8       8        8         01.09
   83      83       0         01.08


Thanks
shreejita
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Wed Dec 09, 2009 3:00 pm    Post subject:
Reply with quote

Dick, it looks like I still need to learn a lot more to be a gladiator...icon_smile.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Wed Dec 09, 2009 3:51 pm    Post subject:
Reply with quote

From the ISPF User's Guide Volume 1:
Quote:
VV.MM
Version number and modification level. The version number is set to 1 and the modification level is set to 0 when the member is created. The modification level is the number of times this version has been modified. For example, 02.15 means version 2, modification 15.

If a member name is just an alternate name for another member, ALIAS appears in this field.

Created
Date this version was created. The format used depends on your national format. For example, 90/06/27 means June 27, 1990 to some, but so does 06/27/90 and 27/06/90 mean it for others.

Changed
Date and time this version was last modified; date is shown in the national format (see Created). Time is shown using a 24-hour format. For example, 17:20 means 5:20 p.m..

Size
Current number of lines. The largest number this field can display is 65 535.

Init
Number of lines when the member was first saved. The largest number this field can display is 65 535.

Mod
Number of lines in the current member that have been added or changed. If the data is unnumbered, this number is zero. The largest number this field can display is 65 535.
You can set the version number via ISPF option 3.5 -- which resets most of the other statistics as well.
Back to top
View user's profile Send private message
shreejita

New User


Joined: 16 Aug 2009
Posts: 60
Location: chennai

PostPosted: Thu Dec 10, 2009 2:21 pm    Post subject: Reply to: Regarding PDS
Reply with quote

Hi

Thanks for the help. Really helpful.

But one doubt when i change the member with added lines only the modification i.e MM is getting changed but not VV. When the version will be changed??

Thanks for the support.
shreejita
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Thu Dec 10, 2009 5:58 pm    Post subject:
Reply with quote

Version will be changed only when you reset the ISPF statistics and specify a new version number -- I don't think it will automatically change, although I haven't verified that in a manual.
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 -> JCL & VSAM All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts Delete record or Reset RC code using ... mpawan Compuware & Other Tools 4 Tue Jul 26, 2016 3:52 pm
No new posts Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm
No new posts Delete VSAM File Records amitc23 CICS 6 Sun Apr 10, 2016 10:10 am


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