copybook

(redirected from copybooks)
Also found in: Dictionary, Thesaurus, Idioms.

copybook

(programming, library)
(Or "copy member", "copy module") A common piece of source code designed to be copied into many source programs, used mainly in IBM DOS mainframe programming.

In mainframe DOS (DOS/VS, DOS/VSE, etc.), the copybook was stored as a "book" in a source library. A library was comprised of "books", prefixed with a letter designating the language, e.g., A.name for Assembler, C.name for Cobol, etc., because DOS didn't support multiple libraries, private libraries, or anything. This term is commonly used by COBOL programmers but is supported by most mainframe languages. The IBM OS series did not use the term "copybook", instead it referred to such files as "libraries" implemented as "partitioned data sets" or PDS.

Copybooks are functionally equivalent to C and C++ include files.
Mentioned in ?
References in periodicals archive ?
Working-Storage Section - allows entry of up to eight (8) copybook names and will expand uploaded copybooks for Working-Storage
Typically, they would need to recode the copybooks or even make changes to the application to 'work around' an ODO structure," stated Rob Morris, market evangelist for GT Software.
The assessment covered more than 234,000 components (70% of these coming from 3rd party packages and 30% from applications developed internally), including 37,000 COBOL programs, 94,000 copybooks, 37,500 executables, 45,500 JCL jobs, and 1,100 JCL Procs; a total of more than 30 million lines of code.
RowGen also includes separate metadata conversion utilities for Oracle SQL-Loader Control Files, MF COBOL copybooks, W3C ELF web logs, and Microsoft CSV.
Fair Isaac Blaze Advisor for COBOL addresses this limitation by enabling users to develop rule services that can be compiled to IBM mainframe-standard COBOL, and by enabling these rule services to read and write data in their COBOL copybooks.
We had to migrate one of DaimlerChrysler's mission critical application system, which includes more than 130 COBOL programs as well as JCL code, procedures, assembler programs, copybooks, maps and schema," added Reinhard Wetzel, VP, Central Europe at BluePhoenix Solutions.