Thanks for the quick response.I have one more question.
As per my knowledge on SQLDA(SQL Descriptor area), it can be used to get the details of number of columns,column names and their data type,length in a result set by using describe cursor statement.Could you throw some light on SQL Descriptor area?Will this be of any use in solving the nested procedures issue?