Generates the IL for a program with a main program entry point or for a library without one. 
                  	  
               
            
 
            	 
             
               		
               Restriction:  This directive is supported for 
                  		  .NET COBOL only. 
                  		
               
 
               	 
              
            	 
            
               Syntax:
 
               		 
               		>>------.--ILGEN-.-MAIN--.-----><
        |        +-SUB---+
        +--NOILGEN-------+ 
 
               	   
            	 
            
               Parameters:
 
               		 
               		
                
                  		   
                  			 
                  - MAIN 
                     			 
                  
- Indicates that a program with a main entry point is being compiled 
                     			 
                  
- SUB 
                     			 
                  
- Indicates that a library is being compiled, which doesn't require a main program entry point 
                     			 
                  
  
            	 
            
               Properties:
 
               		 
               		
                
                  		
                  
                      
                        			  
                        			  
                        			 
                         
                           				
                            
                              				  
                              | Default: | ILGEN"MAIN" | 
 
                           				
                            
                              				  
                              | IDE equivalent: | Click 
                                    						Project> 
                                    						Properties> 
                                    						Application and then fill in Output Type. | 
 
                           			 
                         
                        		  
                     
                    
                  		
                 
               	 
              
            	 
            
               Dependencies:
 
               		 
               		
               ILGEN sets DOTNET. 
                  		
               
 
               	 
              
            	 
             
            
           
         
         
Comments:
This directive is always used when you build a project from the IDE. If a program doesn't require a main program entry point, use the SUB parameter.
This directive is comparable to the ILMAIN directive: ILGEN"SUB" is equivalent to NOILMAIN.
This directive is not allowed in the $SET statement. You must specify ILGEN on the command line.