write a pgm to read p.f using cl pgm?
Answer Posted / remya
dclf file(dsp) recfmt(recdsp)
dclf file(pf) recfmt(recpf) opnid(p)
l1: rcvf rcdfmt(recpf)
monmsg msgid(cpf0864) exec(goto cmdlbl(end))
sndrcvf rcdfmt(recdsp)
goto cmdlbl(l1)
end:endpgm
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
WHAT IS FERERENTIAL INTRIGRITY ?
can a join logical file be updated?
can a indexed file be accessed in arrival sequence in rpg program?
how does the runqry show the output?
What are the different opcodes used for file operation on a subfile in a rpg pgm?
What is array in as400? What are the types of array?
what is the command to know key fields of file?
Apart from opening of a file do we have any other use of USROPN?
which are control break logic indicators?
define what a data queue is along with a brief example of what it may be used for?
what is elastic and non elastic subrile?
what is procedure prototype and procedure interface.
what are members?
when do you explicitly open files and close files in an rpg program?
what is the command used to invoke rlu ?