Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Hi Team,

Please tell me, If i don't declare the cursor in the program
and i have given open and fetch and close, then what error
will get.

Answer Posted / dharani

Db2 return code would be -504 since the cursor is not
declared.

-501 - cursor not opened
-502 - opening cursor which is already opened
-503 - update column not specified in cursor while
declaring the cursor for updating some of the columns in
the table.

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where can you declare a cursor in a cobol-db2 program?

995


What is db2?

1124


What is bind in db2?

976


Define check constraint.

1026


Explain about cursor stability?

982


Give the name of some fields form sqlca.

1022


How is deadlock resolved?

1081


What is the physical storage length of the data types date, time, and timestamp?

1040


What is the maximum size of a char data type in db2?

964


What is dclgen (declaration generator)?

1010


Is ibm db2 free?

953


Why do chiropractors use drop table?

1045


Explain dclgen.

1144


What is rebind in db2?

999


What is the latest version of ibm db2?

1201