| Author | 
		  Message
		 | 
		
		  | LuisFer | 
		  
		    
			  
				 Posted: Tue Sep 06, 2005 12:18 pm    Post subject: MS03-Saveqmgr for NSK under Guardian (Tandem) | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 17 Aug 2002 Posts: 302
  
  | 
		  
		    
			  
				Hi all:
 
From the sources for this wonderful tool, i have got a version for NSK (V5.1.3.2) under Guardian Env. (not OSS).
 
The sources have 3 modifications:
 
1.- The <sys/types.h> ==> <systype.h>
 
2.- The <sys/timeb.h> ==> <systime.h>
 
3.- On the process.c source change the line    
 
/*    sprintf( ParmBuffer, "       APPLTYPE(GUARDIAN) +\n" ); */ 
 
       sprintf( ParmBuffer, "       APPLTYPE(NSK     ) +\n" );
 
because with the "APPLTYPE(GUARDIAN)" don't work to re-create a process.
 
I write a Tacl macro to compile/linkedit all the sources in 1 executable.
 
Regards | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | wschutz | 
		  
		    
			  
				 Posted: Tue Sep 06, 2005 3:29 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired) 
  | 
		  
		    
			  
				Good stuff... there doesn't apear to be a way to differentiate NSK from GUARDIAN at compile time.  The usual trick is to check MQAT_DEFAULT, but in cmqc.h we have:
 
#define MQAT_GUARDIAN    13
 
#define MQAT_NSK         13
 
 
Maybe I can fall back to a compile time flag .... 
 
 
   _________________ -wayne | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | LuisFer | 
		  
		    
			  
				 Posted: Tue Sep 06, 2005 9:32 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 17 Aug 2002 Posts: 302
  
  | 
		  
		    
			  
				Thx for the MS0S, Wayne:    
 
Is it possible change the sprintf to NSK in place of GUARDIAN?.
 
The MQAT_GUARDIAN define was for the v2.2 (i suposse).
 
If you want, i can send the Makefile (the TACL macro) , this one differs a lot from the MAKEFILE.NSK in the SP.
 
Regards | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | wschutz | 
		  
		    
			  
				 Posted: Wed Sep 07, 2005 6:56 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired) 
  | 
		  
		    
			  
				
   
	| Quote: | 
   
  
	| Is it possible change the sprintf to NSK in place of GUARDIAN?.  | 
   
 
Yes, of course...
 
   
	| Quote: | 
   
  
	| The MQAT_GUARDIAN define was for the v2.2 (i suposse).  | 
   
 
I don't really know much about this platform, so is "Guardian" no longer in existance?  Is it okay to assume NSK?
 
   
	| Quote: | 
   
  
	If you want, i can send the Makefile (the TACL macro) , this one differs a lot from the MAKEFILE.NSK in the SP. 
 
 | 
   
 
Please do (wschutz@us.ibm.com) , I'd like to include it in the next release. _________________ -wayne | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | LuisFer | 
		  
		    
			  
				 Posted: Wed Sep 07, 2005 9:10 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 17 Aug 2002 Posts: 302
  
  | 
		  
		    
			  
				The MQ_GUARDIAN was for the v2.2 (MQ for Tandem) i suppose that this one was mant. for compatibility propouses.
 
I know 4 installation with MQ for Tandem in Spain and all are at V5.1.
 
Thx a lot for the modification, and i will send the MakeFile traslated to English Lang.
 
Regards | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | hankknowles | 
		  
		    
			  
				 Posted: Wed Sep 07, 2005 9:43 am    Post subject: Nest Release of what?? | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 18 Aug 2003 Posts: 114
  
  | 
		  
		    
			  
				
   
	| wschutz wrote: | 
   
  
	
   
	| Quote: | 
   
  
	| Is it possible change the sprintf to NSK in place of GUARDIAN?.  | 
   
 
Yes, of course...
 
   
	| Quote: | 
   
  
	| The MQAT_GUARDIAN define was for the v2.2 (i suposse).  | 
   
 
I don't really know much about this platform, so is "Guardian" no longer in existance?  Is it okay to assume NSK?
 
   
	| Quote: | 
   
  
	If you want, i can send the Makefile (the TACL macro) , this one differs a lot from the MAKEFILE.NSK in the SP. 
 
 | 
   
 
Please do (wschutz@us.ibm.com) , I'd like to include it in the next release. | 
   
 
 
wschiultz
 
Are you referring to new NSK CSD's or the late V5.3 that we in the NSK - Tandem - Compaq - HP world are awaiting with baited breath.
 
 
Luisfer can you blast me a copy of this stuff to hank-knowles@triad.rr.com
 
Thanks | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | LuisFer | 
		  
		    
			  
				 Posted: Wed Sep 07, 2005 10:13 am    Post subject: Re: Nest Release of what?? | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 17 Aug 2002 Posts: 302
  
  | 
		  
		    
			  
				Of course, i will send you the Macro with the modified source & the executable. 
 
The MQ version that i refer is the V5.1 CSD3 Efix 2. At last September free the Efix 3. 
 
I don't know when will can IBM at GA the V5.3 , i suppose this year.
 
Regards | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |