Jump to content

Data Control Block

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 86.140.202.8 (talk) at 11:07, 18 August 2009 (extend description). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In IBM mainframe operating systems, such as OS/360, MVS, z/OS, a Data Control Block (DCB) is a description of a dataset in a program. A DCB is coded in Assembler programs using the DCB macro instruction (which expands in a large number of "define constant" instructions). High level language programmers use library routines containing DCBs.

A DCB is one of the many control blocks used in these operating systems. A control block is basically a data area with a predefined structure, very similar to a C struct, but typically only related to system's functions. A DCB may be compared to a FILE structure in C, but it is much more complex, offering much more options for various access methods.

The control block acted as the interface between Logical IOCS and the application program.

The equivalent control block for IBM DOS/360,DOS/VSE and z/VSEoperating systems is a "DTF" (Define the file)

See also