I have some doubts on subfile-----------
-----I wrote a prog on subfile to display the records.
Every thing is clear but i defined a field
called "opt" as
input field in subfile record format
from that input field i wish to enter into new
screen called "EDIT"
which i created it as a separate RCD in display
file. i gave opt as 2 for edit just like in WRKMBRPDM screen
please telll me the code and
how can i code for it in RPG.
Answer Posted / abhishek kumar
Use CSRLOC keyword to select the particular record. Once u
get the record, do what ever u want to do (e.g edit, etc)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how can you display specific subfile page on the screen in unequal subfile?
what is data area and how it is used in rpg program ?
what is *place and *auto keyword in prtf ?plz explain
What is a record lock error?
what was the robotech rpg?
what is a rpg?
When it is desirable to describe files Internally?
how do I declare a table or array in rpg iv?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
what is the procedure and explain about real time scenario.
How to declare the pull button in AS/400..
What are the types of identifiers?
what do you mean by an input subfile, what are the keywords required?