| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Arun Beginner
 
  
 Joined: 24 Mar 2003
 Posts: 13
 Topics: 7
 Location: Philadelphia, US.
 
 | 
			
				|  Posted: Tue May 20, 2003 1:11 pm    Post subject: To check the status of Tablespace |   |  
				| 
 |  
				| Hi all, Is there any way i can check the status (Check Pending, Copy Pending etc) of the DB2 table space directly using BMC.
 
 My jobs are abending 'coz some of my tables are in Check/Copy pending status. As of now, i'm just trying to load the table using DSNUTILB,  and the sysout of the job says the status of the table space.
 Instead i want to see directly using BMC, the state of the table space.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Tue May 20, 2003 5:24 pm    Post subject: |   |  
				| 
 |  
				| Arun, 
 Try this JCl
 
 
  	  | Code: |  	  | //STEP0100  EXEC PGM=IKJEFT01
 //SYSTSPRT DD  SYSOUT=*
 //SYSTSIN  DD  *
 DSN SYSTEM(XXXX)
 -DISPLAY DATABASE(DBNAME) SPACENAM(TBSPACE NAME)
 END
 //*
 
 | 
 
 XXXX - Is your DB2 Region Name
 
 The same thing can be achieved via DB2 COMMANDS option 7 under DB2 primary menu(spufi...)
 
 enter the following command and press ENTER
 
 
  	  | Code: |  	  | -DISPLAY DATABASE(DBNAME) SPACENAM(TBSPACE NAME)
 
 | 
 
 
 Hope this helps....
 
 cheers
 
 kolusu
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Arun Beginner
 
  
 Joined: 24 Mar 2003
 Posts: 13
 Topics: 7
 Location: Philadelphia, US.
 
 | 
			
				|  Posted: Wed May 21, 2003 12:32 pm    Post subject: |   |  
				| 
 |  
				| It worked.   Thank You very much
  |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |