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 |
How to know the perticular record in pf with out reading?
Why we create the Physical File Member?
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.
Can we concatenate fields in physical file? If yes how can we do?
Suppose if a physical file is having 1000 records, but i deleted 500 records from it. Here the concern is can the size of the file changes or it remains the same... kindly help me out with thorough xplanation.... Thanks in-advance...
how to eliminate the level check error
how can we write LF using flatfile.
can any one tell me what is meant by PSSR? Kindly elaborate it...
i have a PF,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in PF
How can i retrieve city while my i have one field address length 60 but i don't know what where is city in this field ?
how can i know logical file belongs to which physical file without source?
How to find the list of source physical files in a library?