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 the maximum number of records you can specify in a display file?
what is the disadvantage of using global variable?
Space & Skip Are Which Level Keywords?
how can you check for a records existence without causing and i/o (chain/read)?
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?
What is the draw back of Procedures? why we are going to Modules?
Write a logic program for knowing the repeated number of a vowels in a given program?
what is term cua , saa?
how can I automatically refresh a web page?
What Is The Error If We Don't Get Login Screen?
what are dds required for subfile?
what is the purpose of ovrdta and ovrata keywords ?
How can we change the uppercase to Lowercase in RPG?
what does check opcode do ?
What is the difference between crtdupobj and copyf?