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 ?
Det Gda Donal Daly told prosecutor Brendan Grehan the copybook was found by gardai who searched Boy B's home on May 24 last year.
The poems and songs that follow base their material on Anderson's obituary, his copybooks, some personal effects, and his own words: we have the handwritten letter (mentioned above) addressed to his court-appointed lawyer on April 1, 1864.
I have seen that copybook cricket still has a place even in T20s.
The grey, an impressive winner at Aintree early last month, blotted his copybook when well beaten behind Bobs Worth in Ireland over Christmas.
And perhaps Harry wouldn't be so keen on the hassle that the 30-year-old, who has even managed to blot his copybook in France despite the lovely surroundings, would bring back to Loftus Road.
Gibbs edged the visitors back in front just before the break, but then blotted his copybook with a second half dismissal.
Effects wizards Colin and Greg Strause blotted their copybook with the horrendous Aliens Vs Predator: Requiem, so this directorial follow up is a welcome relief.
The missile, with a range of more than 5000 kms, followed the entire trajectory in copybook style perfection as the three stages of Propulsion dropped and fell at appropriate intervals into the Bay of Bengal.
Fraser, who won this title on Jeju Island in 2010, remained his nearest challenger on nine under after a creditable 69 despite blotting his copybook by bogeying the par-five 15th.
"Andrew is a brilliant rider - much under-rated and he gave him a copybook ride, the whole thing was copybook.
But with five birdies in seven holes, his demise started on the 10th, followed by a bogey on the 17th and double-bogey on the 18th, blotting a potentially copybook round.
By entering only FILE and/or COPYBOOK names with the option of uploading a TXT file version of your copybooks, the Online COBOL Shell Program Generator creates a source code listing that includes the following: