| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| HenriqueS Beginner
 
 
 Joined: 01 Feb 2007
 Posts: 29
 Topics: 14
 
 
 | 
			
				|  Posted: Thu Apr 24, 2008 4:33 pm    Post subject: change hex chars on oedit |   |  
				| 
 |  
				| Folks, 
 How can I execute a change command with my editor with HEX ON?
 
 Some non-visible chars need to be changed and I need to locate and changing them according to their hex values.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Nic Clouston Advanced
 
 
 Joined: 01 Feb 2007
 Posts: 1075
 Topics: 7
 Location: At Home
 
 | 
			
				|  Posted: Thu Apr 24, 2008 4:49 pm    Post subject: |   |  
				| 
 |  
				| The same way as you do when HEX is off. Why do you think it should be different? 
 Or, more helpfully, just:
 
 HEX ON
 C x'xx' x'yy'
 
 where xx = 00 - FF and yy= 00 - FF
 
 or if you want to change them manually:
 HEX ON
 f x'xx'
 then edit the data at that point
 
 If you look at help you will find the many ways of finding and changing strings including specifying them as hex strings.
 _________________
 Utility and Program control cards are NOT, repeat NOT, JCL.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| dbzTHEdinosauer Supermod
 
 
 Joined: 20 Oct 2006
 Posts: 1411
 Topics: 26
 Location: germany
 
 | 
			
				|  Posted: Fri Apr 25, 2008 1:33 am    Post subject: |   |  
				| 
 |  
				| you can also do a repeated FIND P'.'           which will look for the non-display types and the short message displayed at the top of the screen will display the hex value that is found.  then you can CHG ALL X'??' X'40'  (or what ever) 
 if all non-displayed are to be changed to spaces, then CHG ALL P'.'  ' '
 _________________
 Dick Brenholtz
 American living in Varel, Germany
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |