I have been analysing a Cobol-Db2 program.I found a really strange query rather I'm not able to grasp the motive behind the Query.
where I_Code = 'INDIV'
where I_Code = 'GROUP'
The first thing that bothers me, this Query is not declared as a cursor.The result of this Query will definitely give 2 values...One giving the no of active individual coverages and second giving the no of active group coverages.
During execution the latest value ie the one belonging to active group coverages will be the final value.
Can anyone explain why such a query is fired...Thanx in advance...