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
 

 

Retrieve the previous version of an element in a dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Retrieve the previous version of an element in a dataset
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: 1452
Location: Chicago, IL

PostPosted: Wed Sep 06, 2006 9:05 am    Post subject: Re: Retrieve the previous version of an element in a dataset
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    Post subject: Re: Retrieve the previous version of an element in a dataset
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: 1452
Location: Chicago, IL

PostPosted: Sun Sep 10, 2006 10:30 am    Post subject: Re: Retrieve the previous version of an element in a dataset
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts GDG version number PANDU1 JCL & VSAM 4 Sat Mar 04, 2017 8:28 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


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