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...

This was related to -811 sqlcode, In a COBOL DB2 program
which accesses employee table and selects rows for employee
'A', it should perform a paragraph s001-x if employee 'A'
is present. In this case it gets -811 sqlcode, but still it
process the paragraph s001-x. What could be wrong in my
code.

Answer Posted / karamveer

-811 will come because you have the multiple record fetched by your query. But still your para is stored because first record from your query resultset is fetched and processed. -811 is error but it will not abend your program and it runs fine. You need to build query which result unique record.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When do you specify the isolation level?

1022


Mention the definition of cobol in varchar field.

1235


What is buffer pool and list some of them?

1014


What is the use of commit in db2?

1064


How many databases are there?

1044


What is a db2 cursor?

1041


What is cursor with hold option in db2?

1059


How do I connect my db2 database to ibm?

1035


What is database manager in db2?

1007


What is the meaning concurrency in the db2 database?

1105


How to take backup of table in db2?

1065


Mention the length of physical storage of the given data types of db2 – date, timestamp, time

1073


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

1094


What is load utility in db2?

1174


Is db2 a mainframe database?

990