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.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / reecha
1. when a read is performed on subfile , the MDT is turn
off .
2. So if again a read is done on subfile , it cannot sense
the change done on the subfile .
3.in order to sense the changed record use SFLNXTCHG
keyword by setting on the keyword & do an update in subfile
4. so now if agin u perform a read , the changed record
will be sensed.
| Is This Answer Correct ? | 6 Yes | 3 No |
HOW DO YOU DISPLAY A DISPLAYFILE AT OTHER WORKSTATION? CAN WE MOVE A PHYSICAL FILE? WITHOUT MOVING A FILE?
Can we possible to key with the date field?
One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. But from last 5 -10 minutes this job is still in running status....What are the possible reasons...and What are the actions i need to perform to check this...?
Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?
How to update physical file in rpgle without using display file?
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
1.The questions have given an array declaration and move operation then this statement is correct or not?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?
Suppose I have 3 jobs a b and c. I want to submit b after successful completion of a and want to submit c after successful completion of b. Without using job scheduler or job queue, how can I do that through cl program?
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?
What is the significance of UDATE?