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
Explain mdt?
are there any useful c runtime apis that I can call from rpg iv?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
What are the types of identifiers?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
how can you display specific subfile page on the screen in unequal subfile?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
is this a rpg channel?
what are the key words you must use when using a subfile?
what is the procedure and explain about real time scenario.
what is program status data structure?
what is a rpg?