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
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?
What is the difference between iter and do?
how do I play {insert rpg system here}?
is this a rpg channel?
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
which program rpg or cl is efficent to update a transaction onto a database file and why ?
how do you use commitment control in rpg?
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
can you debug ile rpg program using isdb?
What is difference between bind by copy and bind by reference?
what do you mean by an input subfile, what are the keywords required?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
what is the necessary keyword needed to scroll subfile records?
what is an online rpg?
How to write record if no field or the field are different in physical file in rpgle ?