I am working on an application that requires me to produce a COBOL copybook to define a data file.
Does anyone have a good reference on how to write out a copybook?
A "copybook" is basically COBOL speak for an include file. You need to write a description of your data in COBOL format. Here's a tutorial. Here's some other good articles.