3 members in databasefile .how to read records from all the
members??
Answer Posted / ravi shankar porwal
U can also read the records of all members using logical
file.create logical file based on given PF(have more than
one member) and read it using rpgle program.
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
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?
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...?
what is *place and *auto keyword in prtf ?plz explain
what is the procedure and explain about real time scenario.
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.
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 Chain operation copies the record's data to the input buffer for the program?
what is the necessary keyword needed to scroll subfile records?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is the rpg system?
How to handle duplicate error handling in RPG?
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
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
can I touch the array during treatments?