Hi! While we r working with MAPS IN cobol programming , we use COPY to copy the symbolic map variables into our working-storage section.Instead of that can i use INCLUDE over there ?
If you search the COBOL manual, you will not find INCLUDE listed as a reserved word. Since it is NOT part of COBOL, how do you plan on using it to copy in the map source during the program compile?
Yes, INCLUDE is a keyword for the SQL preprocessor (and PL/1 uses the same to include the equivalent of COBOL copybooks) and COPY is the COBOL keyword for copying code from an external source.
The problem I have is that people can explain things quickly but I can only comprehend slowly. Regards Nic
"INCLUDE" is sometimes used to expand common code before the compilation rather than during the compilation. Once somewhat common, i see this less and less.
U should not use INCLUDE instead of Copy. Because Copy statement will be included the variables at the compile time but the include statement will be included at run time. here we only compile the cobol program. so u should not use