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

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.

762


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

3297


how can you display specific subfile page on the screen in unequal subfile?

681


What is the difference between copybooks and subprocedures in as400?

819


what was the robotech rpg?

691






what is the procedure and explain about real time scenario.

1489


what is *place and *auto keyword in prtf ?plz explain

2738


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2060


What is a record lock error?

1279


What is ment by record level identifier?

668


what is an online rpg?

741


what do you mean by an input subfile, what are the keywords required?

786


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

1978


When it is desirable to describe files Internally?

1201


explain sflclr, sflend, sfldlt, and sflcsrrrn?

898