IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Get and delete the versions of PDS members


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Dec 08, 2009 5:29 pm
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
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Dec 08, 2009 5:52 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Dec 08, 2009 6:09 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Dec 08, 2009 6:34 pm
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Dec 08, 2009 7:02 pm
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: 8797
Location: Welsh Wales

PostPosted: Tue Dec 08, 2009 7:22 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Dec 08, 2009 7:33 pm
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

Superior Member


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

PostPosted: Tue Dec 08, 2009 8:37 pm
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
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
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 Use [URL] BBCode for External Links 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
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

Superior Member


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

PostPosted: Wed Dec 09, 2009 3:00 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Dec 09, 2009 3:51 pm
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Dec 10, 2009 5:58 pm
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
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Fri Dec 11, 2009 11:31 am
Reply with quote

You can manually modify the current VV.MM using the LEVEL command. I don't have access to a mainframe at present but you should be able to look it up. (F1 is your friend).
Back to top
View user's profile Send private message
shreejita

New User


Joined: 16 Aug 2009
Posts: 60
Location: chennai

PostPosted: Mon Dec 14, 2009 1:48 pm
Reply with quote

Thanks all

For the support u have given.

Regards
Shreejita
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts list pds members name starting with xyz CLIST & REXX 11
Search our Forums:

Back to Top