ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  MainFrame  >>  IBM MainFrame  >>  DB2
 
 


 

 
 COBOL interview questions  COBOL Interview Questions
 JCL interview questions  JCL Interview Questions
 CICS interview questions  CICS Interview Questions
 DB2 interview questions  DB2 Interview Questions
 IMS interview questions  IMS Interview Questions
 IDMS interview questions  IDMS Interview Questions
 Natural interview questions  Natural Interview Questions
 ADABAS interview questions  ADABAS Interview Questions
 REXX interview questions  REXX Interview Questions
 Assembler interview questions  Assembler Interview Questions
 CLIST interview questions  CLIST Interview Questions
 QMF interview questions  QMF Interview Questions
 MVS interview questions  MVS Interview Questions
 OS390 interview questions  OS390 Interview Questions
 OS 2 interview questions  OS 2 Interview Questions
 VSAM interview questions  VSAM Interview Questions
 QSAM interview questions  QSAM Interview Questions
 Sysplex interview questions  Sysplex Interview Questions
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions
Question
How to resolve -504 sql code in DB2?
 Question Submitted By :: Vikram And Mangesh
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to resolve -504 sql code in DB2?
Answer
# 1
Hi,
-504 is cursor not declared error.may be cursor name 
misspeled also coming this error.
 
Is This Answer Correct ?    13 Yes 0 No
Kk
 
  Re: How to resolve -504 sql code in DB2?
Answer
# 2
There are following possibilities to this issue to come,
	1) Cursor is not declared in application program or 
in stored procedure depending on where it is used. 
		Soln - Declare the cursor in application 
program or in stored procedure depending on where it is 
used.
	2) Cursor spelling is not correct which you are 
going to open or fetch.
		Soln - Check the name used and correct.
 
Is This Answer Correct ?    2 Yes 0 No
Anandrao
 
 
 

 
 
 
Other DB2 Interview Questions
 
  Question Asked @ Answers
 
what is datacom db? CSC2
How to know the primary key of a table without defining the primary key in the table? Satyam4
In terms of DB2 indexing, what is the root page?  1
What is the difference between group by and order by? IBM1
how to resolve -818 error. how to see timestamp token in load module and plan IBM2
Name some fields from SQLCA.  2
I need to view the number of tables existing under one particular Owner. Is it possible? If so, pl give the SQL query for this?  3
What are db2 error codes -305 and -407. What is the difference between these 2 error codes ?  1
Explain the use of the WHERE clause.  2
What is the error code -803 ?  3
Explain the use of the WHERE clause?  1
max number of columns in a db2 table?  5
5 rows are inserted to a DB2 Table. Next 3 of those are updated, then a rollback is issued. What would happen when the rollback is issued?  2
What are the various locking levels available?  2
What technique is used to retrieve data from more than one table in a single SQL statement? CTS6
How do you insert a record with a nullable column?  2
AGGREGATE function support by DB2. A) SUM & AVG B) SUM, MIN & AVG C) SUM, MAX, AVG , MIN &COUNT D) NONE Accenture1
insert into tablename a column1, column2 select column1, column2 from tablename b i am getting abend -104..can any one help? Syntel3
How to resolve SQL Code -310. The db table feild is declared as Decimal(7,2). IBM1
4. A DB2 application is bound with uncommitted Read isolation level.It issues a request that retrieves 20 rows out of 200000 in the table. Which of the following descrbes the rows that are locked as a result of this request? a. None of the rows are locked. B.The retrieved rows are locked. C.The last row of the result set is locked. D.The rows not previously updated by another application are locked. Wipro3
 
For more DB2 Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com