I am declaring a cursor for the foll. query SELECT COUNT(*),DEPTNO from DEPT GROUP BY DEPTNO.
While fetching i don't have a dclgen variable for this COUNT(*) and hence i used a local variable TEMP-COUNT
But when doing like this i am getting an error "UNDEFINED OR UNUSABLE HOST VARIABLE "TEMP-COUNT".
Is there any way to rectify this or do i need to alter my DCLGEN