Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

1357


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

1243


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

1207


what is an online rpg?

1325


explain sflclr, sflend, sfldlt, and sflcsrrrn?

1399


what is the rpg system?

1337


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

2374


is this a rpg channel?

1218


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

5242


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

1308


What is the difference between copybooks and subprocedures in as400?

1409


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

3215


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

1008


how does the rpg element work?

1296


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

1240