How to create a key field for a logical file inside RPG?
Answer Posted / renjith
you can use KLIST in RPG program
Is This Answer Correct ? | 11 Yes | 5 No |
Post New Answer View All Answers
When it is desirable to describe files Internally?
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...........
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 do I preserve and clean the array?
What is ment by record level identifier?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
What are the types of identifiers?
How Chain operation copies the record's data to the input buffer for the program?
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 use of sflnxtchg?
what are the key words you must use when using a subfile?
How to select highest score of each subject or how to select highest income of every month?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
How to handle duplicate error handling in RPG?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?