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 |
What is Group Job?
What is logical file in as400? What are the types of logical file?
define the purpose/use for sflrna?
which are the member types which seu supports?
What is the difference between externally described file and program described file?
define the purpose of the leave operation?
when you are defining a flat file in your program in f specs which format will you specify?
Hi Friends, I need immediately answer for this: Senario is that,I am selecting records from the display and window subfile on the basis of Reason Code and some more fields but spool file not showing the same records which i have selected by display and window subfile. Q.What could be the causes(resons)to not show records properly (just selected in the display file and Window subfile)according the selection criteria of the records. Q.What would be the solutions to show records properly in the spool file just as selected in in the display file and window subfile according to the selection criteria.
how do u compile rpgle program?
How do I remove a flag or check no. or name when a user opens too many sessions?
What is an authorization list?
how many files, printer files you can describe in a rpg?