I have written a user exit program that when you press the F7 it will compile your program source interactively. However if I then subsequently add or delete a line of code the SEU program crashes and I get sent a "Error found on STRSEU command" and when I look into the joblog I see the following errors: Tried to refer to all or part of an object that no longer exists. Application error. MCH3402 unmonitored by QRNS4SEU at statement 0000000033, instruction X'0000'. The requested heap space operation is invalid. The pointer parameter passed to free or realloc is not valid. However; if I change my F7 to compile my source in batch there is no error. I am returning a value of 1 for outrecs and a '4' for the return code when returning back to SEU. I have tried other return codes like 1,2 and 3 but with the same result. If I change the F7 to execute any other common as400 command I do not have any problems.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!