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

Retrieve the previous version of an element in a dataset


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sunil.sunkari
Warnings : 2

New User


Joined: 06 Sep 2006
Posts: 5

PostPosted: Wed Sep 06, 2006 8:13 am
Reply with quote

Hi,

Can any one help me in the below question:

I want to know the procedure to recover the previous version of an element in an dataset.

For ex: I have an element "program1" in my personal PDS. I worked on it for a while and saved it. After some time, accidentally I overwritten this element while copying another element from another Dataset. So i want to get the previous version of this element Program1, which actaully contins the changes before I overwritten the program with another element.

Can some one please provide me the procedure to retrive the previous version of the element.

Thanks...
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Wed Sep 06, 2006 9:05 am
Reply with quote

First thing I want to confirm here is you are referring to a MEMBER of a PDS when you say ELEMENT.
Then... Does it means modified some records when you say "I overwritten this element "

Now my last question is:-
Quote:
accidentally I overwritten this element while copying another element from another Dataset.

How were you copying here ??? If it was a manual update it can be rolled-back by CANCEL on the command line up to the last SAVE.
If it was a batch update, you lost the earlier version.
Back to top
View user's profile Send private message
sunil.sunkari
Warnings : 2

New User


Joined: 06 Sep 2006
Posts: 5

PostPosted: Sun Sep 10, 2006 9:47 am
Reply with quote

Hi Priyesh,

Let me tell you exactly what happened, so that it will be easy for u to give me a solution:

I have an element "prog1" is my PDS "PDS1". And i am having another PDS with name PDS2 which also contains an element with name 'prog1". But the functionality of the programs in PDS1 and PDS2 are different.

So while I was working, I accidentally copied "prog1" from PDS2 to PDS1.

So all the changes what i did to prog1 in PDS1 are lost.

Right now, I am looking the procedure to get back my changes in prog1 in PDS1.

Please let me know if it is still not clear.

Regards,
Sunil
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Sun Sep 10, 2006 10:30 am
Reply with quote

Look at here ...
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top