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
Answer Posted / 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 |
Post New Answer View All Answers
How Chain operation copies the record's data to the input buffer for the program?
How to call one program from another program in RPG? please help me with the code
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
what is data area and how it is used in rpg program ?
what are the key words you must use when using a subfile?
what is kids-rpg?
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.
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
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?
what is an online rpg?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
what is the necessary keyword needed to scroll subfile records?
what do you mean by an input subfile, what are the keywords required?
how do I preserve and clean the array?