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 |
what is post opcode do
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.
How do you know if a record exists without doing a READ and CHAIN?
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 ?
How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?
two types of read performed in dataqueue?????
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?
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?
why we do STRSRVJOB in batch debugging in as400
What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???