Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: copybook

$
0
0

No.  You have it confused I think.  Copy books are source code snippets that you, the programmer, optionally include and insert into your source program, using the COPY statement.  You create the copy book as a separate source file, either manually or with a tool, and then you use the COPY statement in your source program to insert the snippet of source code from the copy book file into your source program.  This is much like how other languages allow the use of Include and Import and Using statements to do a similar thing.  The COBOL compiler will "expand" these just prior to compilation and consider them to be part of the source program to be compiled.  See these references:

en.wikipedia.org/.../Include_directive

www.csis.ul.ie/.../Copy.htm


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>