GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 105 of 128    Print  
Can we concatenate two Datasets having different LRECL? If yes, then how?

  
Total Answers and Comments: 4 Last Update: April 15, 2009     Asked by: Abhishek 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: mainframeguru11
 

THE RULE FOR CONCATANATION IS

1. LRECL and RECORD FORMAT SHOULD BE SAME
2. IF THE BLOCK SIZE IS DIFFERENT THEN LARGEST BLOCK SIZE DATASET SHOULD BE IN THE FIRST DSN NAME
3. DATASET MAY RESIDE IN DIFFERENT DEVICE AND VOLUMES.



Above answer was rated as good by the following members:
serken
December 14, 2007 10:51:00   #1  
The Master Member Since: December 2007   Contribution: 1    

RE: Can we concatenate two Datasets having different LRECL? If yes, then how?
Yes as long as the dataset with largest block size appears first.
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
April 18, 2008 04:57:05   #2  
Mazhar9 Member Since: December 2007   Contribution: 7    

RE: Can we concatenate two Datasets having different LRECL? If yes, then how?
Abhishek

Let us say one file is having LRECL 20 and other one is having 80.. then Change the lowest LRECL 20 file format to 80 using 3.3 copy option then merge two files using sort.

ThnQ
Mazhar

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
June 10, 2008 11:28:47   #3  
mainframeguru11 Member Since: June 2008   Contribution: 1    

RE: Can we concatenate two Datasets having different LRECL? If yes, then how?

THE RULE FOR CONCATANATION IS

1. LRECL and RECORD FORMAT SHOULD BE SAME
2. IF THE BLOCK SIZE IS DIFFERENT THEN LARGEST BLOCK SIZE DATASET SHOULD BE IN THE FIRST DSN NAME
3. DATASET MAY RESIDE IN DIFFERENT DEVICE AND VOLUMES.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
April 15, 2009 18:47:33   #4  
dhs01 Member Since: April 2009   Contribution: 24    

RE: Can we concatenate two Datasets having different LRECL? If yes, then how?
The largest first rule is one that has not been applicable for awhile. At one time this was necessary because of buffer allocations. This is no longer required.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape