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
A join logical file has how many record formats?
How to reverse a string using RPG?
what are different types of substems?
maximum number of subfiles that can be active for a single file is?
Why we are not able to perform insert delete and update operation in Join logical file?
what is *inzsr used for?
How can we read file using curser? how to define a curser?
how will you find a string using pdm?
where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?
Can you summarize the steps I have to go through in writing my first cgi?
what is a query can be run in which mode?
how will you display a particular page in subfile ?
a multiple format logical file is also known as?
is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.
can a indexed file be accessed in arrival sequence in rpg program?