Describes how to debug or run a program that calls the Public CASSPOOL API. 
                  	  
               
            
 
            	 
            
               Debug or Run a Program in 
                  		  Enterprise Server
               
 
               		 
               		
               From your 
                  		  Enterprise Developer project 
                  		
               
 
               		
                
                  		  
                  - In 
                     			 Enterprise Developer, create a program using either the 
                     			 Enterprise Server Application template, or the Mainframe Subsystem Application template. 
                     		  
                  
- In the 
                     			 Enterprise Developer project, create and build a program that accesses CASSPOOL. 
                     		  
                  
- In 
                     			 Enterprise Server, create an enterprise server instance to run your program. 
                     		  
                  
- Associate your enterprise server instance with your 
                     			 Enterprise Developer project. 
                     		  
                  
- Debug or run the program in 
                     			 Enterprise Developer. 
                     		  
                  
From 
                  		  Enterprise Server 
                  		
               
 
               		
                
                  		  
                  - In 
                     			 Enterprise Developer, create a project using any appropriate project template. 
                     		  
                  
- In the 
                     			 Enterprise Developer project, create and build a program that accesses CASSPOOL. 
                     		  
                  
- Write JCL to execute the program. 
                     		  
                  
- In 
                     			 Enterprise Server, create an enterprise server instance to run your program. 
                     		  
                  
- In 
                     			 Enterprise Server, execute the JCL. 
                     		  
                  
  
            	 
            
               Debug or Run a Program Outside of Enterprise Server
 
               		 
               		
               If your program was not created with either the 
                  		  Enterprise Server Application template or the Mainframe Subsystem Application template: 
                  		
               
 
               		
                
                  		  
                  - Set the MFSYSCAT environment variable to the path and filename of the catalog data file, which by default is located in your
                     
                     			 Enterprise Developer project directory. For example: 
                     			 set MFSYSCAT=c:\myproject\catalog.dat Note: If you do not set MFSYSCAT, the CASSPOOL API looks in the current directory. 
                        			 
                      
- Create and build the program in 
                     			 Enterprise Developer. 
                     		  
                  
- Execute or debug the program from the project, or from an 
                     			 Enterprise Developer command prompt.