| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| misi01 Advanced
 
 
 Joined: 02 Dec 2002
 Posts: 629
 Topics: 176
 Location: Stockholm, Sweden
 
 | 
			
				|  Posted: Wed Aug 03, 2011 1:40 am    Post subject: Viewing RDW in variable length file |   |  
				| 
 |  
				| I'm sure there's a way of browsing/viewing (whatever) a variable length file so you can actually see the RDW (alebit you'll need to set hex on). 
 For the life of me, I can't remember. Anyone out there with a better memory than mine ?
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| semigeezer Supermod
 
 
 Joined: 03 Jan 2003
 Posts: 1014
 Topics: 13
 Location: Atlantis
 
 | 
			
				|  Posted: Fri Aug 05, 2011 12:12 am    Post subject: |   |  
				| 
 |  
				| it isn't in base ISPF.  maybe file manager or other editor.  W/ base ISPF you'd have to copy the file to a fixed block file in some special way (SORT?) and browse that. 
 If you just want to figure out the length, set hex on on BROWSE or use ISRSETLN in edit/view.  (From memory - didn't try that)
 _________________
 New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| papadi Supermod
 
 
 Joined: 20 Oct 2009
 Posts: 594
 Topics: 1
 
 
 | 
			
				|  Posted: Fri Aug 05, 2011 3:22 am    Post subject: |   |  
				| 
 |  
				| If you hex-dump some of the blocks (not the logical records), you can see the bdw and rwd fields as they are simkply part of the data. DITTO has been around for a long, long time and still works quite well  _________________
 All the best,
 
 di
 
 Last edited by papadi on Sat Aug 06, 2011 4:39 pm; edited 1 time in total
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| misi01 Advanced
 
 
 Joined: 02 Dec 2002
 Posts: 629
 Topics: 176
 Location: Stockholm, Sweden
 
 | 
			
				|  Posted: Sat Aug 06, 2011 1:39 am    Post subject: To both of you |   |  
				| 
 |  
				| Semigeezer - tried the ISRSETLN, but all that seems to do is to change the length of each record (granted, it did show the current length of the record, but since I'd never heard of the command, that wasn't the one I was looking for). 
 Papadi. I'm sure you can, but I could swear I've edited/browsed/viewed/used some option in ISPF that showed me the record lengths as hex characters
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| papadi Supermod
 
 
 Joined: 20 Oct 2009
 Posts: 594
 Topics: 1
 
 
 | 
			
				|  Posted: Sat Aug 06, 2011 4:41 pm    Post subject: |   |  
				| 
 |  
				| I'm away from any mainframe connecton just now, but if you can find something that will browse physical records rather than logical records you should see the bdw/rdw values. 
 I believe some of the add-on tools provide this (maybe file-aid, or file manager, etc). I just don't remember. . .
  _________________
 All the best,
 
 di
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |