It's been a good while since I looked at code this old.. Data gets entered on a subfile screen but when the program gets to the READC command, the indicator doesn't get set indicating a changed record. I tried to follow the program to see if a READC was being done before this one but I don't that. I would have thought that the READC would find a changed record since data was typed into the subfile. Someone help me refresh my memory, why wouldn't this record be flagged that it was changed?
Announcement
Collapse
No announcement yet.
Readc
Collapse
X
-
Re: Readc
Which indicator are you looking at being set? I cant really tell if you are talking about the readc indicator, or you are possibly looking at the slfnxtchg indicator. The SFLNXTCHG indicator wont be set unless it is set in the program, and doesnt need to be set if the data was actually changed in the subfile. The ReadC will pick up any actual changed records in the subfile. The SFLNXTCHG keyword will force the record to be picked up by the readc whether it was changed or not.Originally posted by ljv_as400It's been a good while since I looked at code this old.. Data gets entered on a subfile screen but when the program gets to the READC command, the indicator doesn't get set indicating a changed record. I tried to follow the program to see if a READC was being done before this one but I don't that. I would have thought that the READC would find a changed record since data was typed into the subfile. Someone help me refresh my memory, why wouldn't this record be flagged that it was changed?Michael Catalani
IS Director, eCommerce & Web Development
Acceptance Insurance Corporation
www.AcceptanceInsurance.com
www.ProvatoSys.com
Comment
-
Re: Readc
We are missing some piece of information here. The way you describe the situation, the changed record should be read when you do the READC the first time. SFLNXTCHG has nothing to do with this situation. How about posting some of the DDS and some of the program?
Comment
-
Re: Readc
If you are entering the data from screen that time you have to READC Subfile record after that in that loop .... you have to execute SFLNXTCHG(this keyword must add with some specific indicator in display file) after coding SFLNXTCHG again do READC the record will change.
please insert the code if possible then exactly we can check it.
Comment





Comment