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


Please Help Members By Posting Answers For Below Questions

A join logical file has how many record formats?

590


How to reverse a string using RPG?

678


what are different types of substems?

1328


maximum number of subfiles that can be active for a single file is?

965


Why we are not able to perform insert delete and update operation in Join logical file?

928






what is *inzsr used for?

1449


How can we read file using curser? how to define a curser?

818


how will you find a string using pdm?

683


where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?

1102


Can you summarize the steps I have to go through in writing my first cgi?

605


what is a query can be run in which mode?

853


how will you display a particular page in subfile ?

1038


a multiple format logical file is also known as?

582


is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.

2113


can a indexed file be accessed in arrival sequence in rpg program?

930