How to avoid MCH3402 errors when repeatedly running RDMLX functions on iSeries after checkin and compile
|Date:||24 July 2006|
|Product/Release:||LANSA for iSeries V11.0|
|Abstract:||Attempting to run an RDMLX function from the iSeries LANSA menus when the RDMLX function has been changed will result in an MCH3402 error message|
|Submitted By:||LANSA Technical Support|
You are writing and testing an iSeries application which contains RDMLX functions which are run and tested on an iSeries.
This will involve writing/amending the RDMLX function in Visual LANSA, checking in the RDMLX function to the iSeries, compiling on iSeries, then testing on iSeries. This will be repeated several times.
Attempting to run an RDMLX function from the iSeries LANSA menus when the RDMLX function has been changed will result in an MCH3402 error message ("Tries to refer to all or part of an object that no longer exists") for the function. This can be avoided by exiting from LANSA between executions of the RDMLX function.
A recommended way to run the function is by using the command
LANSA RUN PROCESS(……….) FUNCTION(…….) PARTITION(…)
LANSA X_ RUN PROCESS(……….) FUNCTION(…….) PARTITION(…)
Please also see the following Link on how JSMDirect in LANSA Integrator is impacted.