View previous topic :: View next topic
|
Author |
Message |
kumaresh.M
New User
Joined: 17 Feb 2006 Posts: 64 Location: Bangalore
|
|
|
|
hi ,
in my sorce pds i have more than 3000 lines of coding,
for performance i remove some lines and ad some display statements
and save it & compile it
is there any other way to retrive my old coding with out having new changes
or any tools are avilable.
with regards,
kumaresh.M |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
It looks like you are talking about a COBOL program code.
Are you using any version control tool like changeman in your shop. |
|
Back to top |
|
|
kumaresh.M
New User
Joined: 17 Feb 2006 Posts: 64 Location: Bangalore
|
|
|
|
priysh,
iam not using ANY VERSION CONTROL TOOLS LIKE changeman |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Quote: |
iam not using ANY VERSION CONTROL TOOLS LIKE changeman |
Are you sure... your shop doesn't ???
In my knowledge then you can't... may be somebody else can help you on this... |
|
Back to top |
|
|
shrinivas_3 Warnings : 1 New User
Joined: 05 Sep 2006 Posts: 34
|
|
|
|
kumaresh.M wrote: |
priysh,
iam not using ANY VERSION CONTROL TOOLS LIKE changeman |
Hi
ARE YOU USING ENDEVOR ?
if yes then it is possible.
thanks |
|
Back to top |
|
|
vijayakumar.yellala
New User
Joined: 19 Apr 2006 Posts: 63 Location: Chennai
|
|
|
|
hello,
I think in any version control we can get previous versions.....
If i am worng , please correct me....
Regards
Vijay |
|
Back to top |
|
|
shrinivas_3 Warnings : 1 New User
Joined: 05 Sep 2006 Posts: 34
|
|
|
|
vijayakumar.yellala wrote: |
hello,
I think in any version control we can get previous versions.....
If i am worng , please correct me....
Regards
Vijay |
yes you are right.
But in endevor we can follow the below steps.
go to endevor element summary option, wherein we can see list of element versions along with version number.
browse the version which you want .
then in the browse mode type tso bcut in the command line.
you will get your code in view mode .
copy all the lines and paste it back to your PDS.
By this method we can retrieve any code without writing SCl
Thanks. |
|
Back to top |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
|
|
hi,
Even though You don't use any version control tool for your sourse, the system will keep a back up of all the PDS.
I remember.........sometime..there was a discussion on same issue....
The mainframe keeps a version control of all the PDS every day..
If anyone can throw some light on who to retrieve the versions of the PDS, then kumaresh.M problem would be solved.
~Vamsi |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
kumaresh.M,
Technically, this is possible if you have not compressed your PDS.
If you store members ?A?, then ?B?, then ?C? into your PDS, the order of the PDS file is:
A Current version
B Current version
C Current version
Then you edit member ?B? and save it. Now the order of the PDS file is:
A Current version
B Deleted version
C Current version
B Current version
The area in your PDS for deleted versions is not re-used until you compress it. Therefore, someone with the skills could edit the TOC for member ?B? to again point to the ?B? Deleted version.
However, unless you have destroyed production code, and your site does not back up PDSs, I think you are OOL. Next time make a backup of the source before changing it so you can recover.
Dave |
|
Back to top |
|
|
vin12pr Warnings : 1 New User
Joined: 14 Jun 2006 Posts: 56
|
|
|
|
Hi ..In order to retreive the previous versions of a PDS member..one can make use of STARTOOL (its a third part tool). |
|
Back to top |
|
|
|