| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| yadav2005 Intermediate
 
  
 Joined: 10 Jan 2005
 Posts: 348
 Topics: 144
 
 
 | 
			
				|  Posted: Tue Apr 21, 2009 10:23 am    Post subject: convert compress VSAM file to uncompressed VSAM file |   |  
				| 
 |  
				| I have a compressed VSAM file which I am not able to map to a copybook, is there anyway I can convert compress to get the uncompressed file and then map it to copybook and make changes to the uncompressed file and then compress it back to the original way.And one more condition is before i do this task I want to try out in test as I do not want to
 try with the original file.Please help me in this regard.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Bill Dennis Advanced
 
  
 Joined: 03 Dec 2002
 Posts: 579
 Topics: 1
 Location: Iowa, USA
 
 | 
			
				|  Posted: Tue Apr 21, 2009 10:40 am    Post subject: |   |  
				| 
 |  
				| How did the file get compressed? By software? Hardware? _________________
 Regards,
 Bill Dennis
 
 Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| yadav2005 Intermediate
 
  
 Joined: 10 Jan 2005
 Posts: 348
 Topics: 144
 
 
 | 
			
				|  Posted: Tue Apr 21, 2009 11:01 am    Post subject: |   |  
				| 
 |  
				| Bill, 
 Must be by some utility , I am not aware of compressing and uncompressing techniques also as I am quite new.I really do not understand why we should be compressing and uncompressing and I am quite new to
 this task.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Bill Dennis Advanced
 
  
 Joined: 03 Dec 2002
 Posts: 579
 Topics: 1
 Location: Iowa, USA
 
 | 
			
				|  Posted: Tue Apr 21, 2009 3:47 pm    Post subject: |   |  
				| 
 |  
				| Without knowing how the file was compressed you will not get much help. 
 Usually compression is done to reduce space used.  System software (DFSMS) can compress files when stored but the data uncompresses when read. It is transparent to you.
 _________________
 Regards,
 Bill Dennis
 
 Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| expat Intermediate
 
  
 Joined: 01 Mar 2007
 Posts: 475
 Topics: 9
 Location: Welsh Wales
 
 | 
			
				|  Posted: Wed Apr 22, 2009 12:54 am    Post subject: |   |  
				| 
 |  
				| As Bill has said, when read the data should be decompressed by the software that had originally compressed it. 
 Try using REPRO to a flat file and take a look at the output.
 _________________
 If it's true that we are here to help others,
 then what exactly are the others here for ?
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |