How I can read and display three fields in the record
format DSPFM1 of the display file,while
one field(using in one file) is NAME which is Key field in
field reference file and another two fields are AGE and ROLL
NO are using another file.
Please send me coding part.
Answer Posted / syam
I am Pasting Code.
FFILE1 IF E K DISK USROPN ->Reading pf
FDSPF CF E WORKSTN USROPN ->dspy file
C OPEN FILE1
C OPEN DSPF
C SETLL FILE1
C READ FILE1 51
C *IN51 DOWEQ *OFF
C WRITE DSPFM1
C READ FILE1 51
C ENDDO
C CLOSE FILE1
C CLOSE DSPF
C RETURN
it will show all the records from file undil file ends.
if you need ILE RPG Free fromat code pls post again your
request
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is service program?
what are the different methods to access seu?
can you specify a display file to be used in the following modes input,output, or combined modes ?
which are the member types which seu supports?
What is the difference between physical file and logical file?
define a shared access path?
maximum number of subfiles that can be active for a single file is?
Difference Between Call & Sbmjob?
in conjunction with which statements can orxx and andxx conditions be used ?
what is scan and xlate?
how can I automatically refresh a web page?
under given circumstances, my cgi should link to another site. How to implement this?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
is there any way I can ease my rpg controls on numeric input fields? How about an input date field?
what is full form for dds?