Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output
Answers were Sorted based on User's Feedback
Answer / ganesh kandaswamy
Chain is nothing but the combination of setll and reade. After reaching 4th record if we chain it will again reading the 1st record.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / aanchal
After reading 4 records if we chain the file. It will read the 4th record. That is the 4th record will be read twice.
| Is This Answer Correct ? | 0 Yes | 5 No |
How can we make use of SETLL operation in CL?
What is Multi Occurrence Data Structure(MODS)?
1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG
How can i check the object existance in RPG program without using QCMDEXC command.
What is journalling and commitment control?
what is *place and *auto keyword in prtf ?plz explain
What is the difference Return and InLr?
How do I link an existing logical file to it's Physical File without recompiling?
How can you determine the number of characters in a variable?
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.