how we retrieve records without using key field (ex:name)
from Physical File through RPG in as/400?
Answer Posted / gk
We can read the records from the file directly without any
key field.
*LOVAL SETLL XXXX
READ XXXX
Put it in the DO loop and check for the EOF.
Hope you have got the answer.
| Is This Answer Correct ? | 9 Yes | 11 No |
Post New Answer View All Answers
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...?
How can we override a file during runtime in rpg?
How to select highest score of each subject or how to select highest income of every month?
what is *place and *auto keyword in prtf ?plz explain
How to call one program from another program in RPG? please help me with the code
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
how do I preserve and clean the array?
how do you use commitment control in rpg?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How many program bind in one module....
What is a record lock error?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
How to declare the pull button in AS/400..