what is a null indicator in db2?

Answers were Sorted based on User's Feedback



what is a null indicator in db2?..

Answer / guest

Hi,
Suppose if the database table has a couloumn empno, it may
or may not null.
to handle these type of values we have to use null
indicator.
It indicates that particular coloumn may contain null
values likewise.

Is This Answer Correct ?    9 Yes 2 No

what is a null indicator in db2?..

Answer / shaik

If the Resultant Table value is nulls(Garbage) then
Embedded SQL abends with the SQLCODE -305, even we can
handle this to not abend, but we cann't move the garbage to
target value, so, before moving the data to target field,
we need to make sure whether it has nulls or not, we can
identify the feild holds null or not by checking the Null
indicator(Ned to define with half-ward binary format in ws
section) value with < = 0. if less than then null
available, if 0 then nulls not available. Generally id
nulls are available, we will initializa the value then we
will move this to target.

Is This Answer Correct ?    5 Yes 1 No

what is a null indicator in db2?..

Answer / chiru the master

-1 is the null indicator

Is This Answer Correct ?    2 Yes 0 No

what is a null indicator in db2?..

Answer / poornima.t

NULL INDICATOR IS USED TO FIND OUT WHETHER
THE COLUMN IN THE TABLE IS NULL OR NOT NULL...

IN COLUMN IF THE VALUE IS NOT SPECIFIED THEN IT IS
TREATED AS NULL VALUE...

Is This Answer Correct ?    0 Yes 0 No

what is a null indicator in db2?..

Answer / shaik

Null is unknown information (garbage)

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More JCL Interview Questions

What dd statement is used to supply the name of a dataset?

0 Answers  


How to print data of sequential file to Spool..?

2 Answers  


Why do you use a control card?

3 Answers   IBM, iNautix,


what is mainframe?

4 Answers   CGI,


A job has 150 steps i want to execute only 57th step

3 Answers   Cognizant,






Explain the function of the dd dcb keyword?

0 Answers  


what is inrec fields and outrec fields in sorting

3 Answers   Fidelity,


What parameter of the job statement is used to limit the cpu time consumed by the job?

0 Answers  


Can we able insert data into a PS file Using IEBUPDTE utility??? If Yes can anyone describe it please..

1 Answers  


What is a procedure?

1 Answers  


if in a job, region is mentioned in both jobcard and in step then which is cosidered at the step level? A job has region 4k in jobcard and step1 with region 0k and step2 with 16k, then what is the region allocated for the entire job? what is the region step1 takes? what is the region step2 takes?

4 Answers  


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

0 Answers  


Categories