Recursive call of OAM

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
pravik
Posts: 60
Joined: Tue Dec 26, 2017 6:44 pm

Recursive call of OAM

Post by pravik » Tue Feb 05, 2019 11:30 pm

Hi All,

We have a LF with two key fields and in select statement we had specified the 1st key field alone in With_Key, once we compile and check-in respective component crashes.

Further upon checking log we could find we had received error message "Recursive call of OAM" .

Can you please suggest us how do we resolve this issue.

Thanks,
Priya

René Houba
Posts: 60
Joined: Thu Nov 26, 2015 7:03 am

Re: Recursive call of OAM

Post by René Houba » Tue Feb 05, 2019 11:44 pm

Hi Priya,

When does the crash occur?
When you run the program?

Is there a trigger function involved for this file for example where you use the same file?


Kind regards,
René

pravik
Posts: 60
Joined: Tue Dec 26, 2017 6:44 pm

Re: Recursive call of OAM

Post by pravik » Wed Feb 06, 2019 4:34 pm

Hi,

The application gets crashed once we click 'search' button.
There are no trigger functions attached to the respective file used in the component.

Thanks,
Priya.

René Houba
Posts: 60
Joined: Thu Nov 26, 2015 7:03 am

Re: Recursive call of OAM

Post by René Houba » Wed Feb 06, 2019 7:02 pm

Hi Priya,

Can you show the RDML part?

Kind regards,
René

pravik
Posts: 60
Joined: Tue Dec 26, 2017 6:44 pm

Re: Recursive call of OAM

Post by pravik » Wed Feb 06, 2019 7:13 pm

Hi Rene,

PFA, for the RDML code.

Thanks,
Priya.
Attachments
SRVALT1.docx
(21.21 KiB) Downloaded 48 times

atostaine
Posts: 448
Joined: Wed Jan 20, 2016 7:38 am

Re: Recursive call of OAM

Post by atostaine » Fri Feb 08, 2019 3:57 am

There is nothing wrong with that code that I can see. Doing a simple select/endselect shouldn't cause an OAM message like that.

Art
Art Tostaine

MarkD
Posts: 630
Joined: Wed Dec 02, 2015 9:56 am

Re: Recursive call of OAM

Post by MarkD » Fri Feb 08, 2019 9:24 am

So either there is some sort of defect, or there is some operation inside the OAM that is accessing the same table.
Could be in a trigger, a validation rule or virtual field derivation code.
Running with a trace might reveal something interesting - otherwise it should go to support.

atostaine
Posts: 448
Joined: Wed Jan 20, 2016 7:38 am

Re: Recursive call of OAM

Post by atostaine » Fri Feb 08, 2019 11:47 am

Could be a DB Trigger too. Doesn’t have to be defined in Lansa. Check DSPFD myfile and look for triggers
Art Tostaine

Post Reply