Reasons For Introducing Access Methods
Without access methods, a programmer must write a special program for an I/O channel, a processor dedicated to control peripheral storage device access and data transfer to and from main memory. These channel programs are composed of special instructions, called channel command words (CCWs). Programming those is a complex task requiring detailed knowledge of the hardware characteristics. Channel programs are initiated by a STARTIO macro issued by the operating system. This is usually front ended by the Execute Channel Program (EXCP) macro for application programmer convenience. This macro issues an SVC (supervisor call instruction) that directs the operating system to issue the STARTIO on the application's behalf.
Access methods provide:
- Ease of programming - programmer would no longer deal with a specific device procedures, including error detection and recovery tactics in each and every program. A program designed to process a sequence of 80-character records would work no matter where the data are stored.
- Ease of hardware replacement - programmer would no longer alter a program when data should be migrated to newer model of storage device, provided it supports the same access methods.
- Ease shared data set access - an access method is a trusted program, that allows multiple programs to access the same file, while ensuring the basic data integrity and system security.
Read more about this topic: Access Method
Famous quotes containing the words reasons, introducing, access and/or methods:
“Metaphysics is the finding of bad reasons for what we believe upon instinct; but to find these reasons is no less an instinct.”
—F.H. (Francis Herbert)
“The beginners well-known propensity for obtruding upon his own privacy, by introducing himself, or a vicar, into his first novel, owes less to the attraction of a ready theme than to the relief of getting rid of oneself, before going on to better things.”
—Vladimir Nabokov (18991977)
“Lesbian existence comprises both the breaking of a taboo and the rejection of a compulsory way of life. It is also a direct or indirect attack on the male right of access to women.”
—Adrienne Rich (b. 1929)
“Commerce is unexpectedly confident and serene, alert, adventurous, and unwearied. It is very natural in its methods withal, far more so than many fantastic enterprises and sentimental experiments, and hence its singular success.”
—Henry David Thoreau (18171862)