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


Please Help Members By Posting Answers For Below Questions

When it is desirable to describe files Internally?

1186


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...........

3285


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?

493


how do I preserve and clean the array?

675


What is ment by record level identifier?

654






1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2373


What are the types of identifiers?

570


How Chain operation copies the record's data to the input buffer for the program?

1080


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.

753


what is the use of sflnxtchg?

801


what are the key words you must use when using a subfile?

692


How to select highest score of each subject or how to select highest income of every month?

1295


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

1968


How to handle duplicate error handling in RPG?

1678


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?

616