wirte a simple program for read file in cl

Answers were Sorted based on User's Feedback



wirte a simple program for read file in cl..

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

wirte a simple program for read file in cl..

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

Post New Answer

More DB400 Interview Questions

Can we concatenate fields in physical file? If yes how can we do?

0 Answers  


How many max. Record format a logical file have?

13 Answers   Systime,


How to retrieve a physical file after deleting that ? what is keyword used for that....??

6 Answers  


what is dynslt and why we use that command when do we use command

2 Answers   Active Brains, UHG,


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.

2 Answers  


Why we create the Physical File Member?

5 Answers  


What is open data path?

0 Answers  


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.

2 Answers  


WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?

5 Answers   Accenture,


How to find the list of source physical files in a library?

0 Answers  


pls anyone explain about compile time array,pre run time array run time array

4 Answers  


I have a PF with out any data but the dependent LF is having data?

1 Answers   HCL,


Categories