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 ?
Written in the copybook passed down to me, and over six months' time, they came back into the world with music I composed for them, and I sang them for the first time.
Mamand continued, "The profit season for most of the book sellers and stationers starts from September and lasts until June." Pens, boxes, bags, stickers and copybooks are amongst the most popular items being sold in the shops.
Environment Division SELECT/ASSIGN statements and Data Division FD statements are generated for up to four (4) input/output files and can include expanded copybooks is the user chooses to upload them via the online form.