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 |
Where the QTEMP library will get created? if the the answer is QSYS, then howcome more than one job can create same library name(QTEMP) in QSYS? what is the uniqueness of QTEMP? For example, run the below command in different workstation WRKOBJ QSYS/QTEMP And take 8 in the option to check the description. both will have different info. so where(which LIB) exactly the QTEMP is stored?
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?
Which keyword is used both in subfile and subfile control record format of a DSPF?
what is open data base command
1 Answers Active Brains, Cognizant, CSC, CTS,
how can i know logical file belongs to which physical file without source?
Can we concatenate fields in physical file? If yes how can we do?
what is the intractive job? what is the batch job ? how to change the batch job to interactive job?
I have a pf, it contains 5 members, how to access particular member data from logical file?
How to know the particular record in pf with out reading?
how to update physical file using logucal file with example
What is the batch job?
WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?