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 |
when will come session device error?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
What is journalling and commitment control?
what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?
parameters cannot be passed in which one??
Can AnyOne tell me how to read join logical file in rpg from starting to end?
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.
what is batch debug in as400?
How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??
What is the purpose of FRCDTA keyword?
Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?
2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed