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 ?
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.
Former Villa player Daniel Bankhead and a screamer from Derek Willis were the Fell marksman, but it was James Bishop and two-goal Ben Jefferson who were match-winners before Jefferson blotted his copybook by seeing red late in the game.
Kate Moss might have blotted her copybook with H & M and other big names, but Yves Saint Laurent is standing by the supermodel for its new Opium campaign - so we'll be seeing her soon.
Ducati Fila rider Hodgson blotted his copybook when he missed out on pole position for the first time this season but made up for it in fine style with victories in both races to stretch his lead at the top of the title standings to 46 points.
Watford goalkeeper Alec Chamberlain made some fine saves in the first half but blotted his copybook in the second, bringing down striker Lloyd Owusu who had been substituted for midfielder Tony Crane.
Beautiful City, a very useful sort over six bends who finished third in the recent Betfred Select Stayers Stakes at the track, blotted her copybook late on when deliberately interfering with Klockwork Kyla and will now have to successfully undergo clearing trials before she can race again.
And, though St Asaph-born double Solheim Cup cap Brewerton and Wrexham's Loucks added six more birdies yesterday in the foursomes, their copybook was somewhat blotted with four dropped shots.
The 25-year-old slightly blotted his copybook after a late bust-up with Scott Grix, who he goaded while scoring his second, but Morgan could take nothing away from the former Wakefield man.
Which Labour politician has risked blotting his copybook on the environment by admitting he uses disposable nappies for his six-month-old son?
Flanker Angus Martyn also grabbed a try but later blotted his copybook by being yellow carded.
She's now trying to rival Amy Winehouse in the old tattoo stakes and is looking more like a child's copybook every day.