how we retrieve records without using key field (ex:name)
from Physical File through RPG in as/400?
Answer Posted / kumar vikas
Ffile1 I F E DISK (no keyfield is given)
C
C *start setll file1
OR
C 1 setll file1
C
C read file1
C dow not %eof
C id dsply
C name dsply
C read file1
C enddo
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
how do I declare a minor?
how do I play {insert rpg system here}?
what is data area and how it is used in rpg program ?
is this a rpg channel?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
what is the difference between do while and do until?
how do I declare a table or array in rpg iv?
what is the procedure and explain about real time scenario.
how can I tell when to replace the array?
what is file information data structure?
can you debug ile rpg program using isdb?
How to write record if no field or the field are different in physical file in rpgle ?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
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.