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 |
I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this
Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
How to declare the dynamic(run time) array in rpgle? can you please give example
How can we change element of compile time array?Can we do so
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
wat is the difference between array and multiple occurence data structure?
How Chain operation copies the record's data to the input buffer for the program?
wat is meant by hidden field , why it is used?
list down and describe the sub systems vailable
I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic
Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?