how we retrieve records without using key field (ex:name)
from Physical File through RPG in as/400?
Answer Posted / ld123q44
The question is how you retrieve records from externally
defined files without using a key.
You can do this by designating the file as a primary file in
the program.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
what is an online rpg?
How to declare the pull button in AS/400..
what do you mean by an input subfile, what are the keywords required?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
How can we override a file during runtime in rpg?
how do you use commitment control in rpg?
How to call one program from another program in RPG? please help me with the code
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.
How to write record if no field or the field are different in physical file in rpgle ?
What is file identifier where we can use?
What is ment by record level identifier?
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?
When it is desirable to describe files Internally?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.