how can i retrieve the field name from display file at run
time?
Devendra Singh Tomar
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guest
when you will get ans than plz tell us.......... anurag
| Is This Answer Correct ? | 0 Yes | 0 No |
How do I read records from Subfile? what is the purpose of READC explain with example?
i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.
how do I declare a minor?
Why we cannot call a service program? If I add a PEP can i call the service program?
1.I have a Physical file with 100 records, No duplicates exists, all are Unique,But while i am running Runqry utility i am getting only 80 records..What could be the reason?
Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????
1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?
how can an indexed file be used as arrival sequence 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
How we will read call stack?
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"
In single page subfile,if I select the mutiple options in 1 page and without pressing enter,I press rollup key (pagedown).In such case how I can handle it in rpg becasue in single page we have to handle it in pgm. It would be helpful if any one answer with coding
4 Answers Infinite Computer Solutions,