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
the maximum number of subfiles that can be active for a single file is ____ .
how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?
what are the different types of arrays available in rpg ?
what are the three types of keywords associated with printer file ?
what would be the effect on the field where reverse image, underline and highlight display attributes were active?
What is a query can be displayed without saving it?
can a indexed file be accessed in arrival sequence in rpg program?
what are the two record formats a subfile contain ?
what are different record spacing keywords in rlu ?
1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?
can we define multi-dimensional arrays in rpg ?
what is the use of unique keyword and what level it is defined?
how many files can be defined in f specs?
how to validate input values in display file ?
What Does Lokup Does In Tables & Arrays?