how we retrieve records without using key field (ex:name)
from Physical File through RPG in as/400?
Answer Posted / ttom
Read the file till EOF and check field values using a
condition in a the loop.
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
is this a rpg channel?
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 Chain operation copies the record's data to the input buffer for the program?
What is ment by record level identifier?
what is the difference between do while and do until?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
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?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what are the key words you must use when using a subfile?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
What is a record lock error?
what is kids-rpg?
What is file identifier where we can use?
how do I preserve and clean the array?