How I can reread the physical file in CL program once the
end of file reached in same CL program.
Answer Posted / sravs
simply call that progrm by using IF condition based on
increment value of one varibale it will again read from
first
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
what is data area and how it is used in rpg program ?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
how does the rpg element work?
How to write record if no field or the field are different in physical file in rpgle ?
how do I declare a table or array in rpg iv?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
How to select highest score of each subject or how to select highest income of every month?
are there any useful c runtime apis that I can call from rpg iv?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
how do you use commitment control in rpg?
What are the types of identifiers?
what is the difference between do while and do until?