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
how does the rpg element work?
How can we know running job is batch or interactive?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
What is the difference between copybooks and subprocedures in as400?
what is a rpg?
what is the necessary keyword needed to scroll subfile records?
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 can you display specific subfile page on the screen in unequal subfile?
are there any useful c runtime apis that I can call from rpg iv?
How can we override a file during runtime in rpg?
what do you mean by an input subfile, what are the keywords required?
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 ment by record level identifier?
What are the types of identifiers?