Share to: share facebook share twitter share wa share telegram print page

Execute Channel Program

In IBM mainframe operating systems, Execute Channel Program (EXCP) is a macro generating a system call, implemented as a Supervisor Call instruction, for low-level device access, where the programmer is responsible for providing a channel program—a list of device-specific commands (CCWs)—to be executed by I/O channels, control units and devices.[1][2] EXCP for OS/360 and successors[3][4] is more specifically described in the OS System Programmer's Guide.;[5] EXCP for DOS/360 and successors[6] is more specifically described in DOS Supervisor and I/O Macros.[7][8] This article mostly reflects OS/360 through z/OS; some details are different for TOS/360 and DOS/360 through z/VSE.

Specifying datasets

Using EXCP, legacy devices and legacy datasets may be operated on with relatively high performance. EXCP devices are OPENed (that is, are made available to the application) by specifying the Data Control Block (DCB) for OS and the DTFPH for DOS.

Specifying I/O operations

For OS/360 through z/OS, the program provides an Input/Output Block (IOB) to EXCP; if the program executes an EXCP to multiple IOBs, the system processes them in the order that they were requested. For DASD the IOB includes a seek address, IOBSEEK, in the format MBBCCHHR, where M is the extent, BB is the bin for a data cell, CCHH is the cylinder and head, and R is the record number.

Appendages

"An appendage is a programmer-written routine that provides additional control over I/O operations during channel program execution."[9] A comprehensive list of appendages[10] (exits in the EXCP context) allows authorized programs[a] to override or augment many of the system security and data integrity checks. Most of these appendages are supported for compatibility with earlier instances of the OS, but the functions of several have been modified or extended for MVS. The appendages are specified in the DCB as the last two characters of the module name IGG019xx, where xx = WA to Z9, inclusive. These module names are reserved for installation-written appendages. Any other name of the form IGG019xx is reserved for use by IBM access methods.[12] Appendages must reside in SYS1.SVCLIB (SYS1.LPALIB in SVS or later instances of the OS).

Dataset integrity

Normally, when a program OPENs a DCB for EXCP, OPEN creates a Data Extent Block (DEB) containing each extent for the first volume of the associated dataset; however, for parallel mount OPEN creates a DEB containing all extents for all volumes. Each DEB is forward- and backward-chained to the DCB, and EXCP checks the chaining as a system security measure, as the DCB resides in unprotected user storage whereas the DEB resides in protected system storage, Subpool 253; in OS/VS1 and OS/VS2 EXCP uses DEBCHK to ensure that the DEB was created by OPEN. For DASD, EXCP checks that the seek address in the IOB is within one of the extents, and uses a Set File Mask to, e.g. indicate whether the extent is cylinder or track oriented, whether write is permitted; this prevents a seek out of the specified track (cylinder). If the programmer tries to read past the end of the track (cylinder), a unit check occurs and error recovery restarts the channel program with the next track (cylinder) of the current extent. If the operation goes beyond the end of the extent, EXCP calls the end of extent appendage, which may update the IOB and request either that EXCP reissue the request or that EXCP terminate it.

Legacy datasets only

EXCP is sometimes confused with a direct access storage device access method, but it is not for direct access storage devices exclusively; rather, it is a general purpose low-level device access interface which supports any legacy device type and any legacy dataset organization. For accessing all device types and all dataset organizations, the more general Start Input/Output interface (STARTIO) is available in MVS/370 and subsequent instances of the OS although it is not an officially supported interface.

Simplified operations on direct access datasets

A variation of EXCP is Execute Direct Access Program (XDAP), which is used for accessing direct access storage only, and is provided for reading and updating existing direct access storage records. XDAP cannot be used to add records, but XDAP can be utilized along with BSAM or BPAM to effect record additions to such datasets, and several OS components utilize XDAP in this manner (the Linkage Editor, IEWL, in particular).

Telecommunications device access

EXCP may also be used to access communications devices attached to IBM 2701, 2702 and 2703 communications controllers and IBM 370x or Amdahl 470x front-end processors (and their respective follow-ons) operating in emulator mode (EP) or partitioned emulator mode (PEP).

