How to create a key field for a logical file inside RPG?
Answer Posted / rajesh n
In D Spec use KFLD and key field name.
Example:
KFLD Fld1.
Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
what is file information data structure?
How can we know running job is batch or interactive?
what is program status data structure?
How to declare the pull button in AS/400..
what is data area and how it is used in rpg program ?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
how can you display specific subfile page on the screen in unequal subfile?
how do I preserve and clean the array?
What is a record lock error?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
What is the purpose of record level identifier?
What is ment by record level identifier?
what is a rpg?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
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