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

DB2 Interview Questions
Questions Answers Views Company eMail

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.

3 10279

i want to maintain uniqueness on pdf without make lf??????????

2104

When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?

Broadridge,

3528

in my project..TEST is db2 8.1 version In PROD it is 7.1 if i do REORG in TEST.. can I use the same REORG jcl with out modification in PROD region (this is DB2 8.1 )? if not, what modification i need to do in my REORG control card?

2030

can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well

2186

What does an outer join do?

CTS,

1 7695

What happens to a cursor after a commit?

3 9751

What do you do to keep the cursor from closing after a commit?

1 6852

How do you check for a null value in a db2 column?

2 11680

Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....

2321

File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?

Infosys,

2873

SI Stud name Subject Marks Pass/Fail 1 Sham Maths 40 P 1 Sham Physics 50 P 1 Sham Bio 20 F 2 Ram Maths 40 P 2 Ram Physics 50 P 2 Ram Bio 60 P For the above data , write the SQL query for the student who passed in all the subjects . For eg : I want the data of only Ram coz he passed all subjects .

Cognizant,

2 7817

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.

IBM,

6 13928

I have a main program (A) where we delete some rows in table in a cursor, and we commit it in sub program(B). What will happen - will we get an error or not?

2 6240

Q1. How will you use two different DB2 qualifiers in a single COBOL program? Suppose we have 2 tables EMP1 and EMP2 with same structure defined in two different DB2 qualifiers QUAL1.EMP1 and QUAL2.EMP2 now during first 15 days we want to use QUAL1.EMP1 and rest of the days QUAL2.EMP2  how will we do this.  We can create a single program and a single load for this program. 

RBS,

2 7353


Post New DB2 Questions

Un-Answered Questions { DB2 }

What is alias in db2?

992


Outputs of explain are with matchcols = 0. What does this signify?

999


How do you select a row using indexes in db2?

1076


What is a page in db2?

988


What is the role of union all and union

1081


What is catalog database in db2?

1108


How can the duplicate values be eliminated from db2 select?

1047


Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

1013


How is deadlock resolved?

1087


What is load utility in db2?

1136


What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?

1121


Before you give the explain statement, what are the prerogatives?

976


Define buffer pool.

1003


How do you concatenate the firstname and lastname from emp table to give a complete name?

1021


How to test SQL -911 error while developing COB-DB2 program

7455