Relationship to supervisor

EXCP's front-end is always in Task Control Block (TCB) mode, The normal mode for applications,[13] as EXCP is a Type 1 SVC.

In MVS/370 and subsequent instances of the OS, the EXCP processor invokes STARTIO to schedule execution of the channel program. Although the EXCP processor's back-end is always in Service Request Block[b] (SRB) mode,[13] the back-end contains emulation code which allows the appendages developed for earlier, pre-MVS instances of the OS, specifically for EXCP, to function largely as before and thereby to appear to be in TCB mode, for which these appendages were originally designed. This distinction can complicate conversion of certain roll-your-own access methods and applications to MVS.

Channel programs

System/360 channel programs are a sequence of commands which are executed by the channel and the I/O device. Channel programs can be located anywhere in main storage. The channel program is a sequence of Channel Command Words (CCWs), which may be executed sequentially unless a branch, called Transfer In Channel (TIC), is executed, or the channel returns a status modifier. Each CCW is a doubleword (eight bytes) as follows:[14]

 bit     0      7 8                    31                                                  
        +--------+-----------------------+
        |Command | Data address          |
        +--------+-----------------------+
         32  36     40    47 48        63
        +------+---+--------+------------+
        |Flags |000|reserved| count      |
        +------+---+--------+------------+

Six commands are defined, in the low-order bits of the command field (0-7). The high-order four (or six) bits are ''modifiers'' ('M') for some commands, or are ignored. The commands are:
  0100 - Sense
  1000 - Transfer in Channel (TIC)
  1100 - Read backward
  --01 - Write
  --10 - Read
  --11 - Control

The data address (8-31) is the 24-bit address of a main storage buffer area to or from which the data is to be transferred.

The flag bits (32-36) are defined as follows:

Bit ID Name Description
32 CD Chain data Use the storage area specified in the next CCW to continue this command
33 CC Chain command Execute the next sequential CCW when this command completes
if CC or CD are not set, the channel program terminates after executing this command
34 SLI Suppress length indication Ignore incorrect length for this command
35 SKIP Skip Suppress data transfer for this command
36 PCI Program controlled interruption Generate an interrupt when this command starts executing

The count field (48-63) indicate the number of bytes to be transferred by this command.

All eight bits of commands that initiate I/O operations are passed to the device. "The modifier bits specify to the device how the command is to be executed." For example, for the IBM 2305 DASD the write command ('MMMMMM01'BX) may have the following values:[15]

Bit value Hexadecimal Description
0001 1001 '19'X Write home address
0001 0101 '15'X Write record 0
0001 0001 '11'X Erase
0001 1101 '1D'X Write count, key, and data
0000 0001 '01'X Write special count, key, and data
0000 0101 '05'X Write data
0000 1101 '0D'X Write key and data

Notes

  1. ^ There are several type of authorization for the use of appendages:
    • A program that is APF authorized, running in a system (0-7) key or in Supervisor Mode may use any appendage.
    • A program may use any appendage that is automatically selected by OPEN for the use of an access method.
    • A program may use any appendage that is defined at IPL time in IEAAPP00.[11]
  2. ^ In OS/360, OS/VS1 and SVS there is no SRB mode and appendages run with interrupts disabled.

References

