Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 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
No new posts View Copybook having COPY statement i... nkumar Compuware & Other Tools 6 Mon May 16, 2016 7:28 pm
No new posts Need a logic to validate the data in ... sandeep kumar302 COBOL Programming 17 Mon Feb 01, 2016 3:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us