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 |
How to declare the more than one file in cl/400.
How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?
What is the difference Return and InLr?
Mr.Sidc sirfor my question{how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?
what is the difference between do while and do until?
Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?
in which journalling which attributes are necessary??/
1) How to declare a file? 2) How to define a display file? 3) How to monitor error messages in RPG? 4) How to find the attributes for subfiles? and what is the DDS for subfiles?
what is EXCEPT command in rpg and use
Anybody know the difference of primary file and full procedural file