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

1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?

4 Answers   IBM,


WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?

2 Answers  


why subproc not run in dftactgrp?????/plz explain

2 Answers   CSC,


Can a indexed file be accessed in arrival sequence in RPG?

1 Answers  


Hi, I am getting the error in RPG (All Record Formats for externally-described file ABCD ignored or dropped due to error; file ignored.) Please suggest any

2 Answers   Satyam,


what is the use of sflnxtchg?

0 Answers   IBM,


what is the procedure and explain about real time scenario.

0 Answers   Adhoc Technologies, Hanuman Automation, HSBC, IBM,


What are the commands that can be executed in CLP but not in RPG? Why?

1 Answers   CSC,


WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command IN cl (as/400)?

3 Answers  


I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?

2 Answers  


What is the significance of UDATE?

5 Answers   IBM,


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,


Categories