TSO command to recover the older version of a file.

Time Sharing Option, Interactive System Productivity Facility and REstructured eXtended eXecutor

Moderator: mickeydusaor

Post Reply
AnandR
New Member
Posts: 3
Joined: Tue Aug 19, 2014 8:35 pm

TSO command to recover the older version of a file.

Post by AnandR »

Hi,

For a testing I needed some data in the file, which I have edited manually but I needed it's original version too which I don't have now. Does mainframe provide any way, like a command, may a be a TSO command retrieve the older version of dataset.

Please let me know if you need any more informaiton.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1900
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: TSO command to recover the older version of a file.

Post by Robert Sample »

In general, the answer to your question is no. z/OS does not provide any versioning control for a data set. The only exceptions are for generation data groups (where previous versions can be accessed by using the correct relative generation number) and for version 2 PDSE data sets (where members have generations as well).

It would be worth discussing this with your site support group. Many sites use HSM or similar products which may allow you to create a backup copy that you can then restore when needed. This would be a manual process, though, as there is no automated versioning provided in z/OS.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “TSO, ISPF & REXX (Do you still do CLIST?!).”