3 members in databasefile .how to read records from all the
members??
Answer Posted / guru
Reading all the members in a pf cannot be achieved in a
single override command and which is cumbersome too. So
rather using override, you can use EXTMBR('*ALL') in the
file specification in your rpgle program. So when you read a
file, it will automatically read all the members records
from your data base file. This is FYI
Regards
Guru
Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
How can we know running job is batch or interactive?
what is kids-rpg?
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.
how do I preserve and clean the array?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
how does the rpg element work?
How would display prime numbers using CL program?
what are the key words you must use when using a subfile?
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...........
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
How Chain operation copies the record's data to the input buffer for the program?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
what is the rpg system?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?