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
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
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 difference between bind by copy and bind by reference?
what is data area and how it is used in rpg program ?
what is the procedure and explain about real time scenario.
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 do I play {insert rpg system here}?
how do I declare a table or array in rpg iv?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How to handle duplicate error handling in RPG?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
can you debug ile rpg program using isdb?
is this a rpg channel?
How can we know running job is batch or interactive?