I’m taking the error NAT3047 at my program.
I know why this error occurs and how to solve it, but at actual situation of the program I cannot understand why it happens. Can someone explain me?
I have a main “READ” loop that updates the records using “GET” and “UPDATE” statements. Inside this “READ” I have other “READ” in another adabas file that don’t make any interaction on this file (UPDATE, STORE or DELETE), only reading. Inside this second READ, using the data of the records of this READ, I have a STORE statement in another adabas file and the program generates the error NAT3047 at the line of the STORE statement? By curiosity, I want to know if it occurs because a I have a read (in file xx, for example) and a store (in file yy, for example) inside this read? In the other words, it really can happens if I have a READ in one file and, inside this READ, I have a STORE in another file. Does it should happens only if I have a READ and a UPDATE at the same file and same READ, no??
Waiting some help.