Nat0998 internal error X

Hi there,

Actually , after changing a small change in a program(added an where clause in a Find statement) we tried running it in batch,we get Nat0998 internal error X followed by Nat9978 error occurred during execution/compilation.(in Production)

we actually tried to flush the Global buffer pool and tried again.But it didn’t work.

Kindly can anyone suggest a solution for this.

Many thanks in advance
Manonmani

Do we get to see the code, or are we supposed to guess?

steve

Dear Steve,

Im sending it to your mail ID.

Thanks & Regards,
Manonmani

Mano; you need to post what you sent me (and more, see below) on the forum, so other people can see it.

Here is the code Mano sent:

FIND (1) PEREF-PE WITH S7-RT-PERS-NO = #PRSN-S7-KEY
WHERE STAT-AUTH(PRSN-PAY.) = ‘A’

Where to start. Is PEREF-PE a file name or a View Name? If a View Name, can we please see the view? If it is very large, just the entries for the fields in the FIND would be okay.

What do you think the WHERE clause is doing? STAT-AUTH, with a label reference back to some other loop has nothing to do with the records you are reading via the FIND. Could we see the code that is part of PRSN-PAY. ? Is it a FIND, READ, HISTOGRAM ??

The code you have above could probably be re-written as:

IF STAT-AUTH(PRSN-PAY.) = ‘A’
FIND (1) PEREF-PE WITH S7-RT-PERS-NO = #PRSN-S7-KEY

But without knowing more about PRSN-PAY. and STAT-AUTH and the views, I am just guessing.

steve