Sanket wrote:Can someone explain me the concept of Copy book?
Quite simply: a copybook is a member of a library (PDS, PDSE, etc.) containing source code (usually, but by no means exclusively, data declarations) which is included by some mechanism at the compiler or librarian level in another source module. The advantage of using copybooks is that a single copybook can be included in a multiplicity of modules; thus, if the copybook represents,
e.g., a record format used by many programs and that format changes, the source for it need be changed only once and the many programs will pick up the changes upon re-compilation (indeed, some source management systems will automatically re-compile all programs using a copybook when it is changed). Similar features are to be found in most languages.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day