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

Editing "member generations" in PDSE version 2 data sets


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ricardo Viegas

New User


Joined: 18 Oct 2012
Posts: 39
Location: Brasil

PostPosted: Tue Dec 29, 2015 7:27 pm
Reply with quote

We can define a maximum quantity of generations for each member in a PDSE version 2 data set.

In more than one place in the ISPF Edit and Edit Macros manual (SC19-3621-01) there are implicit indications that we can edit a member generation different from the "generation zero" (the most recent one), but there is no explicit information on HOW to do such an editing.

After some search, I found this info in the ISPF User's Guide Vol.1 (SC19-3627-01):

Quote:
Consider the following items when using line commands with members in a PDSE version 2 data set that is configured for member generations:

v When you use the B, E, or V line command to browse, edit, or view a member, you can use the Prompt field to access previous generations of the member. In addition to entering the line command, enter a slash (/) in the Prompt field to display a panel on which you can enter the generation that you want to access.

v When you use the D line command to delete a member, the current generation and all previous generations of the member are deleted.

v When you use the C line command to copy a member, only the current
generation of the member is copied.

v When you use the M or R line command to move or rename a member, the
current generation of the member is moved or renamed and all previous
generations of the member are deleted.

Hope this be of some help to the people that is beginning to use such a facility.

Regards, Ricardo
Back to top
View user's profile Send private message
lbdyck

New User


Joined: 02 Jun 2003
Posts: 5
Location: Walnut Creek, California, USA

PostPosted: Thu Nov 10, 2016 6:15 pm
Reply with quote

Be aware that editing a non-0 generation has these caveats:

1) the Save NEWGEN will NOT happen so the updates to the non-0 generation do not create a new generation.

2) non-0 generations CANNOT be referenced using JCL, Dynamic Allocation, the vast majority of TSO commands, or the vast majority of ISPF applications and vendor utilities.

It is always best to never edit a non-0 generation unless you do so only to copy the data to a new member for editing/updating.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
Search our Forums:

Back to Top