what is a null indicator in db2?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
I have Job A and Job B. I want to trigger Job B from Job A. Please advise.
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Explain how can values be passed from the job stream to an executable program?
What is GDG and what is the maximum limit of versions that can be created?
what will be the error code if duplicate key of VSAM file is found?
What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
How Can we see all generations of a GDG ?
how to allocate a dynamic dataset in jcl ?
What are the default system and catalog libraries in JCL?
what is A-MODE and R-MODE?
There is one QSAM is the VB file. i want to get the first characters in this file and change those characters from'abcd' to '1234' and creat a vasm file to put '1234' in it. how to do in only JCL. if it not QSAM, it's VASM and VB. how to do it.
How to submit a jcl from cics?