Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What is copybook in detail and why we are using it

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
udaysinghsolanki

New User


Joined: 17 Aug 2006
Posts: 2

PostPosted: Sat Aug 19, 2006 5:37 pm    Post subject: What is copybook in detail and why we are using it
Reply with quote

hi guys,
i am new to the mainframe environment i am just learning it, so could anybody explain me what is copybook in detail and why we are using it.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sat Aug 19, 2006 5:58 pm    Post subject:
Reply with quote

Copybook is part of code that is saved as a separate member. During compilation, this part of code is COPYed into the program's source.

For example: If you have a working storage definitions of a file, and this file is used in many programs, you might want to put its record definition in a copybook to keep all your programs consistent.

Another example: Very complex calculations that regards the business directly and are part of the business guidelines might be saved as copybooks to keep it as a one point of update.

O.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
No new posts Geneartion of COBOL copybook structre... murugan_mf COBOL Programming 3 Fri May 20, 2016 12:48 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us