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 |
Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir
How can read PF in reverse order (end to start) in CL pgm..
How to declare the pull button in AS/400..
How do I link an existing logical file to it's Physical File without recompiling?
why we do STRSRVJOB in batch debugging in as400
can i use unique key in LF
how do u find whether a record is locked or not??/
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?
CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?
what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.
How many program bind in one module....