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

How to restore last version in endevor ?


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Kislay Thakur

New User


Joined: 10 Apr 2007
Posts: 1
Location: chennai

PostPosted: Fri May 04, 2007 11:47 am
Reply with quote

for example in test region program P version 1.01 is there. Then for program P new 1.02 added. how to restore P 1.01?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri May 04, 2007 1:13 pm
Reply with quote

Thakur,

Only archived elements/versions can be restored. If your shop has the option of archiving test elements, you can always do that.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sat May 05, 2007 2:31 am
Reply with quote

I think of two choices:
1. Delete selectively the current version 1.02 then automatically only 1.01 version exist in endevor
OR
2. copy 1.01 version and then update this old version into endevor. So you get new version 1.03 which will be same as 1.01 version.
Back to top
View user's profile Send private message
amit_atkar

New User


Joined: 04 Jan 2007
Posts: 3
Location: PUNE

PostPosted: Thu Jun 07, 2007 12:45 pm
Reply with quote

But Devzee if we delete the version 1.02 then automaticall the lower version will also gets deleted if I m wrong please let me know how can we delete the version selectively icon_exclaim.gif
Back to top
View user's profile Send private message
priyamnavada

New User


Joined: 24 Dec 2005
Posts: 52
Location: hyderabad

PostPosted: Thu Jun 07, 2007 4:35 pm
Reply with quote

its not possible to delete version wise. all the versions will be deleted if we give delete SCL.

in order to restore, take a backup of that version, and then delete and add it again.

this is very rediculous but still we cant restore any versions once we delete the module.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Thu Jun 07, 2007 5:50 pm
Reply with quote

Advice from many years' experience:

When you are concerned about an issue like this, just create a new dummy member, contents don't matter, then update it, then delete its 1.02 and see what happens.

I'd rather do this (perhaps 30 minutes of work) than rely on the advice of someone I don't even know.

This is how you become the go-to person, because you will really know the answer, not just what you think it maybe oughta be.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jun 07, 2007 6:14 pm
Reply with quote

Hello,

Going along with what Phil suggests - play with a copy, not the actual member in question.

If you whack the existing member, you will not be smiled upon. . .
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Thu Jun 07, 2007 6:59 pm
Reply with quote

Quote:
Delete selectively the current version 1.02 then automatically only 1.01 version exist in endevor


In DELETE option - dont delete component, you should select or give the exact version which needs to be deleted. This way your component will not be deleted but only the selected version will be deleted.

You can try by creating dummy member and post your concerns
Back to top
View user's profile Send private message
priyamnavada

New User


Joined: 24 Dec 2005
Posts: 52
Location: hyderabad

PostPosted: Thu Jun 07, 2007 7:32 pm
Reply with quote

I tried deleting particular version but all versions are deleted. hence i concluded that we cant delete particular version.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Thu Jun 07, 2007 7:34 pm
Reply with quote

Quote:
I tried deleting particular version but all versions are deleted. hence i concluded that we cant delete particular version.


What option you used?
After selecting the foreground delete option.
select the component by 's' next to it
and then it lists all the versions right? then do # delete on the latest version.
see what happens and let me know
Back to top
View user's profile Send private message
priyamnavada

New User


Joined: 24 Dec 2005
Posts: 52
Location: hyderabad

PostPosted: Thu Jun 07, 2007 7:46 pm
Reply with quote

No, its not accepting. its giving as invalid option. As far as my knowledge its not possible to delete a particular version.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Thu Jun 07, 2007 7:48 pm
Reply with quote

for which option its giving invalid
Back to top
View user's profile Send private message
priyamnavada

New User


Joined: 24 Dec 2005
Posts: 52
Location: hyderabad

PostPosted: Thu Jun 07, 2007 7:48 pm
Reply with quote

No, its not accepting. its giving as invalid option. As far as my knowledge its not possible to delete a particular version.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Thu Jun 07, 2007 8:22 pm
Reply with quote

I can see why this would be legitimate design.

If you are allowed to delete something from a history, be it change control or a transaction history file, then what exactly is history?

The previous suggestion of retrieving the version you want and re-adding it as the latest seems OK. I assume this isn't done too often, so the burden is small.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Jun 08, 2007 2:01 am
Reply with quote

Deletion of current level of the element is possible in development environment.

In production no one deletes history information, and change control will restrict this.
Back to top
View user's profile Send private message
smithaA

New User


Joined: 21 Mar 2007
Posts: 2
Location: Bracknell, UK

PostPosted: Fri Jun 08, 2007 2:41 pm
Reply with quote

I don't think so. For any region it says 'invalid option'.
Back to top
View user's profile Send private message
kaleelahamed

New User


Joined: 08 Jun 2006
Posts: 45
Location: Trumbull, CT

PostPosted: Sat Jun 30, 2007 3:11 pm
Reply with quote

Quote:
for example in test region program P version 1.01 is there. Then for program P new 1.02 added. how to restore P 1.01?


I belive all the Endevor products are the same in Menus.
i use these options to retrieve any version of any code.

2 FOREGROUND - Execute Foreground Actions
then
3 RETRIEVE - Retrieve or copy an element

In the RETRIEVE ELEMENTS menu
give all the credentials like, CCID, program name, type etc.. and then press enter without giving any option.
ELEMENT SELECTION LIST menu appears
In this select the program by givin S before the name, it lists all the version of the program and
then select the particular version you want by giving R in front of needed version.

Hope this answers the first question that was asked.
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Copying GDG version(all/few) from pro... CLIST & REXX 13
No new posts XMITIP Latest Version JCL & VSAM 2
No new posts How to determine TLS/SSL version in m... TSO/ISPF 2
Search our Forums:

Back to Top