Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Editing "member generations" in PDSE version 2 data sets

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

New User


Joined: 18 Oct 2012
Posts: 34
Location: Brasil

PostPosted: Tue Dec 29, 2015 7:27 pm    Post subject: Editing "member generations" in PDSE version 2 data sets
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: 4
Location: Walnut Creek, California, USA

PostPosted: Thu Nov 10, 2016 6:15 pm    Post subject: Reply to: Editing "member generations" in PDSE version 2 data sets
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    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
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Copying a ps to member of a existing PDS Deepika Chikyala JCL & VSAM 10 Tue Sep 05, 2017 11:44 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us