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 |
define the purpose of the *bcat function?
What are all the different types of access path?
function of DSPPGMREF?
when should I use method get, and when should I use method post in my cgis?
What would be the output of the variable result? D RESULT S 5S O INZ(00011) C EVAL RESULT = %TRIM(RESULT) Please give me the correct answer for this A.0001 b.compile time error c.11 d.Runtime error
what is a spool file?
Why we are not able to perform insert delete and update operation in Join logical file?
How do I remove a flag or check no. or name when a user opens too many sessions?
can a join logical file be updated?
what is externally described file ?
what are the three line types in rlu ?
What is the purpose of OVRATA keyword ?