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

How do I read records from Subfile? what is the purpose of
READC explain with example?

Answer Posted / ravi

When you declare SFLNXTCHG in the DDS. You can use READC opcode to find the changed records in the subfile. The MDT will be ON on the changed record. Once you read the record, it changes to off. This is how system identifies the changed records sequentially.

Best example is do WRKMBRPDM, it is nothing but a subfile. You can see all source members in your source file. Correct?

Now, enter display (option 5 i guess?) on say 5 sources and press Enter, control goes to the fisrt source and press enter, control goes to the second source etc.. isn't it?

That is nothing but READC usage.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can I touch the array during treatments?

1213


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

1240


what is the difference between do while and do until?

1304


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

1059


How can we know running job is batch or interactive?

1179


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

2060


What is the purpose of record level identifier?

1169


When it is desirable to describe files Internally?

1763


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1936


what is a rpg?

1243


what are the key words you must use when using a subfile?

1234


what is file information data structure?

2280


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1780


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

1660


what is the use of sflnxtchg?

1314