DFSMSdfp
z/OS Version 2 Release 4 DFSMSdfp Advanced Services. IBM. August 2020. SC23-6861-40.
  1. ^ Reino Hannula (1974). Computers and Programming: A System/360-370 Assembler Language Approach. Houghton Mifflin. p. 431. ISBN 978-0-395-16796-0.
  2. ^ Gopal K. Kapur (1 January 1970). IBM 360 Assembler Language Programming. John Wiley & Sons. pp. 453–454, 456–459, 461. ISBN 978-0-471-45840-1.
  3. ^ Robert H. Johnson (June 1989). MVS: concepts and facilities. Intertext Publications. p. 558. ISBN 978-0-07-032673-6.
  4. ^ "Chapter 4. Executing Your Own Channel Programs" (PDF). z/OS Version 2 Release 4 DFSMSdfp Advanced Services (PDF). IBM. August 2020. pp. 151–210. SC23-6861-40.
  5. ^ IBM System/360 Operating System System Programmer's Guide (PDF). IBM. March 1967. C28-6550-2.
  6. ^ Gary A. Stotts (1 August 1990). DOS/VSE: Introduction to the Operating System. QED Information Sciences. p. 18. ISBN 978-0-89435-332-1.
  7. ^ DOS Supervisor and I/O Macros (PDF). IBM. GC24-S037-12.
  8. ^ IBM z/VSE Version 6 Release 1 System Macros User's Guide (PDF). IBM. 2015. SC34-2709-00.
  9. ^ "Appendages" (PDF). OS Data Management for System Programmers - Release 21 (PDF). IBM Systems Reference Library (Twelfth ed.). IBM Corporation. April 1973. p. 46. GC28-6550-ll. Retrieved June 28, 2022.
  10. ^ DFSMSdfp, pp. 199–200, EXCP and EXCPVR Appendages.
  11. ^ DFSMSdfp, The Authorized Appendage List (IEAAPP00), pp=201-202.
  12. ^ IGG = I/O Support component prefix; 019 = Open SVC sub-component; xx = sub-function
  13. ^ a b Software AG. "Natural zIIP Processing: TCBs, SRBs and Enclaves". Retrieved Mar 22, 2021.
  14. ^ IBM Corporation (January 1967). IBM System/360 Principles of Operation (PDF). pp. 84–121. Retrieved Dec 4, 2019.
  15. ^ IBM Corporation (August 1971). Reference Manual for IBM 2835 Storage Control and IBM 2305 Fixed Head Storage Module (PDF). p. 17. Retrieved Dec 5, 2019.

Read other articles:

Traditional straw hat from the Philippines A buntal hat from Baliwag A wide-brimmed woman's baliwag hat from Baliwag The buntal hat is a traditional straw hat from the Philippines woven from fibers extracted from the petioles of buri palm leaves. It is traditionally worn by farmers working in the fields and was a major export of the Philippines in the first half of the 20th century. It can also be paired with semi-formal barong tagalog as well as informal attire. Its main centers of production a…

Malta and YugoslaviaBilateral relationsMalta-Yugoslavia relations Malta Yugoslavia Cold War division of Europe before the independence of Cyprus and Malta. Maltese immigrants land in Sydney from the Yugoslav SS Partizanka, 1948 Malta–Yugoslavia relations were historical foreign relations between Malta and now split-up Socialist Federal Republic of Yugoslavia. Together with Cyprus, both countries belonged to the small group of European and Mediterranean member states of the Non-Aligned Movement…

У Вікіпедії є статті про інші географічні об’єкти з назвою Берлінгтон. Місто Берлінгтонангл. Burlington Координати 40°04′42″ пн. ш. 74°51′09″ зх. д. / 40.07840000002777714° пн. ш. 74.852500000027788474° зх. д. / 40.07840000002777714; -74.852500000027788474Координати: 40°04′42″ пн. ш. 74°51′0…

American actress (born 1961) Bonita FriedericyFriedericy in 2010BornBonita Anne Friedericy (1961-10-10) October 10, 1961 (age 62)Charlottesville, Virginia, USOccupationActressYears active1997–presentSpouseJohn Billingsley Bonita Anne Friedericy (born October 10, 1961) is an American actress, best known for her role as Diane Beckman in the television series Chuck. Her husband is actor John Billingsley. Early life Friedericy was born in Charlottesville, Virginia, was raised in Palos Ve…

This article is about the city. For other uses, see Arusha (disambiguation). City of Arusha Region in TanzaniaArusha Jiji la Arusha (Swahili)City of Arusha RegionHalmashauri ya Jiji la ArushaArusha City in 2021 FlagNicknames: Arachuga ,Geneva of Africa, City of AgreementsMotto: Jiji la MakubalianoArushaLocation of Arusha CityCoordinates: 03°22′S 36°41′E / 3.367°S 36.683°E / -3.367; 36.683CountryTanzaniaRegionArusha RegionCityArusha City CouncilIncor…

