Guides you through the process of 
                  		adding the 
                     		  EMP.cpy copybook to the OESQLAsst project, 
                     		 setting a break point, 
                  		building the application, 
                     		 and debugging the application in 
                  		Visual Studio. 
                  	  
               
            
 
            	 
            
               Add the 
                  		  EMP.cpy copybook to the project
               
 
               		 
               		
                While the OpenESQL Assistant generated and saved the copybook necessary to compile the application, it does not automatically
                  add the file to the current project. The copybook must be part of the project to be included in the compiled application.
                  
                  		
               
 
               		
                
                  		  
                  - From the Solution Explorer, right-click the 
                     			 OESQLAssistantTutorial project and select 
                     			 Add > 
                     			 Existing Item. 
                     		  
                  
  
                  		  
                  - Select 
                     			 EMP.cpy; then click 
                     			 Add. 
                     			 
                     
The 
                        				EMP.cpy copybook is added to the project. 
                        			 
                     
 
                     		  
                    
                  		
               
 
               	 
              
            	 
            
               Add a break point
 
               		 
               		
               The program sends output to the console, and you want the application to pause at a point where you can see the output. 
                  		
               
 
               		
                
                  		  
                  - In the COBOL Editor, scroll down to the following statement: 
                     			 
EXEC SQL DISCONNECT CURRENT END-EXEC
 
                     		    
                  		   
                  		  
                  - Place your cursor on the statement; then press 
                        				F9 to toggle a break point. 
                     		  
                  
  
                  		  
                  - Click 
                     			 Save All (
) to ensure that everything in the project is up to date. 
                     		  
                    
                  		  
                  - Close any open tabs including the COBOL Editor and the OpenESQL Assistant. 
                     		  
                  
  
                  		
               
 
               	 
              
            	 
            
               Build the project
 
               		 
               		
                
                  		  
                  - From the 
                     			 Solution Explorer, right-click the 
                     			 OESQLAsst project, and select 
                     			 Build from the context menu. 
                     		  
                  
  
                  		
               
 
               	 
              
            	 
            
               Debug the application 
 
               		 
               		
                
                  		  
                  - Press 
                        				F5 to start debugging. 
                     			  
                     			 
                     
When execution reaches your breakpoint, Visual Studio places the query output into a console window. 
                        			 
                     
 
                     		  
                    
                  		   
                  		  
                  - If the console is not visible, minimize 
                     			 the Visual Studio IDE. You should see the console output. 
                     		  
                  
  
                  		  
                  - Press 
                        				F5 again to complete the debugging process. 
                     		  
                  
  
                  		
               
 
               	 
              
            	 
            This concludes the tutorial.