Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Is there any other way to retrive my old coding

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Is there any other way to retrive my old coding
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: 1452
Location: Chicago, IL

PostPosted: Wed Sep 06, 2006 10:37 am    Post subject: Re: retriving data's!!!!!!!!!!
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    Post subject: Re: retriving data's!!!!!!!!!!
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: 1452
Location: Chicago, IL

PostPosted: Wed Sep 06, 2006 11:29 am    Post subject: Re: retriving data's!!!!!!!!!!
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    Post subject: Re: retriving data's!!!!!!!!!!
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    Post subject: Re: retriving data's!!!!!!!!!!
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    Post subject: Re: retriving data's!!!!!!!!!!
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    Post subject:
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    Post subject: Re: Is there any other way to retrive my old coding
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    Post subject: Re: Is there any other way to retrive my old coding
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    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 Need help on coding an Assembler Table saranyasakthivel PL/I & Assembler 9 Thu Jan 08, 2015 7:03 pm
No new posts ISPF Panel Coding Soumick Sarkar TSO/ISPF 4 Tue Mar 25, 2014 11:36 am
No new posts How do I coding assembly code for hex... Mansik Kim PL/I & Assembler 32 Fri Dec 27, 2013 7:23 am
No new posts Coding COND parm rocky_balboa JCL & VSAM 6 Wed Aug 28, 2013 9:22 am
No new posts How do I coding to file copy larger t... enrico-sorichetti PL/I & Assembler 3 Mon Mar 18, 2013 11:09 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us