Dataset Concatenation



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Dataset Concatenation

Postby fornanthakumar » Tue Jan 18, 2011 7:53 am

Hi,

Why should we mention the dataset which has largest block size as first? Any reason...
Regards,
Nanthu.Y.
fornanthakumar
 
Posts: 69
Joined: Fri Oct 22, 2010 1:58 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Dataset Concatenation

Postby steve-myers » Tue Jan 18, 2011 8:04 am

fornanthakumar wrote:...Why should we mention the dataset which has largest block size as first? Any reason...
This was an issue that was lifted long ago. The obvious reason was the BLKSIZE for the first dataset was used for the entire concatenation.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Dataset Concatenation

Postby stevexff » Tue Jan 18, 2011 12:46 pm

Yes. I think it was because the OS (originally) only allocated the buffers once, and it used the block size of the first dataset to determine the size. But it doesn't matter these days.
Steve
stevexff
 
Posts: 56
Joined: Wed Nov 10, 2010 7:48 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Dataset Concatenation

Postby Robert Sample » Tue Jan 18, 2011 4:56 pm

From the JCL Language Reference manual:
12.1.6.5 Block Sizes for Concatenated Data Sets


Concatenated data sets can have different block sizes. In a few cases, the data set with the largest block size must appear first in the concatenation. (Note that you can state a value equal to the largest block size for BLKSIZE on the first DD statement, regardless of what the actual block size of this data set is.) Certain data sets can be concatenated in any order of block size; these are:


Partitioned data sets (PDSs), and partitioned data sets extended (PDSEs) without member names coded on the DD statements.

Sequential data sets that are DASD-resident, tape-resident, or in-stream, and are accessed by QSAM and use system-created buffers.

Sequential data sets that are DASD-resident or in-stream, and are accessed by BSAM.

For these data sets, the BLKSIZE obtained is the largest in the concatenation. Note that this block size can cause invalid attribute combinations when combined with the attributes obtained from the first data set in the concatenation.

If you do not specify a block size, the system can, under certain conditions, determine an optimum block size. For detailed information about system-determined block size, see z/OS DFSMS Using Data Sets.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Dataset Concatenation

Postby fornanthakumar » Wed Jan 26, 2011 5:32 am

Thanks everyone.
Regards,
Nanthu.Y.
fornanthakumar
 
Posts: 69
Joined: Fri Oct 22, 2010 1:58 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post