Sasquatch69
Programmer
Hi,
i execute a SQL query in Cobol. I have 450 host variables to declare. My problem is, when i execute my query, i have some null field and then the query return me error( sqlcode -305).
i know i can use a indicator to verify if my field is null, but i don't want to declare 450 indicator and verify each field.
Anyone have a solution???
thanks
Christian
ps: sorry for my bad english.
i execute a SQL query in Cobol. I have 450 host variables to declare. My problem is, when i execute my query, i have some null field and then the query return me error( sqlcode -305).
i know i can use a indicator to verify if my field is null, but i don't want to declare 450 indicator and verify each field.
Anyone have a solution???
thanks
Christian
ps: sorry for my bad english.