[SOLVED] Lansa login error (function LH@PURG)

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
Stefano Foresi
Posts: 10
Joined: Thu May 18, 2023 5:10 pm

[SOLVED] Lansa login error (function LH@PURG)

Post by Stefano Foresi »

Hello,
I'm currentl experiencing this error, looks like a Lansa internal functions (LH@PURG) encouters some bad formatted data and trows that error (00000020 as Date).
I don't know how this happened, Lansa trows me that error at every environement opening.
Any ideas how to fix it? Does that functions clears some folder or maybe table where are store log files? (Maybe some LX_DTA.LX_something...)
2024-04-11 10 38 45.png
2024-04-11 10 38 45.png (11.78 KiB) Viewed 27042 times
Thanks in advance,
Stefano
Last edited by Stefano Foresi on Tue Apr 30, 2024 7:06 pm, edited 1 time in total.
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: Lansa login error (function LH@PURG)

Post by René Houba »

Hi Stefano,

What is your LANSA version? And what EPC?

Kind regards,
René
Gilamonster
Posts: 11
Joined: Thu Nov 26, 2015 3:11 am
Location: France

Re: Lansa login error (function LH@PURG)

Post by Gilamonster »

Hi Stefano,
We encountered a similar issue with LH@PURG, a long time ago, with version 11.3 after a check-in which ended in error.
Please find below the answer received by LANSA Support at that time.

This is occurring because there appears to be some corrupt data in your LX_FLG internal table. Typically, a Date with wrong format (ie : 20051412 in YYYYMMDD format).The safest way to fix this error is to clear the entire LX_FLG table, however you would end up losing all of your Host Monitor history. Alternatively you could open the table in a Database editor and look for the record where XLGDAT is '00000020', and delete that record only.

I hope this will help
Kind Regards
Christophe
Stefano Foresi
Posts: 10
Joined: Thu May 18, 2023 5:10 pm

Re: Lansa login error (function LH@PURG)

Post by Stefano Foresi »

Thanks for your reply,

I've cheched LX_FLG but there are no entries having XLGDAT = 00000002.

In the meantime, to fix the issue my admin tried to uninstall my client setup of Lansa, to reinstall it again,
maybe the uninstall process cleared the LX_FLG having XLGWID = my pc hostname.

He wasn't able to install it again due to setup process not being able to recognize our Lansa server installation, but that's another story...

Thanks.
Stefano
Stefano Foresi
Posts: 10
Joined: Thu May 18, 2023 5:10 pm

Re: Lansa login error (function LH@PURG)

Post by Stefano Foresi »

Hi Christophe,
I'm now running a new server installation of Lansa,
and while checking-in some programs to our AS400 I've encountered some error, resulting in the same error message in LG@PURG function.

As you suggested, I've searched and found that LX_DTA.LX_FLG contains records having XLGDAT = 20,
once deleted those record the error is gone!

So thank you very much for your help!!!

Best regards,
Stefano
Post Reply