ALLInterview.com :: Home Page            
 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
What value the host varible will contain , if null 
indicator value is -2 ? Will it contain the truncated value 
or nothing will move ?
 Question Submitted By :: Rahul
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What value the host varible will contain , if null indicator value is -2 ? Will it contain the truncated value or nothing will move ?
Answer
# 1
That Host Variable contain the Truncated value when Null
Indicator conatin value -2.
 
Is This Answer Correct ?    17 Yes 2 No
Santy
[Capgemini]
 
  Re: What value the host varible will contain , if null indicator value is -2 ? Will it contain the truncated value or nothing will move ?
Answer
# 2
If the null indicator value is -ve, then the field will
have null value. if -2 means then there is a data
conversion error resulted the null indicator set to -2, so
the field will have nothing.
 
Is This Answer Correct ?    4 Yes 1 No
Mk
 
 
 
  Re: What value the host varible will contain , if null indicator value is -2 ? Will it contain the truncated value or nothing will move ?
Answer
# 3
The null-indicator variable is examined for a negative
value. If the value is not negative, the application can
use the returned value of the host variable. If the value
is negative, the fetched value is null and the host
variable should not be used. The database manager does not
change the value of the host variable in this case.

Note:
If the database configuration parameter dft_sqlmathwarn is
set to 'YES', the null-indicator variable value may be -2.
This value indicates a null that was either caused by
evaluating an expression with an arithmetic error, or by an
overflow while attempting to convert the numeric result
value to the host variable.
 
Is This Answer Correct ?    0 Yes 0 No
Prachi
 

 
 
 
Other DB2 Interview Questions
 
  Question Asked @ Answers
 
What can the SET option of the Repair Utility accomplish?  1
How many clustering indexes can be defined for a table?  2
What is an alias?  3
if suppose i am having an ACCOUNT table with 3 coloumns ACC. NO,ACC. NAME,ACC. AMOUNT . If a unique index is also defined on ACC.NO and ACC.NAME then write a query to retrieve account holders records who have more than 1 ACC. Wipro7
what is commit & rollback? When and where is used while compiling a cobol-db2 program?  2
What is lock contention?  1
What are simple, segmented and partitioned table spaces ? TCS1
What is meant by isolation level?  3
Could anyone clearly explain the diference between sub query and correlated sub query?  3
Suppose there are many duplicate records in a Db2 table. What is the query to retrive only duplicate records?  2
What's the difference between DB2 active log and archive log? Thanks a lot... IBM2
What is the specific need of Plan and..where are the tables in DB2 are physically saved Infosys3
 
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 © 2012  ALLInterview.com.  All Rights Reserved.

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