Can anyone answer me when we will go for LF without key fields
Answers were Sorted based on User's Feedback
Answer / bharat
If we want to specify OMIT/SELECT criteria. In that case we may need to create Logical. Not necessary to define key fields in that case.
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / el banco cumbia
Whenever all the fields in a physical file are not needed. Ex.
A physical file with 100 fields where you need only, let's say, 10 fields.
Create a logical file with the 10 fields from the physical file.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / surya siram
No, there is no logical file without having the key.
Is This Answer Correct ? | 0 Yes | 7 No |
Suppose you have 3 members in a database file. How to read records from all the members Without using CL (OVRDBF) i.e. it should be handled exclusively in an RPG program?
What is the difference between physical file and logical file?
during input operation which indicator position is seton if there is a record lock?
when would you prefer logical file than opnqryf?
which are the string manipulation opcodes?
how will you search an array?
Which is better LF or OPNQRYF ? When should we use LF and when should we use OPNQRYF ?
which indicator is used for read?
How to retrieve data from data area?
write a pgm to read p.f using cl pgm?
how do you know that records are locked?
What is the default access path of a file?