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 the interactive job?
I want to change the attribute of field or want to add new field in existing PF but condition is format level identifier should not change, is it possible?
CRTDTA AND CRTARA should be used along with?
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.
Is it possible to create a logical file whose Physical file is not in same library?
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
Maximum how many fields we can create under a record format of PF?
I had created one physical file tell me command to enter data in to?
YOU CAN DELETE THE RECORD SPACE PERMENANTLY IN PHYSICALFILE THROUGH CL?
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
Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?
pls anyone explain about compile time array,pre run time array run time array