How to create a key field for a logical file inside RPG?
Answers were Sorted based on User's Feedback
Answer / rajesh n
In D Spec use KFLD and key field name.
Example:
KFLD Fld1.
| Is This Answer Correct ? | 5 Yes | 6 No |
1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?
wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?
in which journalling which attributes are necessary
what is the necessary command needed before OPNQRYF and why?
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,
What is a record lock error?
How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program
how to display all the members records in a physical file without using ovrdbf?
In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?
how do u find whether a record is locked or not??/
1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?