Answer Posted / yuvaevergreen
IN DCLGEN,
>>"INDICATOR VARS .. ===> NO" indicates the presence of
null variables for the fields in the tables.
>>indicator variable should be declared of type s9(4) comp.
77 DAY-IND PIC S9(4) BINARY.
Move -1 to the indicator variable and use in sql.
exec sql
insert into employee(name)
values(:ws-name:ws-name-ind)
end-exec;
ws-name-ind is the indicator variable which inserts null in
the field ws-name.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is null indicator in cobol db2?
Why do chiropractors use drop table?
What is db2 plan table?
Explain in brief how does db2 determine what lock-size to use?
How to retrieve rows from a db2 table in embedded sql?
Explain various types of locks in db2?
What is the maximum No of rows per page?
What is the picture clause of null indicator variable?
What is the maximum number of columns in a db2 table?
How many databases are there?
What language is db2 written in?
Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?
Which isolation level provides maximum concurrency?
While unloading huge amount of data from table. Suddenly job failed some error. Imagine 1M data unloading, In that 90% data unloaded only 10% left, So if want to unload the rest 10% what needs to be done? Whether do i need to start from top or anything ?
What is the use of value function?