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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1457


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2045


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1957


how does the rpg element work?

711


How to call one program from another program in RPG? please help me with the code

1250






How Chain operation copies the record's data to the input buffer for the program?

1074


is this a rpg channel?

669


what is an online rpg?

720


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

706


What are the types of identifiers?

564


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?

760


explain sflclr, sflend, sfldlt, and sflcsrrrn?

880


How can we override a file during runtime in rpg?

678


how do I preserve and clean the array?

667


How to select highest score of each subject or how to select highest income of every month?

1289