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

Changes to IMS DC screen - Help needed


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
t1nt1n

New User


Joined: 08 Jul 2005
Posts: 31

PostPosted: Wed Nov 01, 2006 6:44 pm
Reply with quote

Hello

I add a piece of code to an existing PL/I - IMS DC screen program. All i do is to additionally add a validation to one screen field (one line change). I compiled and when iam tryin to run i feel the latest load is not getting picked. Is there anyway by which i can refresh my transaction. Kindly help me
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Nov 01, 2006 8:45 pm
Reply with quote

The MPP stays in the region as long as no other MPP needs the memory where the MPP was running in. So if it's quite peacefull in the region your old program will be invoked.

You might stop and start transaction and program but a more secure way to do is stop and start the region.

/sto (sta) tran trx
/sto (sta) prog pgm
/sto reg region# or name

To find out the regionnumber /dis reg a.
To find out which region you should find out what classes the mpp uses (to be seen in /dis tran trx). The /dis reg a. shows the active regions and what classes they process. Try it out and if you can't manage get back to this topic. Best consult your operator first for stopping/starting.
Back to top
View user's profile Send private message
t1nt1n

New User


Joined: 08 Jul 2005
Posts: 31

PostPosted: Wed Nov 01, 2006 11:13 pm
Reply with quote

Thanks so much!
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Nov 02, 2006 3:49 am
Reply with quote

t1nt1n wrote:
Thanks so much!


No problem, you're welcome. But........did it also solve your problem? Lots of topic starters don't finish telling they are still lost or that the problem is solved icon_cry.gif
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Nov 02, 2006 3:56 am
Reply with quote

Oh yeh.........another tip: this problem tells you also why you should initialise variables in your MPP during init. The MPP isn't always reloaded 'clean' but stays in memory; this might cause a malfunction of your logic. Suppose your default for a switch is 'N' and during the processing of a message you set it to 'Y' you can't be sure it will be 'N' when it processes the next messages; you don't know if a fresh copy has been loaded from pgm-lib. So.........always start your MPP initialising your variables. If you need 'in-between-results' in a follow-up transaction save them in scratch pad area.
Back to top
View user's profile Send private message
t1nt1n

New User


Joined: 08 Jul 2005
Posts: 31

PostPosted: Fri Nov 03, 2006 10:37 am
Reply with quote

Thanks ! My problem was resolved.
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts Help needed to assemble IMS sample co... ABENDS & Debugging 4
No new posts RABBIT HOLE NEEDED - "Live"... All Other Mainframe Topics 0
No new posts Mainframe profiles needed @ Cognizant Mainframe Jobs 0
No new posts Data for newly added fields not displ... IMS DB/DC 6
Search our Forums:

Back to Top