Glossary

Host Variable

A COBOL data item referenced within an *embedded SQL* statement. Host variables are prefixed with a colon in SQL statements (e.g., :WS-EMPLOYEE-ID) and serve as the bridge between COBOL working-storage and DB2 columns. (Ch. 27) See also: *Embedded SQL*, *DCLGEN*, *Indicator Variable*.

Learn More

Related Terms