what do you mean by copybook? and what is the difference
between the copybook which we are using in working storage
and procedure division.
Answer Posted / shan
Copy books are nothing but COBOL code which can be used in
multiple programs are written in a separate member.
By using COPY <COPY BOOK NAME> statement(COPY is a compiler
directive command), The piece of code in the copy book will
get expanded during compilation.
Mostly copy books are used to define file structures, any
variables structures,which can be defined in multiple
programs, also for some common paragraphs(Ex: Abend
paragraphs). This does not mean this is the only usage.
Even file section, for select clause also we can write a
copy books.
Any part of your COBOL program can be written into to a
separate copy book and using copy command it can be
expanded. There is no classification as working storage copy
book or procedure division copy book, If any one stands by
this classification, please let me know any books or
materials you have referred, i will also get updated.
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How do you get the data to code the BMS macro?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How do u write test cases?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Can we change the password using ALTER? anyone tried and changed?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Can you please let me know the centre name of INS certification in Kolkata.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is the difference between comp and comp-3 usage?
What is link edit in cobol?
) How do u handle errors in BMS macro?
Discuss about changing dataset name in proc.