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 |
Can we concatenate fields in physical file? If yes how can we do?
How many max. Record format a logical file have?
How to retrieve a physical file after deleting that ? what is keyword used for that....??
what is dynslt and why we use that command when do we use command
When we use any keyword like FIFO,LIFO, at file level but whenever we check by runqry we couldn't find answer in FIFO,LIFO,FCFO etc so how we check the answer.
Why we create the Physical File Member?
What is open data path?
There are six records in a file and we are going to update that records and used commit operation when it complete the update but suppose when it updating the third record,a error occured and operation failed.Is previously two records will be update or whole operation will be rollback? Please confirm it.
WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?
How to find the list of source physical files in a library?
pls anyone explain about compile time array,pre run time array run time array
I have a PF with out any data but the dependent LF is having data?