| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Pknair Beginner
 
 
 Joined: 29 Nov 2005
 Posts: 26
 Topics: 9
 
 
 | 
			
				|  Posted: Thu Jul 27, 2006 11:36 am    Post subject: BPXWUNIX call from Cobol |   |  
				| 
 |  
				| I have a requirement to do a BPXWUNIX call from a cobol stored procedure. I have coded it in REXX and it works perfectly fine. Since our WLM job does not contain a SYSEXEC DD I am unable to call the rexx to execute this. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Thu Jul 27, 2006 12:05 pm    Post subject: |   |  
				| 
 |  
				| Pknair, 
 Isn't it simple to add your PDS containing your rexx procedures to the SYSEXEC concatenation for the WLM address space startup procedure??
 
 Kolusu
 _________________
 Kolusu
 www.linkedin.com/in/kolusu
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Pknair Beginner
 
 
 Joined: 29 Nov 2005
 Posts: 26
 Topics: 9
 
 
 | 
			
				|  Posted: Thu Jul 27, 2006 12:51 pm    Post subject: |   |  
				| 
 |  
				| You are right Kolusu it was as simple as that but unfortunately our DB2 admins does not want to do that and I am not aware of any reason which is why I came up with this idea. Do you have any other way. I tried allocating SYSEXEC using BPXWDYN but it is failing with a weird reason code(RC 294967274). |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |