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

How to findout compiled source?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Jun 24, 2010 7:21 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Jun 24, 2010 7:59 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Discrepancy between source code and o... COBOL Programming 7
No new posts Best way to Capture Auth ID of the so... COBOL Programming 1
No new posts Different result between normal rexx ... CLIST & REXX 2
No new posts Open source project on mainframe General Talk & Fun Stuff 3
No new posts LIST NODE DIRECTORY - db2 clp - tryin... IBM Tools 1
Search our Forums:

Back to Top