Hello,
I have to do following processing in a CLP:
CPYF FROMFILE(ALIB/ZXFILE) TOFILE(QTEMP/XFILE) +
MBROPT(*ADD) CRTFILE(*YES) FMTOPT(*NOCHK)
(Here blank PF is created by copying ZXFILE)
then i had to write some data to this PF (without calling rpg), then again use
CPYF FROMFILE(BLIB/CCLP) TOFILE(QTEMP/XFILE) +
MBROPT(*ADD) FMTOPT(*NOCHK)
(copy data from CCLP to XFILE)
and finally, again insert some data to XFILE in QTEMP.
Is it possible to do it in a single CLP ??
Thanks
I have to do following processing in a CLP:
CPYF FROMFILE(ALIB/ZXFILE) TOFILE(QTEMP/XFILE) +
MBROPT(*ADD) CRTFILE(*YES) FMTOPT(*NOCHK)
(Here blank PF is created by copying ZXFILE)
then i had to write some data to this PF (without calling rpg), then again use
CPYF FROMFILE(BLIB/CCLP) TOFILE(QTEMP/XFILE) +
MBROPT(*ADD) FMTOPT(*NOCHK)
(copy data from CCLP to XFILE)
and finally, again insert some data to XFILE in QTEMP.
Is it possible to do it in a single CLP ??
Thanks




Comment