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 |
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.
how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
please guys help me,I need to write a program that shows more than one way to display a subfile. Both views are of the same file but sorted differently and show different fields of the same file when the user presses a function key. send me code
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?
Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfile , from third page i have selected a record and called some other program .on returning, subfile is being loaded from the frist page. so can any one kindly suggest me in retaining my third page after returning. i.e loading from third page.
I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.
How to sort an array in descending in RPG
1.WHAT IS WRONG WITH THE CODE BELOW? C CUSTNO CHAIN CUSTMAST IF %ERROR can any body find the wrong please? 2.What builtin function will you use to achieve the following functionality? C QTY IFLT *ZERO C QTY MULT-1 QTY ENDIF
which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?
what do you mean by an input subfile, what are the keywords required?