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 |
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
difference between CHAIN and READE?
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
two types of read performed in dataqueue?????
When a object will be locked & when a record will be locked? Plz explain.
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...?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
How to print Superscript / Subscript from RPG400
If I have a file with 5 record and that file has 2 Key field and I want to read the unique record of the file then how can we achieve it?
can i use UPDDTA command in rpg program in which contains a file
wat is curser?? and its types???