Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is SFLNXTCHG keyword why it has used and where?
Briefly explain with Example.

Answers were Sorted based on User's Feedback



What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example...

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

What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example...

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

Post New Answer

More RPG400 Interview Questions

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.

1 Answers  


why subproc not run in dftactgrp?????/plz explain

2 Answers   CSC,


Can we journel logical file and access path? Can we use commitment control for non-join L.F?

4 Answers  


1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.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? 4.What is difference between Bind by copy and bind by reference?

4 Answers   Virtusa,


3. Given the DOS Specification below and the following information: • Indicator 50 is off • No records have been written to the subfile What will be the result if the EXFMT operation code is performed on the record format CTLR? A R SUBFL A DESCRIP 101 6 1ODSPATR(UL) A DFT(’NOT FOUND’) A R CTLR SFLCTL(SUBFL) A N50 SFLDSP A SFLDSPCTL A SFLINZ A 67 SFIJEND A SFLSIZ(13) A SFLPAG(12) A ACCOUNTNO 100 S 10 a.) Only AccountNo will display b.) SUBFL will be initialized with 13 blank records c.) An I/O exception error will occur d.) The screen will display 12 records with ‘NOT FOUND’

4 Answers   IBM,


wat is the difference between array and multiple occurence data structure?

4 Answers   Four soft,


How can i check the object existance in RPG program without using QCMDEXC command.

7 Answers   IBM, JDA,


how to display all the members records in a physical file without using ovrdbf?

9 Answers  


how do u find whether a record is locked or not??/

5 Answers   CTS,


can I touch the array during treatments?

0 Answers   IBM,


Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.

6 Answers  


is this a rpg channel?

0 Answers   IBM,


Categories