Page 1 of 1

IMS DC program is not refreshing the load module in IMS

Posted: Tue Aug 11, 2015 10:18 am
by kiran.may7
Hi,

I have COBOL IMS DC application program ready in IMS region. The MFS, ACB, Transaction and Programs are initialized in IMS region. The transaction got invoked and I could enquire the data on the screen.

Then i had the changes in COBOL IMS DC program. I have compiled the changed Cobol IMS program and the new load module is not getting refreshed into IMS region.
We tried F LLA,REFRESH via console but the load module did not get refreshed.

We do not want to bring the IMS down and Up every time the new load module created.
Is there any IMS control region JCL setting which need to be changed to do Auto refresh when the load module get refreshed?

Please suggest on how to refresh the load module of program into IMS region.

Thanks
Kiran

Re: IMS DC program is not refreshing the load module in IMS

Posted: Tue Aug 11, 2015 2:10 pm
by nicc
As per the many answers given where you asked the question previously.

Re: IMS DC program load module is not refreshing in IMS

Posted: Tue Aug 11, 2015 5:18 pm
by kiran.may7
I have not got the correct answer for this issue in other forum.

Please suggest on this issue. How to refresh the load module of program into IMS region automatically when program get compiled every time.

Re: IMS DC program is not refreshing the load module in IMS

Posted: Tue Aug 11, 2015 6:03 pm
by Robert Sample
How to refresh the load module of program into IMS region automatically when program get compiled every time.
I suspect you want something that is not possible. CICS does not automatically refresh a program when it is recompiled -- the programmer (or someone) MUST issue a NEWCOPY on the program for CICS to pick up the changes. The only way CICS would pick up the changes without a NEWCOPY is if CICS is recycled so it reads the load modules again. Shutting down CICS just to pick up a program change is a bit drastic. I would expect IMS to work the same way -- the programmer must indicate to IMS in some way that a new version of the program exists. I've never used IMS, though, so I am not aware of the mechanism.

LLA REFERSH will only pick up changes to the LINKLIST. And CICS programs (and, presumably, IMS) programs are not placed in the LINKLIST -- CICS uses a DD name to indicate where to find the load modules. So I would expect an LLA REFRESH to have absolutely no impact upon your IMS code.

And posting the same question on a different forum won't get you different or better answers, generally -- the same people who respond on the other forum also respond on this forum.

Re: IMS DC program is not refreshing the load module in IMS

Posted: Thu Aug 13, 2015 4:43 pm
by Anuj Dhawan
kiran.may7 wrote:...the new load module is not getting refreshed into IMS region.
How do you conclude this?

And what test/debugging tool are you using to test the changes in COBOL program? Do you get it there right?

Re: IMS DC program is not refreshing the load module in IMS

Posted: Thu Aug 27, 2015 11:49 pm
by Russ
You have to stop the message regions(MPR). You must then restart the message regions.


Russ