Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to findout compiled source?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
akatast

New User


Joined: 05 Mar 2009
Posts: 15
Location: Ohio

PostPosted: Thu Jun 24, 2010 7:06 pm    Post subject: How to findout compiled source?
Reply with quote

We have Endevor for version control in our shop.

Long back somebody have compiled one program in production loadlib by using source from his personal library but not moved original version of code into production’s source library.

Now when I comparing dates of endevor and loadlib so its different, latest is loadlib one.

Please any body know how to find out actual compiled source in this scenario?

Thanks.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Thu Jun 24, 2010 7:21 pm    Post subject: Reply to: How to findout compiled source?
Reply with quote

Quote:
Please any body know how to find out actual compiled source in this scenario?

nobody will be able to tell,
the sources corresponding to the load might not even be available any longer

Quote:
Long back somebody have compiled one program

ask the above somebody, if You cannot identify him/her than You/Your organization are in trouble
Back to top
View user's profile Send private message
akatast

New User


Joined: 05 Mar 2009
Posts: 15
Location: Ohio

PostPosted: Thu Jun 24, 2010 7:47 pm    Post subject:
Reply with quote

Hey Enrico,

That somebody is not here but your great answer gave me an idea and that is:

As because program is running in production so I can check “SYSPRINT PC “of job in spool and there I can get code also. icon_lol.gif

Thanks Enrico icon_wink.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Thu Jun 24, 2010 7:59 pm    Post subject: Reply to: How to findout compiled source?
Reply with quote

sorry to disillusion You,
but You will not be able in general to recover the sources from a load module...

as far as Your hopes...
anything that gets printed at execution time will not be the program source anyway

in this case the best thing to do is to find the latest available sources
an start running zillions of regression tests to see all the differences between the running <thing> and the <available> one
Back to top
View user's profile Send private message
akatast

New User


Joined: 05 Mar 2009
Posts: 15
Location: Ohio

PostPosted: Thu Jun 24, 2010 8:42 pm    Post subject:
Reply with quote

You are right Enrico.

Don’t know how but I ran one job and got source printed also in spool thats why I thought that option.

As you suggested I’ll start with latest available code.

Thanks.
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 Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 pm
This topic is locked: you cannot edit posts or make replies. Locating the source code. Raghur CLIST & REXX 17 Mon Apr 04, 2016 2:29 pm
No new posts How to extract source name from XML ANIRUDH A DB2 2 Mon Aug 31, 2015 3:34 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us