copybook


Also found in: Dictionary, Thesaurus, Idioms, Wikipedia.

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
Designed to correspond with "A Greek Alphabetarion", A Greek Hupogrammon: A Beginner's Copybook for the Greek Alphabet with Pronunciations is a self-instructional, consumable workbook for anyone age 8 to adult who is beginning studies in reading, writing, and speaking the Greek language.
Formula One's most experienced and successful driver Michael Schumacher blotted his copybook at Silverstone yesterday with a mistake more familiar to fans in the grandstands than a seven-time world champion.
The works appear to be part of a copybook as at least two of the portraits are adaptations of already published images.
Paul O'Shaughnessy equalised with a scrambled goal for Andy Preece's Bury three minutes later, but later blotted his copybook by collecting a 10th booking in 14 games.
The reader could draw a line down the middle of a copybook and entitle one side "Popular Perception" and the other "How It Was" and come up with an excellent summary of the book.
Copybook parsing for PL/1, DCLGEN, and Assembler simplifies data definition for comparison.
The copybook contains eight scenes, all quite sketchy.
Unlike some they take heed of the gods of 'The Copybook Headings':
This grand achievement of Modernism now stands for little more than copybook ornament, bereft of any radical signification.
The Swifts have flattered to deceive in the Steel Cup in recent seasons and its omission from Shields' roll of honour in 13 seasons with the club remains a blot on his copybook.