How can read PF in reverse order (end to start) in CL pgm..
Answer Posted / shyam
Use OVRDBF Share(*yes)
Use the Openqry file by specified the values on opnqry file
Key field . . . . . . . . . . *NONE
Key field order . . . . . . . *DESCEND
now read file using RCVF command.
Is This Answer Correct ? | 26 Yes | 11 No |
Post New Answer View All Answers
how can you display specific subfile page on the screen in unequal subfile?
What is difference between bind by copy and bind by reference?
How can we know running job is batch or interactive?
how does the rpg element work?
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?
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
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
When it is desirable to describe files Internally?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
what is the use of sflnxtchg?
How to handle duplicate error handling in 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.
which program rpg or cl is efficent to update a transaction onto a database file and why ?