what is use of sflnxtchg and use of MDT(modify data
tag).both r same r not and can we use these on dspf and subfile.
Answer Posted / ram
SFlNXTCHG is a subfile record format keyword.
If the SFLNXTCHG indicator is turned on and the subfile
record is written or updated the change flag will be forced
on so in the subsequent processing the READC will get that
record.
One use for this is so that the records can be edited for
errors and if no errors are found then they can be
processed. As the readc loop edits for errors it updates
each subfile record with the SFLNXTCHG indicator on and
that allow the update loop to use the READC to get the
records again.
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.
Both are not same.
We Can use in Subfile.
| Is This Answer Correct ? | 23 Yes | 0 No |
Post New Answer View All Answers
how do I declare a table or array in rpg iv?
what is file information data structure?
what is the procedure and explain about real time scenario.
How can we override a file during runtime in rpg?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
How would display prime numbers using CL program?
what was the robotech rpg?
how do I declare a minor?
what do you mean by an input subfile, what are the keywords required?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
What is difference between bind by copy and bind by reference?
what is an online rpg?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
What is a record lock error?