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
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is the necessary keyword needed to scroll subfile records?
what is the difference between do while and do until?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
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?
how do you use commitment control in rpg?
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?
How to handle duplicate error handling in RPG?
What are the types of identifiers?
what do you mean by an input subfile, what are the keywords required?
can you debug ile rpg program using isdb?
what are the key words you must use when using a subfile?
Explain mdt?
how do I declare a table or array in rpg iv?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...