How can we read a particular record from the database file
which is not having DDS (Flat File). For example, there are
100 records in the flat file. How can we retrive 15th
record in RPG/400 program (Without using CL)
Answer Posted / kamal
EVAL EMPID=15
EVAL=%FOUND(PF NAME)
READ PFNAME
EMPID DSPLY
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
what is *place and *auto keyword in prtf ?plz explain
How Chain operation copies the record's data to the input buffer for the program?
what was the robotech rpg?
how do I declare a table or array in rpg iv?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
Explain mdt?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
What are the types of identifiers?
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?
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 can we override a file during runtime in rpg?
how can you display specific subfile page on the screen in unequal subfile?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
How to declare the pull button in AS/400..