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 »

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: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: Recursive call of OAM

Post by René Houba »

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 »

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: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: Recursive call of OAM

Post by René Houba »

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 »

Hi Rene,

PFA, for the RDML code.

Thanks,
Priya.
Attachments
SRVALT1.docx
(21.21 KiB) Downloaded 1329 times
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Recursive call of OAM

Post by atostaine »

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: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: Recursive call of OAM

Post by MarkD »

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: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Recursive call of OAM

Post by atostaine »

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