Re: OBJECT PATCHING

Simon Coulter <shc-Q/[email protected]> Sat, 15 May 2010 07:00:01 +1000
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
On 14/05/2010, at 9:00 PM, Simon Coulter wrote:

> On 14/05/2010, at 7:05 PM, Roberto Garcia Perez1 wrote:
>
>> 2) My attempt to patch the program at location X'105C' to move it  
>> to a
>> *SYSTEM state shows no error but the operation is not performed.
>
> You should get MCH6801 on this too.

Thinking more on this (while asleep) it's possible you are changing  
location x'105C' in the primary associated space of the program and  
not in the program header. This would explain why it appears to work  
(i.e., no exception) but doesn't change anything. Compare the  
addresses in your program to those in a dump of the program you are  
trying to modify.

Or perhaps you have an exception handler that is swallowing the  
exception?

Regards,
Simon Coulter.
--------------------------------------------------------------------
    FlyByNight Software         OS/400, i5/OS Technical Specialists

    http://www.flybynight.com.au/
    Phone: +61 2 6657 8251   Mobile: +61 0411 091 400        /"\
    Fax:   +61 2 6657 8251                                   \ /
                                                              X
                  ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------



_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.