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
Name the lockable units in DB2?
What r the comman abends in db2, jcl and cobol???????
What is the clustering index in the db2 database?
How to find the number of rows in a db2 table?
What is runstats utility in db2?
Where do you specify them?
What is dbrm? What it contains? When it will be created?
What do you mean by cursor?
What happens in bind step in a db2 program?
what are bind concepts in db2 cobol?
Explain the function of data manager.
Why do we bind in db2?
How do I add a column in db2?
How do I import data from excel to db2?
How to check last update on table in db2?