| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| pnbalaji Beginner
 
 
 Joined: 05 Oct 2004
 Posts: 14
 Topics: 8
 Location: Chennai, India
 
 | 
			
				|  Posted: Thu Jan 20, 2005 2:52 pm    Post subject: How to find DB2 qualifier from CICS?.. |   |  
				| 
 |  
				| Hi, 
 Can some one help me in finding the DB2 table qualifiers that a CICS region is accessing?. The command CEMT I DB2E gives only the DB2 sub system the CICS region is connected to, and not the table qualifiers. Is there any way I can find it?.
 
 We have 5 DB2 sub systems and 9 CICS regions at our work place.
 
 Thanks,
 Balaji
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Thu Jan 20, 2005 3:22 pm    Post subject: |   |  
				| 
 |  
				| Pnbalaji, 
 Once you know the DB2 subsystem, run the following query in spufi
 
 
  	  | Code: |  	  | 
 SELECT NAME
 FROM SYSIBM.SYSTABLES
 ;
 
 | 
 
 This gives you a list of all the tables that the cics region can access !
 
 Hope this helps...
 
 Cheers
 
 kolusu
 _________________
 Kolusu
 www.linkedin.com/in/kolusu
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| pnbalaji Beginner
 
 
 Joined: 05 Oct 2004
 Posts: 14
 Topics: 8
 Location: Chennai, India
 
 | 
			
				|  Posted: Thu Jan 20, 2005 5:58 pm    Post subject: |   |  
				| 
 |  
				| Well, I need to get the DB2 qualifier info from CICS, not from SPUFI or any other DB2 command processor under MVS TSO or ISPF. 
 Thanks,
 Balaji.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Maheshwari Beginner
 
 
 Joined: 19 Oct 2004
 Posts: 21
 Topics: 3
 
 
 | 
			
				|  Posted: Tue Feb 22, 2005 9:33 pm    Post subject: |   |  
				| 
 |  
				| Balaji, 
 You can use CEMT INQ DB2T(*) to get the plan name and then inquire on SYSIBM.SYPLAN table to get the Qualifier.
 
 SELECT NAME, QUALIFIER
 FROM SYSIBM.SYPLAN
 WHERE NAME IN ('XXXXXXXX','YYYYYYYY')
 
 where XXXXXXXX and YYYYYYYY are the plan names extracted above.
 
 Hope this helps.
 _________________
 Amit
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |