MVSFORUMS.com A Community of and for MVS Professionals 
				 
		
		
	
		View previous topic  :: View next topic    
	
	
		Author 
		Message 
	 
	
		manoj nayak Banned 
			
				Posted: Thu Jun 07, 2007 8:12 am     Post subject: To copy a file records(5-6 and 12-14) using Sort  
			
				 
			
				My need is that I want to copy records from 5-9 and 12-14 from a single file copy it to a single output file.
  	  Code:  		  
 	 
 
		
 
	
		Back to top  
	
		 
	
		kolusu Site Admin 
			
				Posted: Thu Jun 07, 2007 8:18 am     Post subject:   
			
				 
			
				manoj nayak , 
www.linkedin.com/in/kolusu  
		
 
	
		Back to top  
	
		 
	
		manoj nayak Banned 
			
				Posted: Thu Jun 07, 2007 8:25 am     Post subject:   
			
				 
			
				In both case for the input and output files the LRECL=50 and BLKSIZE=500
  
		
 
	
		Back to top  
	
		 
	
		kolusu Site Admin 
			
				Posted: Thu Jun 07, 2007 8:34 am     Post subject:   
			
				 
			
				manoj nayak , 
 	  Code:  		  
 	 
www.linkedin.com/in/kolusu   
		
 
	
		Back to top  
	
		 
	
		jajularamesh Beginner 
			
				Posted: Thu Jun 07, 2007 9:11 am     Post subject:   
			
				 
			
				Hi kolusu,
  
		
 
	
		Back to top  
	
		 
	
		manoj nayak Banned 
			
				Posted: Thu Jun 07, 2007 9:15 am     Post subject:   
			
				 
			
				I TRIED THIS CODE BUT LITTLE BIT EDITED:
  	  Code:  		  
 	 
  
		
 
	
		Back to top  
	
		 
	
		kolusu Site Admin 
			
				Posted: Thu Jun 07, 2007 9:26 am     Post subject:   
			
				 
			
				
www.linkedin.com/in/kolusu   
		
 
	
		Back to top  
	
		 
	
		kolusu Site Admin 
			
				Posted: Thu Jun 07, 2007 9:28 am     Post subject:   
			
				 
			
				 	  Quote:  		  
 	 
jajularamesh , 
AS IS  and if it still does NOT work then post your sysout instead of 1 line responses " It does not work"www.linkedin.com/in/kolusu   
		
 
	
		Back to top  
	
		 
	
		dbzTHEdinosauer Supermod 
			
				Posted: Thu Jun 07, 2007 9:32 am     Post subject:   
			
				 
			
				I know little or nothing about SORT, but I would copy exactly what someone else had spent time creating for me:
  	  Code:  		  
 	 
  	  Quote:  		  
 	 
  
		
 
	
		Back to top  
	
		 
	
		krisprems Beginner 
			
				Posted: Thu Jun 07, 2007 9:50 am     Post subject:   
			
				 
			
				manoj nayak
  	  Code:  		  
 	 
 
		
 
	
		Back to top  
	
		 
	
		kolusu Site Admin 
			
				Posted: Thu Jun 07, 2007 10:57 am     Post subject:   
			
				 
			
				krisprems , 
www.linkedin.com/in/kolusu  
		
 
	
		Back to top  
	
		 
	
		jajularamesh Beginner 
			
				Posted: Thu Jun 07, 2007 11:17 am     Post subject:   
			
				 
			
				Hi Kolusu,
  
		
 
	
		Back to top  
	
		 
	
		kolusu Site Admin 
			
				Posted: Thu Jun 07, 2007 11:25 am     Post subject:   
			
				 
			
				 	  Quote:  		  
 	 
jajularamesh , 
  	  kolusu wrote:  		  
if it still does NOT work then post your sysout instead of 1 line responses " It does not work" 
 	 
www.linkedin.com/in/kolusu   
		
 
	
		Back to top  
	
		 
	
		jajularamesh Beginner 
			
				Posted: Fri Jun 08, 2007 12:03 am     Post subject:   
			
				 
			
				first of all sorry kolusu
  	  Code:  		  
 	 
  
		
 
	
		Back to top  
	
		 
	
		kolusu Site Admin 
			
				Posted: Fri Jun 08, 2007 3:28 am     Post subject:   
			
				 
			
				 	  Quote:  		  
 	 
jajularamesh , 
http://www.mvsforums.com/helpboards/viewtopic.php?p=41058#41058 
www.linkedin.com/in/kolusu   
		
 
	
		Back to top  
	
		 
	
		
		
		 
	 
	
		 
  
	
You cannot  post new topics in this forumcannot  reply to topics in this forumcannot  edit your posts in this forumcannot  delete your posts in this forumcannot  vote in polls in this forum