3 members in a databasefile .how to read records from all
the members?????????
Answers were Sorted based on User's Feedback
Answer / samul
OVRDBF FILE(TEST)
TOFILE(*LIBL/TEST)
MBR(*ALL)
before calling pgm,execute above cmd.
cheers...
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / reena
there are 2 ways.
1. using OVRDBF
2. By creating and LF.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ravi kumar
1. Through RPG, using EXTMBR(*All)
2. Through CL, OVRDBF FILE(TEST) TOFILE(*LIBL/TEST)MBR(*ALL)
| Is This Answer Correct ? | 2 Yes | 0 No |
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
I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?
How to create a key field for a logical file inside RPG?
What is file identifier where we can use?
Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?
What will happen if we r using seton lr after return or vice versa.
When it is desirable to describe files Internally?
what is program status data structure?
what is data area and how it is used in rpg program ?
Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4
What is the RPG cycle?
I have 1000 records in a file. I would like to generate 10 identical reports from this record with same format (structure of records) how do I do this?