View previous topic :: View next topic
|
Author |
Message |
Priya Rathi
New User
Joined: 22 Feb 2006 Posts: 2
|
|
|
|
Hi all,
I want to know what is the exact difference between copylib & include in cobol.
Thanks & Regards
Priya |
|
Back to top |
|
|
raghunathns
Active User
Joined: 08 Dec 2005 Posts: 127 Location: rochester
|
|
|
|
Include will expand during precompile stage. db2 layouts
copy expands during compile stage. cobol layouts. |
|
Back to top |
|
|
unni_nss
New User
Joined: 20 Sep 2005 Posts: 19
|
|
|
|
actaually,
copylib means copybooklibrary in Mainframe environment,like proclib.so,its a library name.And INCLUDE is jcl statement like JOB,EXEC etc:
In cobol there is a COPY statement and in jcl it's INCLUDE stmt.
let me know,if i am wrong. |
|
Back to top |
|
|
Priya Rathi
New User
Joined: 22 Feb 2006 Posts: 2
|
|
|
|
Hi,
Thanks Raghunathns for giving answer. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Actually, INCLUDE is a SQL statement, as you can see in the fine manual.
O. |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
INCLUDE is no cobol statement,
it is like a copy statement, but using
a copybook, generated with dclgen.
at the end, you will have the same
a copy structure....
you just don't have the ability with the REPLACE phrase...
martin9 |
|
Back to top |
|
|
|