The following DOS commands may be entered into a batch file. These commands build and execute example01.int.
|  
                              					 
                               Line  |  
                           				  
                            
                              					 
                               Statement  |  
                           				
                        
|---|---|
|  
                              					 
                               1  |  
                           				  
                           cobol example01.cbl xmlgen(ws) noobj; | 
|  
                              					 
                               2  |  
                           				  
                           start /w run example01 | 
Line 1 compiles the example01.cbl source file and generates an XML-format model file named example01.xml.
Line 2 executes example01.int. On line 2, the start /w sequence is included only as good programming practice.