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 |
1.CA(command Atention key)& CF(command Function key) difference with example?Please can any body tell me in real time exp? 2.Can any body tell me some mandatery function keys using while creating any screen with use of SDA-FUNCTION kEYS?
How to find d key field of a pf that doesn’t have source physical file?
i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.
How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?
what is meant by record lock.how records are locked.what is the purpose of record lock.if records are locked what happens.how to find out which record is locked.
Difference between creating a report using Printer file and WRKQRY(Query Report) ?
How do you find whether a job is a batch job or interactive?
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
What is the purpose of record level identifier?
How can i check the object existance in RPG program without using QCMDEXC command.
We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?