The COBOL properties preset in the HCOSS templates include a post-build event to automatically bind your application immediately at the conclusion of the build process.
The HCOSS post-build event executes the DSN Bind utility, which binds the application and database. The default syntax of the DSN command executed is:
DSN SYSTEM(HCODB) @"$(ProjectDir)Application1.hcodsn"