Skip to Content
Custom Search

Reply to comment

Joined: 09/04/2011
If u r using a cobol+db2+cics
If u r using a cobol+db2+cics program the complilation will be done intially on db2 pre complier and cics translator and then cobol compilation takes place , but as we need to use SQLCA copybook for db2 which is a copy book and if we give COPY SQLCA as COPY command is a cobol command which gets expanded during cobol compilation only but as we r using the SQLCA variables in the program which cannot get expanded until precompilation and cics translation and cannot find its varaibles and gives complilation error, so we use INCLUDE command of db2 which expands the copybook during db2 pre compilation only as INCLUDE is a db2 command.


  • Allowed HTML tags:
      1. Lines and paragraphs break automatically.

    More information about formatting options

    This question is for testing whether you are a human visitor and to prevent automated spam submissions.


Click the +1 button  below to share it with your friends and colleagues


Share this if you liked it!



Number of Registered users 714
Theme by Dr. Radut.