z/OS DFSMS Using Data Sets
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Large Block Interface (LBI)

z/OS DFSMS Using Data Sets
SC23-6855-00

The large block interface (LBI) lets your program handle much larger blocks with BSAM or QSAM. On the current level of the system you can use LBI with BSAM, BPAM, and QSAM for any kind of data set except unit record or a TSO/E terminal. Currently blocks of more than 32 760 bytes are supported only on tape, dummy data sets, and BSAM UNIX files.

You request LBI by coding a BLKSIZE value, even 0, in the DCBE macro or by turning on the DCBEULBI bit before completion of the DCB OPEN exit. Coding BLKSIZE causes the bit to be on. It is best if this bit is on before you issue the OPEN macro. That lets OPEN merge a large block size into the DCBE.

Your DCB OPEN exit can test bit DCBESLBI to learn if the access method supports LBI. If your program did not request unlike attributes processing (by turning on bit DCBOFPPC) before issuing OPEN, then DCBESLBI being on means that all the data sets in the concatenation support LBI. If your program requested unlike attributes processing before OPEN, then DCBESLBI being on each time that the system calls your DCB OPEN exit or JFCBE exit means only that the next data set supports LBI. After the exit, OPEN leaves DCBESLBI on only if DCBEULBI also is on. Your exit routine can change DCBEULBI. Never change DCBESLBI.

Another way to learn if the data set type supports LBI is to issue a DEVTYPE macro with INFO=AMCAP. See z/OS DFSMSdfp Advanced Services. After the DCB OPEN exit, the following items apply when DCBESLBI is on:

BSAM and QSAM do not support reading format-V (variable-length) blocks that are created by the z/VSE operating system if the block length exceeds 32767. You can read them as format-U blocks. z/VSE programs cannot read format-V blocks that are longer than 32767 if the block is created by a z/OS program.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014