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 can we can we the data decimal error?how can we open such file in support
We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,
wat is the difference between dataarea and data queue?
5 Answers Airtel, Four soft, Shahi Exports,
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????
suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .
How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?
1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD
What is I90(Insure 90)?
A rpg or clp command to find if the file field is defined as a character or numeric field.
How to change the name of physical members Dynamically?
steps for debugging two rpg programs????