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 exception and how many types of exception
Q.1 how to implement the commitment control. 2.how to control commitment control from external program.
how can we write LF using flatfile.
A pf containing 100 records... my query is how to display from 11th record in the pf?
Why journalling is compulsory before commitment control?
Why we create the Physical File Member?
How to insert more than one record to a pf at a time?(Bulk insert to a pf)
When u create a PF and did not fill up Maint parameter, then by default which access path will the system take & why
How to read a PF in reverse(from last rec to first) using CL?
Last statement of any rpg program is lr?
Which keyword is used both in subfile and subfile control record format of a DSPF?
what is dynslt and why we use that command when do we use command