Hi Sriram,
Wrire two PCR first call the PCR to check the remaining balance at the end of the year and update the remaining in next year : For this need to take two time type
VARSTCURMO
VARSTREDAY
OUTAQTYP
HRS=FR
HRS?5
<
*
HRS=5
ADDDB1234
Then in second PCR
VARSTCURMO
VARSTREDAYS
HRS=L1234
ADDB5678