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
is this a rpg channel?
can I touch the array during treatments?
how can I tell when to replace the array?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
how do I preserve and clean the array?
What is a record lock error?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
How to handle duplicate error handling in RPG?
What is the difference between iter and do?
How would display prime numbers using CL program?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
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...........
what are the key words you must use when using a subfile?