Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Achieving Device Independence z/OS DFSMS Using Data Sets SC23-6855-00 |
|
Device independence is the characteristic of programs that work on any type of device, DASD or tape, for example. Achieving device independence is possible only for a sequential data set because input or output can be on DASD, a magnetic tape drive, a card reader or card punch, a printer, a spooled data set, a TSO/E terminal, or a dummy data set. Other data set organizations (partitioned, direct, and VSAM) are device-dependent because they require the use of DASD. A dummy data set is a DD statement on which the first parameter is DUMMY or you coded the DDNAME= parameter but there is no DD statement by that name. You can use BSAM or QSAM with a dummy data set. A WRITE or PUT macro has no effect. A GET macro or the CHECK macro for the first READ macro causes your EODAD routine to be called. Device independence can be useful for the following tasks:
To make your program device independent, take the following actions:
|
Copyright IBM Corporation 1990, 2014
|