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 |
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
3 members in databasefile .how to read records from all the members??
One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. But from last 5 -10 minutes this job is still in running status....What are the possible reasons...and What are the actions i need to perform to check this...?
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
can i use UPDDTA command in rpg program in which contains a file
i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?
can we perform CHAIN operation on Subfile record format....?
When will DUMP & DEBUG be ignored?
Anybody know the difference of primary file and full procedural file
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 the cpyf command crtdupobj command?
why we do STRSRVJOB in batch debugging in as400