ISCA2 Ідентифікатори Символи ISCA2, HBLD1, ISA2, c14_5557, MMDS4, iron-sulfur cluster assembly 2 Зовнішні ІД OMIM: 615317 MGI: 1921566 HomoloGene: 14260 GeneCards: ISCA2 Пов'язані генетичні захворювання multiple mitochondrial dysfunctions syndrome 4[1] Онтологія гена Молекулярна функція • 4 iron, 4 sulfur cluster binding• iron-sulfur cluster binding• GO:0001948, GO:0016582 protein binding• …

Bahía San Julián Puerto San Julián Categoría UICN IV (área de gestiónde hábitat/especies) Vista de la bahía San JuliánSituaciónPaís ArgentinaProvincia Santa CruzDepartamento MagallanesCiudad cercana Puerto San JuliánCoordenadas 49°20′00″S 67°45′00″O / -49.333333333333, -67.75Datos generalesAdministración Consejo Agrario ProvincialLegislación Disposición 15/90 Bahía San Julián Ubicación en Provincia de Santa Cruz.[editar datos en Wikidata]…

Hari Pasukan Perdamaian Perserikatan Bangsa-Bangsa InternasionalBlue Helmet PBB terkenalDirayakan olehPersonel dan internasional PBBMaknaMemperingati pengorbanan yang dilakukan oleh personel pada misi penjaga perdamaian PBB.PerayaanPresentasi Dag Hammarskjöld MedalTanggal29 Mei Hari Pasukan Perdamaian Perserikatan Bangsa-Bangsa Internasional, 29 Mei adalah hari untuk membayar penghargaan semua pria dan wanita yang telah melayani dan terus melayani dalam operasi penjaga perdamaian PBB untuk ting…

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Offsiders – news · newspapers · books · scholar · JSTOR (January 2017) (Learn how and when to remove this template message) Australian TV series or program OffsidersA previous Offsiders title cardGenreSportsPresented byKelli UnderwoodCountry of originAustrali…

Buildings by Ludwig Mies van der Rohe Lange and Esters HousesHaus Lange Haus EstersHouse Lange and House Ester viewed from the streetGeneral informationTypeVillaArchitectural styleModernistLocationKrefeld, GermanyCoordinates51°20′49.26″N 6°34′57.29″E / 51.3470167°N 6.5825806°E / 51.3470167; 6.5825806Current tenantsKunstmuseen KrefeldConstruction started1928 (1928)Completed1930 (1930)Design and constructionArchitect(s)Ludwig Mies van der RoheReference…

Progression des records d'Europe de natation messieurs Nage libre 50 m 100 m 200 m 400 m 800 m 1500 m Dos 50 m 100 m 200 m Brasse 50 m 100 m 200 m Papillon 50 m 100 m 200 m 4 nages 100 m 200 m 400 m Relais 4 × 50 m NL 4 × 100 m NL 4 × 200 m NL 4 × 50 m 4 nages 4 × 100 m 4 nages Bassin de 50 mètres Temps Athlète Naissance Âge Nationalité Compétition Lieu Date 4 min 28 s 89 Andras Hargitay Hongrie Championnats d'Europe Vienne 20 août 1974 4 min 26 s 00 Zoltan Verraszto Hongrie Long Beac…

