| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| kingo Intermediate
 
 
 Joined: 01 Sep 2006
 Posts: 167
 Topics: 40
 Location: chennai
 
 | 
			
				|  Posted: Sat May 17, 2008 1:29 am    Post subject: VSAM extents |   |  
				| 
 |  
				| Hi, 
 How to calculated the used extents size of vsam file in REXX ?
 
 Regds,
 Kingo
 _________________
 IF YOU ARE NOT FOCUSSED ON  GOAL ALL YOU SEE IS OBSTACLE.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| dbzTHEdinosauer Supermod
 
 
 Joined: 20 Oct 2006
 Posts: 1411
 Topics: 26
 Location: germany
 
 | 
			
				|  Posted: Sat May 17, 2008 3:09 am    Post subject: |   |  
				| 
 |  
				| I'd try to outtrap an idcams on the vsam, and then parse that data.  at worse, you need to add a few columns. 
 i would search these sites for 'outtrap'  (i am not sure if I spelled it right.)  avecedo often comments on these type of posts so do a search on him.
 _________________
 Dick Brenholtz
 American living in Varel, Germany
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kingo Intermediate
 
 
 Joined: 01 Sep 2006
 Posts: 167
 Topics: 40
 Location: chennai
 
 | 
			
				|  Posted: Sat May 17, 2008 4:52 am    Post subject: |   |  
				| 
 |  
				| Thanks Dino. I knew how to find the used extents for a normal file but I guess  I need to make some small change for vsam.What would that be ?
 
 Regds,
 Kingo
 _________________
 IF YOU ARE NOT FOCUSSED ON  GOAL ALL YOU SEE IS OBSTACLE.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Nic Clouston Advanced
 
 
 Joined: 01 Feb 2007
 Posts: 1075
 Topics: 7
 Location: At Home
 
 | 
			
				|  Posted: Sun May 18, 2008 6:19 am    Post subject: |   |  
				| 
 |  
				| The way I would do it is just do the IDCAMS query against the file then look at the output and then work out what I need to do to process it by a program. _________________
 Utility and Program control cards are NOT, repeat NOT, JCL.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| expat Intermediate
 
  
 Joined: 01 Mar 2007
 Posts: 475
 Topics: 9
 Location: Welsh Wales
 
 | 
			
				|  Posted: Sat May 24, 2008 5:58 am    Post subject: |   |  
				| 
 |  
				| DCOLLECT is a good source of information for this. _________________
 If it's true that we are here to help others,
 then what exactly are the others here for ?
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |