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

how can u retrieve the data from null values using
applicaion program.

Answer Posted / bhavani

When we retrieve data from a nullable field, we need to
have a null indicator declared in the working storage.

WS-NULL-INDICATOR s9(04) comp

And after you have fetched the value for that column,

we need to check the value of the null indicator.

It can have the following values

-2 - Exceptional condition
-1 - Null Value is present in that field
0 - Not null

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define buffer pool.

1034


What is the purpose of rollback and commit?

1171


What is the use of commit in db2?

1060


What are the various isolation levels possible?

1101


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

1061


How does coalesce work?

998


What is netezza database?

1002


What is the physical storage length of the data types date, time, and timestamp?

1080


What is universal database?

1055


What is the role of schema in the db2 database?

1249


Why cursor is used in db2?

1022


What is the physical storage length of time data type?

1108


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

1172


How does cobol compile db2 program?

1034


What is the picture clause of null indicator variable?

1120