View previous topic :: View next topic
|
Author |
Message |
t1nt1n
New User
Joined: 08 Jul 2005 Posts: 31
|
|
|
|
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 |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
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 |
|
|
t1nt1n
New User
Joined: 08 Jul 2005 Posts: 31
|
|
|
|
Thanks so much! |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
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 |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
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 |
|
|
t1nt1n
New User
Joined: 08 Jul 2005 Posts: 31
|
|
|
|
Thanks ! My problem was resolved. |
|
Back to top |
|
|
|