IMS DC program is not refreshing the load module in IMS

RDBMS from IBM and IBM's Hierarchical DBMS and Transaction Manager (IMS DC).
Post Reply
kiran.may7
New Member
Posts: 2
Joined: Tue Aug 11, 2015 10:10 am

IMS DC program is not refreshing the load module in IMS

Post 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
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

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

Post by nicc »

As per the many answers given where you asked the question previously.
Regards
Nic
kiran.may7
New Member
Posts: 2
Joined: Tue Aug 11, 2015 10:10 am

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

Post 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.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

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

Post 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.
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

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

Post 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?
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Russ
New Member
Posts: 1
Joined: Thu Aug 27, 2015 11:47 pm

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

Post by Russ »

You have to stop the message regions(MPR). You must then restart the message regions.


Russ
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM DB2 and IMS DB/DC”