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

what is post opcode do

1 Answers   CTS,


how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.

2 Answers   iGate,


How do you know if a record exists without doing a READ and CHAIN?

6 Answers   IBM,


In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?

1 Answers  


How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?

8 Answers  






two types of read performed in dataqueue?????

4 Answers   CTS,


wat is the difference between dataarea and data queue?

5 Answers   Airtel, Four soft, Shahi Exports,


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

0 Answers  


How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?

11 Answers   Bank Of America, CSC, IBM,


If record-format name in an externally-described file has already been defined as a file-name.how to solve this?

2 Answers   CTS,


why we do STRSRVJOB in batch debugging in as400

1 Answers  


What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???

7 Answers   HSBC, Systime,


Categories