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


Please Help Members By Posting Answers For Below Questions

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?

1437


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...?

1451


what is *place and *auto keyword in prtf ?plz explain

2706


what is the procedure and explain about real time scenario.

1463


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.

2038






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...........

3258


How Chain operation copies the record's data to the input buffer for the program?

1065


what is the necessary keyword needed to scroll subfile records?

692


do you use message subfiles? What are the necessary keywords required coding a message subfile?

675


what is the rpg system?

656


How to handle duplicate error handling in RPG?

1660


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

539


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

698


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?

600


can I touch the array during treatments?

733