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

Is there any other way to retrive my old coding


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kumaresh.M

New User


Joined: 17 Feb 2006
Posts: 64
Location: Bangalore

PostPosted: Wed Sep 06, 2006 10:29 am
Reply with quote

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
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Wed Sep 06, 2006 10:37 am
Reply with quote

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
View user's profile Send private message
kumaresh.M

New User


Joined: 17 Feb 2006
Posts: 64
Location: Bangalore

PostPosted: Wed Sep 06, 2006 11:21 am
Reply with quote

priysh,

iam not using ANY VERSION CONTROL TOOLS LIKE changeman
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Wed Sep 06, 2006 11:29 am
Reply with quote

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
View user's profile Send private message
shrinivas_3
Warnings : 1

New User


Joined: 05 Sep 2006
Posts: 34

PostPosted: Wed Sep 06, 2006 11:33 am
Reply with quote

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
View user's profile Send private message
vijayakumar.yellala

New User


Joined: 19 Apr 2006
Posts: 63
Location: Chennai

PostPosted: Wed Sep 06, 2006 11:44 am
Reply with quote

hello,

I think in any version control we can get previous versions.....

If i am worng , please correct me....


Regards
Vijay
Back to top
View user's profile Send private message
shrinivas_3
Warnings : 1

New User


Joined: 05 Sep 2006
Posts: 34

PostPosted: Thu Sep 07, 2006 11:16 am
Reply with quote

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
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Sep 07, 2006 11:30 am
Reply with quote

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
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Fri Sep 08, 2006 4:34 am
Reply with quote

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
View user's profile Send private message
vin12pr
Warnings : 1

New User


Joined: 14 Jun 2006
Posts: 56

PostPosted: Mon Sep 11, 2006 10:21 am
Reply with quote

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
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Need help on coding an Assembler Table PL/I & Assembler 9
No new posts ISPF Panel Coding TSO/ISPF 4
No new posts How do I coding assembly code for hex... PL/I & Assembler 32
No new posts Coding COND parm JCL & VSAM 6
Search our Forums:

Back to Top