What is SFLNXTCHG keyword why it has used and where?
Briefly explain with Example.
Answers were Sorted based on User's Feedback
Answer / tprabhakarreddy
Before having the answer for SFLNXTCHG, understand about
the MDT tag.
Modified Data Tag:
1. It is 1 bit of the attribute charecter and Every subfile
record will have a MDT tag and it will seton when the
record is changed.
2. Readc will record all subfile records whcih have MDT = 1
and once Readc is performed on changed record MDT will made
off.
3. Hence When you performed READC for the second time on
the same record, which has changed before but not changed
second time, will not work.
SFLNXTCHG keuword:
For reading the subfile reading in second time, which has
changed before but not changed second time, we have to
force the MDT flag set to 1. This can be done using
SFLNXTCHG keyword.
| Is This Answer Correct ? | 31 Yes | 3 No |
Answer / syam
The purpose of SFLNXTCHG =
Which is a subfile record format keyword. If you perform
read on the subfile, the internal indicator
MDT (modified data tag) is automatically set off by the
system. If you again perform read on the
same records, records won't be read. Because internal
indicator MDT would be off. Hence you should be
explicitly set on the MDT by SFLNXTCHG keyword.
| Is This Answer Correct ? | 9 Yes | 1 No |
How do I read records from Subfile? what is the purpose of READC explain with example?
Setps to create .csv file on IFS folder in AS/400( V4R3)....?
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
What is the purpose of Panel Groups?
wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?
what is the procedure and explain about real time scenario.
0 Answers Adhoc Technologies, Hanuman Automation, HSBC, IBM,
What would be the effect on the field where reverse image, underline and high intensity?
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,
I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.
Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2
How to handle duplicate error handling in RPG?
Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks