wirte a simple program for read file in cl
Answers were Sorted based on User's Feedback
Answer / uday bagdi
PGM
DCLF FILE(PGMUDAY/PF1)
Read: RCVF RCDFMT(R1)
MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(end))
SNDPGMMSG MSG(&Name) TOPGMQ(*EXT)
GOTO CMDLBL(Read)
END: ENDPGM
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / uday bagdi
PGM
DCLF FILE(PGMUDAY/PF1)
Read: RCVF RCDFMT(R1)
MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(end))
SNDPGMMSG MSG(
| Is This Answer Correct ? | 0 Yes | 0 No |
WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?
What is FORMAT keyword and its use?
Can we concatenate fields in physical file? If yes how can we do?
can any one tell me what is meant by PSSR? Kindly elaborate it...
CRTDTA AND CRTARA should be used along with?
what is exception and how many types of exception
how can i know logical file belongs to which physical file without source?
Is Constent can be define as a key field?
If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.
Hi, Please give the answer to this question? I have Phisical file with 100 records,there is no any duplicate records in this pf.Based on this pf one Logical file i have used.But this lf is viewing only 80 records only of that pf?What is the reason for this?Please give me answer?
A pf containing 100 records... my query is how to display from 11th record in the pf?
How many maximum record format a logical file have?