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 can i retrieve the field name from display file at run
time?
Devendra Singh Tomar

Answer Posted / srikanth

If we use following RTNCSRLOC keyword in display with fields as specified, and if we place cursor on any field, CFLD will populate with field name.
A RTNCSRLOC(*RECNAME &CREC &CFLD &CPOS)
A CFLD 10A H
A CREC 10A H
A CPOS 4S 0H

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

946


What is the difference between iter and do?

1213


how do I play {insert rpg system here}?

1037


is this a rpg channel?

1173


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

2410


which program rpg or cl is efficent to update a transaction onto a database file and why ?

1243


how do you use commitment control in rpg?

1285


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

1019


can you debug ile rpg program using isdb?

1272


What is difference between bind by copy and bind by reference?

2480


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

1261


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

1193


what is the necessary keyword needed to scroll subfile records?

1161


what is an online rpg?

1266


How to write record if no field or the field are different in physical file in rpgle ?

968