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
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...........
how do I play {insert rpg system here}?
what is a 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 happens when sflsiz = sflpag? What are the advantages and disadvantages?
How can we know running job is batch or interactive?
can you debug ile rpg program using isdb?
What is difference between bind by copy and bind by reference?
what is the rpg system?
how do you use commitment control in rpg?
How to declare the pull button in AS/400..
what is the difference between do while and do until?
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
What are the types of identifiers?
how do I declare a table or array in rpg iv?