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 do you mean by an input subfile, what are the keywords required?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
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.
What is ment by record level identifier?
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?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
what was the robotech rpg?
how does the rpg element work?
how do I preserve and clean the array?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
How can we know running job is batch or interactive?
what is program status data structure?