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 find the list of source physical files in a library?? Is there any way to get a list??
How to read a pf in reverse(from last record to first) using cl?
how to know total no of records in pf with out using sql??????
How to know the perticular record in pf with out reading?
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...
What is FORMAT keyword and its use?
What is the interactive job?
can we concate fileds in physical file? If yes how can we do?
In a CL Program after executing a SQL SP how to receive a Output value from the SP. Just to make it clear I am sending 2 input and 1 output parameter to the SQL Stored Procedure. Now while receiving it output parm it is failing.
How to retrieve a physical file after deleting that ? what is keyword used for that....??
I have a PF with out any data but the dependent LF is having data?
how to see number of logical files depending on a pf?...can we declare more than 20 logical files from a single pf? is it possible