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 |
Space & Skip Are Which Level Keywords?
all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?
How to add 99 menu (page down) option in menu creation..
List and explain the different type of data structures?
what is a spool file?
What is the purpose of 'CPYTOIMPF' command?
6 Answers Aditya Birla, Redington,
what is the maximum number of parameters allowed in clp?
Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?
Define the purpose of Factor 1 the Operation Code and *IN15 in following code HI LO EQ C *YMD Test(D) yymmddDate 15
What are the types of data structure in as400?
What is the difference between array and a multiple occurrence data structure?
what is the favicon.ico request that my site receives now and then?