Handiwirman SaputraBerkas:Handiwirman-Saputra.jpgLahir24 Januari 1975 (umur 48)Bukittinggi, Sumatera BaratKebangsaanIndonesiaAlmamaterInstitut Seni Indonesia, YogyakartaPekerjaanPerupa Handiwirman Saputra (lahir 24 Januari 1975) adalah seorang perupa kontemporer Indonesia.[1] Ia bersama empat orang rekannya, yaitu Jumaldi Alfi, Rudi Mantofani, Yunizar, dan Yusra Martunus, tergabung dalam Kelompok Seni Rupa Jendela (KSR Jendela) yang lahir dan berbasis di kota Yogyakarta, DIY.[2&…

Amazon Original sports docuseries All or Nothing: ArsenalCover of the docuseriesGenreSports documentaryStarringArsenal Football ClubNarrated byDaniel KaluuyaNo. of seasons1No. of episodes8ProductionExecutive producersMark RaphaelClare CameronJohn DouglasProduction locationsLondon, EnglandRunning time36–53 minutesProduction company72 FilmsOriginal releaseNetworkAmazon Prime VideoRelease4 August (2022-08-04) –18 August 2022 (2022-08-18) All or Nothing: Arsenal is an Amazon Origi…

Palestinian attack against Israeli targets in West Bank Wadi al-Haramiya sniper attackPart of the Second IntifadaLocationWadi al-Haramiya checkpoint near Ofra, West Bank, occupied Palestinian territoryCoordinates31°59′31″N 35°14′58″E / 31.9919°N 35.2495°E / 31.9919; 35.2495DateMarch 3, 2002TargetIsrael Defense ForcesWeaponsM1 GarandDeaths10[a]Injured6PerpetratorTha'ir Kayid Hammad of the al-Aqsa Martyrs BrigadesMotiveOpposition to Israeli settlements b…

1975 murders in Tehran, Iran Ettela'at newspaper covering assassination of U.S. Air Force Lieutenant Colonel Jack H. Turner and Colonel Paul R. Shaffer Colonel Paul R. Shaffer (1930–1975) was a United States military aide to Iran who served as an air force pilot in both Korea and Vietnam.[1][2] In 1975, he was assassinated along with Lieutenant Colonel Jack H. Turner. Vahid Afrakhteh, a founding member of Peykar, confessed to the killing and later was executed.[3][4…

Uranium enrichment facility in Iran Part of a series on theNuclear program of Iran Timeline Facilities Arak Bushehr Darkhovin Fordow Natanz Isfahan Nuclear Technology/Research Center Karun atomic energy site Organizations Atomic Energy Organization of Iran Oghab 2 International Atomic Energy Agency P5+1 International agreements Non-Proliferation Treaty Additional Protocol 2013 interim agreement, Geneva 2015 prelim agreement, Lausanne 2015 final agreement, Vienna Reactions Aftermath Negotiations …

This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Zero Hour: Crisis in Time! – news · newspapers · books · scholar · JSTOR (April 2020) (Learn how and when to r…

Sporting event delegationChina at the1986 Asian GamesIOC codeCHNNOCChinese Olympic Committeeexternal link (in Chinese and English)in SeoulMedalsRanked 1st Gold 94 Silver 82 Bronze 46 Total 222 Asian Games appearances (overview)1974197819821986199019941998200220062010201420182022 China competed in the 1986 Asian Games which were held in Seoul, South Korea from September 20, 1986 to October 5, 1986.[1][2] China, together with Japan and South Korea became the first three countries i…

List of events ← 1935 1934 1933 1932 1931 1936 in Ireland → 1937 1938 1939 1940 1941 Centuries: 18th 19th 20th 21st Decades: 1910s 1920s 1930s 1940s 1950s See also:1936 in Northern IrelandOther events of 1936List of years in Ireland Events from the year 1936 in Ireland. Incumbents Governor-General: Domhnall Ua Buachalla (until 11 December) President of the Executive Council: Éamon de Valera (FF) Events 9 February – Brian de Valera, third son of Éamon de Valera, dies in a riding a…

Mexican politician Óscar Cantón ZetinaBorn (1953-08-01) 1 August 1953 (age 70)Centro, Tabasco, MexicoNationalityMexicanAlma materNational Autonomous University of MexicoOccupationPoliticianPolitical party PRI (1975–2006) PRD (2006–present) Óscar Cantón Zetina (born 1 August 1953) is a Mexican politician affiliated with the Party of the Democratic Revolution (previously to the Institutional Revolutionary Party). As of 2014 he served as Senator of the LIV, LV, LVIII and LIX …

Kembali kehalaman sebelumnya

Lokasi Pengunjung: 18.217.8.171