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 for, reasons, introducing, access and/or methods:
“There may be other reasons for a mans not speaking in publick than want of resolution: he may have nothing to say.”
—Samuel Johnson (17091784)
“... But if you shrink from being scared,
What would you say to war if it should come?
Thats what for reasons I should like to know
If you can comfort me by any answer.
Oh, but wars not for children its for men.”
—Robert Frost (18741963)
“The man who thrusts his manners upon me does as if he were to insist on introducing me to his cabinet of curiosities, when I wished to see himself.”
—Henry David Thoreau (18171862)
“In the greatest confusion there is still an open channel to the soul. It may be difficult to find because by midlife it is overgrown, and some of the wildest thickets that surround it grow out of what we describe as our education. But the channel is always there, and it is our business to keep it open, to have access to the deepest part of ourselves.”
—Saul Bellow (b. 1915)
“The methods by which a trade union can alone act, are necessarily destructive; its organization is necessarily tyrannical.”
—Henry George (18391897)