Includes the definition of the specified SQL data structure or source file in the COBOL program.
                  
 
            	 
            
               Syntax:
 
               		 
               		>>---EXEC SQL---INCLUDE-----.-SQLCA----.----END-EXEC----><
                            +-SQLDA----+
                            +-filename-+ 
               	   
            	 
            
               Parameters:
 
               		 
               		
                
                  		
                  
                      
                        			  
                        			  
                        			 
                         
                           				
                            
                              				  
                              | SQLCA
                                 				  
                               |  
                              				  
                              Indicates that a SQLCA data structure is accessed.
                                 				  
                               |  
                              				
                           
 
                           				
                            
                              				  
                              | SQLDA
                                 				  
                               |  
                              				  
                              Indicates that a SQLDA data structure is accessed.
                                 				  
                               |  
                              				
                           
 
                           				
                            
                              				  
                              |  
                                 					 filename 
                                 				  
                               |  
                              				  
                              Indicates that a file should be included in the source at this point (this is equivalent to the COBOL COPY facility).
                                 				  
                               |  
                              				
                           
 
                           			 
                         
                        		  
                     
                    
                  		
                 
               	 
              
            	 
             
            	 
            
               Example:
 
               		 
               		EXEC SQL INCLUDE SQLCA END-EXEC
EXEC SQL INCLUDE SQLDA END-EXEC
EXEC SQL INCLUDE MYFILE END-EXEC
 
               	   
            
           
         
         
Comment:
This statement uses the corresponding .cpy file. Ensure that sqlca.cpy and sqlda.cpy are in the current directory or that the COBCPY environment variable specifies the directory that contains them.