write a pgm to read p.f using cl pgm?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / avinash
START: PGM
DCL VAR(&COUNT) TYPE(*DEC) LEN(10)
DCL VAR(&OUTPUT) TYPE(*CHAR) LEN(10)
DCLF FILE(*LIBL/PGMNAME)
FILE: SNDRCVF RCDFMT(RFMT)
END: ENDPGM
| Is This Answer Correct ? | 2 Yes | 2 No |
explain the difference between defining subfile and message-subfile?
How do you combine two record formats in RLU ?
What is a library list ?
what keyword must be used with protect keyword ?
When does the DFT keyword in PF be used?
how can you check for a records existence without causing and i/o (chain/read)?
i want to display the 10000 record in a subfile by using loadall , can we do it?
how you will find an error which is not in the first page of the subfile without using rolldown key?
what are necessary keywords to code message subfile?
what is the purpose of data structure?
In there is 100 no. of recordsin PF, if i delete all the records. Then what is the Size of the PF?
Show 2 ways to convert a date from YYMMDD to MMDDYY (MULT operation not acceptable)