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


Please Help Members By Posting Answers For Below Questions

do you use message subfiles? What are the necessary keywords required coding a message subfile?

687


what is the necessary keyword needed to scroll subfile records?

704


what is the difference between do while and do until?

703


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.

2051


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?

517






how do you use commitment control in rpg?

757


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?

1455


How to handle duplicate error handling in RPG?

1678


What are the types of identifiers?

572


what do you mean by an input subfile, what are the keywords required?

773


can you debug ile rpg program using isdb?

739


what are the key words you must use when using a subfile?

692


Explain mdt?

665


how do I declare a table or array in rpg iv?

737


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...

1310