Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

host variable declaration in cobol

Status
Not open for further replies.

Sasquatch69

Programmer
Sep 20, 2002
19
CA
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top