how can i retrieve the field name from display file at run
time?
Devendra Singh Tomar

Answers were Sorted based on User's Feedback



how can i retrieve the field name from display file at run time? Devendra Singh Tomar ..

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

how can i retrieve the field name from display file at run time? Devendra Singh Tomar ..

Answer / bindu

It is not possible to see field name at runtime

Is This Answer Correct ?    1 Yes 0 No

how can i retrieve the field name from display file at run time? Devendra Singh Tomar ..

Answer / guest

when you will get ans than plz tell us.......... anurag

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

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

3 Answers   ISG,


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?

3 Answers  


How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.

2 Answers  


How to declare the dynamic(run time) array in rpgle? can you please give example

2 Answers   Polaris,


How can we change element of compile time array?Can we do so

1 Answers   TCS,






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?

0 Answers  


wat is the difference between array and multiple occurence data structure?

4 Answers   Four soft,


How Chain operation copies the record's data to the input buffer for the program?

0 Answers   IBM,


wat is meant by hidden field , why it is used?

4 Answers   Four soft,


list down and describe the sub systems vailable

5 Answers   IBM,


I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic

2 Answers  


Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?

6 Answers  


Categories