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
 
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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts How to query MAXGENS of an existing P... Chuchulo Hatyzak JCL & VSAM 4 Wed Nov 22, 2017 10:23 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm

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