Joined: 24 Jul 2011 Posts: 651 Location: Down on the pig farm
Posted: Thu Mar 27, 2014 2:03 pm Post subject:
And what I am trying to get you to understand is that recompiling a program has no affect if NOTHING in that program has changed - it creates the SAME object module. That is the basic understanding that you should have reached from your education.
However, if a copybook used by that program has changed then it needs to be recompiled. If you change the 7th program and it abends then the error is NOT in the 1st to 6th programs but in the 7th. If you have changed the order of items in the linkage received then you will have to change the 6th program to call the 7th program with the parameters in the correct sequence - although the 7th should be made to match the 6th program and not the other way around (why change 2 programs when you only need to change 1?). _________________ Regards
i assume this is not db2.
i assume that you mean statically called and linked.
just relink 6 after you have recompiled and relinked 7. _________________ Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum