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

What is explain in db2?

1020


What are the 2 sqlcodes that are returned?

1189


What is db2 bind?

1082


Is it possible to create an Instance in DB2 using DB2 Control Center ?

1104


Is db2 a mainframe?

1043


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

1077


What os does db2 run on?

981


Explain the contents that are a part of dclgen.

1091


What is the use of value function?

1150


What is null value in db2?

1024


What does reorg do in db2?

1029


Are view updateable?

1043


What is lock escalation in db2?

1031


What is meant by dclgen?

1109


What is the difference between cursor stability and repeatable read isolation levels?

1173