https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Basic_direct_access_method Basic direct access method - Revision history 2025-06-08T12:37:55Z Revision history for this page on the wiki MediaWiki 1.45.0-wmf.4 https://en.wikipedia.org/w/index.php?title=Basic_direct_access_method&diff=1177471530&oldid=prev InternetArchiveBot: Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.5 2023-09-27T18:26:38Z <p>Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.5</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:26, 27 September 2023</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 47:</td> <td colspan="2" class="diff-lineno">Line 47:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==External links==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==External links==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* {{cite manual|publisher=IBM|title=Introduction to IBM Direct-Access Storage Devices and Organization Methods|id=GC20-1649-9|date=February 1974|url=http://www.bitsavers.org/pdf/ibm/dasd/GC20-1649-9_DASDintro_Dec75.pdf}}</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* {{cite manual|publisher=IBM|title=Introduction to IBM Direct-Access Storage Devices and Organization Methods|id=GC20-1649-9|date=February 1974|url=http://www.bitsavers.org/pdf/ibm/dasd/GC20-1649-9_DASDintro_Dec75.pdf<ins style="font-weight: bold; text-decoration: none;">|access-date=2012-09-24|archive-date=2011-03-22|archive-url=https://web.archive.org/web/20110322195353/http://www.bitsavers.org/pdf/ibm/dasd/GC20-1649-9_DASDintro_Dec75.pdf|url-status=dead</ins>}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Mainframe I/O access methods}}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Mainframe I/O access methods}}</div></td> </tr> </table> InternetArchiveBot https://en.wikipedia.org/w/index.php?title=Basic_direct_access_method&diff=1173862069&oldid=prev Cornmazes at 21:39, 4 September 2023 2023-09-04T21:39:37Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 21:39, 4 September 2023</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{Short description|Computer access method}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Basic Direct Access Method''', or '''BDAM''' is an [[access method]] for IBM's [[OS/360 and successors]] computer [[operating systems]] on [[IBM System/360|System/360]] and later [[IBM mainframe|mainframes]]. BDAM "consists of routines used in retrieving data from, and storing data onto, [[direct access storage device|direct access devices]]."&lt;ref name=BDAMLogic&gt;{{cite manual|publisher=IBM|title=IBM System/360 Operating System Basic Direct Access Method Program Logic Manual|id=Y28-6617-3|date=July 1967|url=http://www.bitsavers.org/pdf/ibm/360/os/bdam/Y28-6617-3_BDAM_PLM_Jul67.pdf}}&lt;/ref&gt;{{rp|p.5}} BDAM is available on [[OS/360]], [[OS/VS2]], [[MVS]], [[z/OS]], and related high-end operating systems.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Basic Direct Access Method''', or '''BDAM''' is an [[access method]] for IBM's [[OS/360 and successors]] computer [[operating systems]] on [[IBM System/360|System/360]] and later [[IBM mainframe|mainframes]]. BDAM "consists of routines used in retrieving data from, and storing data onto, [[direct access storage device|direct access devices]]."&lt;ref name=BDAMLogic&gt;{{cite manual|publisher=IBM|title=IBM System/360 Operating System Basic Direct Access Method Program Logic Manual|id=Y28-6617-3|date=July 1967|url=http://www.bitsavers.org/pdf/ibm/360/os/bdam/Y28-6617-3_BDAM_PLM_Jul67.pdf}}&lt;/ref&gt;{{rp|p.5}} BDAM is available on [[OS/360]], [[OS/VS2]], [[MVS]], [[z/OS]], and related high-end operating systems.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> </table> Cornmazes https://en.wikipedia.org/w/index.php?title=Basic_direct_access_method&diff=1126218415&oldid=prev Citation bot: Add: website. | Use this bot. Report bugs. | Suggested by Whoop whoop pull up | #UCB_webform 177/668 2022-12-08T04:48:25Z <p>Add: website. | <a href="/wiki/Wikipedia:UCB" class="mw-redirect" title="Wikipedia:UCB">Use this bot</a>. <a href="/wiki/Wikipedia:DBUG" class="mw-redirect" title="Wikipedia:DBUG">Report bugs</a>. | Suggested by Whoop whoop pull up | #UCB_webform 177/668</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 04:48, 8 December 2022</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 25:</td> <td colspan="2" class="diff-lineno">Line 25:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>BDAM accepts disk addresses as either actual device addresses, as relative track addresses, or as relative block numbers.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>BDAM accepts disk addresses as either actual device addresses, as relative track addresses, or as relative block numbers.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''Device addresses''' are eight byte fields in the form '''MBBCCHHR'''. All subfields are binary numbers.&lt;ref&gt;{{cite web|last=IBM Corporation |title=Executing Direct Access Programs |url=https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.idas300/xdapx.htm}}&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''Device addresses''' are eight byte fields in the form '''MBBCCHHR'''. All subfields are binary numbers.&lt;ref&gt;{{cite web|last=IBM Corporation |title=Executing Direct Access Programs<ins style="font-weight: bold; text-decoration: none;"> |website=[[IBM]]</ins> |url=https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.idas300/xdapx.htm}}&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''M''' is the ''extent number'' for files with more than one ''extent'' (non-contiguous files).</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''M''' is the ''extent number'' for files with more than one ''extent'' (non-contiguous files).</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''BB''' is zero. Previously this indicated the ''bin'' on an [[IBM 2321 Data Cell]].</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''BB''' is zero. Previously this indicated the ''bin'' on an [[IBM 2321 Data Cell]].</div></td> </tr> </table> Citation bot https://en.wikipedia.org/w/index.php?title=Basic_direct_access_method&diff=903427426&oldid=prev Peter Flass: link extent, volume, plus syntax correction 2019-06-25T16:51:59Z <p>link extent, volume, plus syntax correction</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 16:51, 25 June 2019</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 14:</td> <td colspan="2" class="diff-lineno">Line 14:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Application program interface==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Application program interface==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The programmer specifies &lt;code&gt;DSORG=DA&lt;/code&gt; in his [[Data Control Block]] (DCB) to indicate use of BDAM. Space can be in up to 16 extents on each volume. The data set (equivalent to a "file") can reside in up to 255 extents across multiple volumes. If the application has a dependency on the space being on contiguous tracks, you can allocate space for the direct data set in [[Contiguous data storage|contiguous]] tracks by coding &lt;code&gt;SPACE=(,,CONTIG)&lt;/code&gt; on the DD statement.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The programmer specifies &lt;code&gt;DSORG=DA&lt;/code&gt; in his [[Data Control Block]] (DCB) to indicate use of BDAM. Space can be in up to 16 <ins style="font-weight: bold; text-decoration: none;">[[Extent (file systems)|</ins>extents<ins style="font-weight: bold; text-decoration: none;">]]</ins> on each <ins style="font-weight: bold; text-decoration: none;">[[Volume (computing)|</ins>volume<ins style="font-weight: bold; text-decoration: none;">]]</ins>. The data set (equivalent to a "file") can reside in up to 255 extents across multiple volumes. If the application has a dependency on the space being on contiguous tracks, you can allocate space for the direct data set in [[Contiguous data storage|contiguous]] tracks by coding &lt;code&gt;SPACE=(,,CONTIG)&lt;/code&gt; on the DD statement.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Direct data sets must be preformatted before use by opening <del style="font-weight: bold; text-decoration: none;">it</del> as output and writing all the blocks sequentially. This can load all "dummy" records or load initial data.&lt;ref name="ibm"&gt;[http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfha2/dfha24f.htm CICS and BDAM], IBM infocenter&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Direct data sets must be preformatted before use by opening <ins style="font-weight: bold; text-decoration: none;">them</ins> as output and writing all the blocks sequentially. This can load all "dummy" records or load initial data.&lt;ref name="ibm"&gt;[http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfha2/dfha24f.htm CICS and BDAM], IBM infocenter&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>As a ''basic'' access method BDAM reads and writes member data in [[Block (data storage)|blocks]] and the I/O operation proceeds [[Asynchronous I/O|asynchronously]] and must be tested for completion using the &lt;code&gt;CHECK&lt;/code&gt; macro.&lt;ref name=Macro&gt;{{cite book|last1=IBM Corporation|title=OS Data Management Macro Instructions|date=June 1973|url=http://bitsavers.informatik.uni-stuttgart.de/pdf/ibm/360/os/R21.7_Apr73/GC26-3794-1_OS_Data_Management_Macro_Instructions_Rel_21.7_Jun73.pdf|accessdate=August 19, 2016}}&lt;/ref&gt; BDAM uses the standard system macros &lt;code&gt;OPEN&lt;/code&gt;, &lt;code&gt;CLOSE&lt;/code&gt;, &lt;code&gt;READ&lt;/code&gt;, &lt;code&gt;WRITE&lt;/code&gt;,and &lt;code&gt;CHECK&lt;/code&gt;. The &lt;code&gt;READ&lt;/code&gt; or &lt;code&gt;WRITE&lt;/code&gt; [[macro instruction]]s must provide the block address or key of the desired record. The &lt;code&gt;CHECK&lt;/code&gt; macro has to be used to wait for completion of a specific operation before the data can be accessed or the [[data buffer]] reused. It is possible to start multiple input/output operations to run concurrently.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>As a ''basic'' access method BDAM reads and writes member data in [[Block (data storage)|blocks]] and the I/O operation proceeds [[Asynchronous I/O|asynchronously]] and must be tested for completion using the &lt;code&gt;CHECK&lt;/code&gt; macro.&lt;ref name=Macro&gt;{{cite book|last1=IBM Corporation|title=OS Data Management Macro Instructions|date=June 1973|url=http://bitsavers.informatik.uni-stuttgart.de/pdf/ibm/360/os/R21.7_Apr73/GC26-3794-1_OS_Data_Management_Macro_Instructions_Rel_21.7_Jun73.pdf|accessdate=August 19, 2016}}&lt;/ref&gt; BDAM uses the standard system macros &lt;code&gt;OPEN&lt;/code&gt;, &lt;code&gt;CLOSE&lt;/code&gt;, &lt;code&gt;READ&lt;/code&gt;, &lt;code&gt;WRITE&lt;/code&gt;,and &lt;code&gt;CHECK&lt;/code&gt;. The &lt;code&gt;READ&lt;/code&gt; or &lt;code&gt;WRITE&lt;/code&gt; [[macro instruction]]s must provide the block address or key of the desired record. The &lt;code&gt;CHECK&lt;/code&gt; macro has to be used to wait for completion of a specific operation before the data can be accessed or the [[data buffer]] reused. It is possible to start multiple input/output operations to run concurrently.</div></td> </tr> </table> Peter Flass https://en.wikipedia.org/w/index.php?title=Basic_direct_access_method&diff=903291257&oldid=prev WRhoten: /* Application program interface */ 2019-06-24T20:25:46Z <p><span class="autocomment">Application program interface</span></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:25, 24 June 2019</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 14:</td> <td colspan="2" class="diff-lineno">Line 14:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Application program interface==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Application program interface==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The programmer specifies &lt;code&gt;DSORG=DA&lt;/code&gt; in his [[Data Control Block]] (DCB) to indicate use of BDAM. Space <del style="font-weight: bold; text-decoration: none;">for</del> <del style="font-weight: bold; text-decoration: none;">a</del> <del style="font-weight: bold; text-decoration: none;">''direct''</del> <del style="font-weight: bold; text-decoration: none;">file</del> (<del style="font-weight: bold; text-decoration: none;">accessed</del> <del style="font-weight: bold; text-decoration: none;">by</del> <del style="font-weight: bold; text-decoration: none;">BDAM</del>) <del style="font-weight: bold; text-decoration: none;">must</del> <del style="font-weight: bold; text-decoration: none;">be</del> <del style="font-weight: bold; text-decoration: none;">allocated</del> in [[Contiguous data storage|contiguous]] tracks by coding &lt;code&gt;SPACE=(,,CONTIG)&lt;/code&gt; <del style="font-weight: bold; text-decoration: none;">in</del> the DD statement.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The programmer specifies &lt;code&gt;DSORG=DA&lt;/code&gt; in his [[Data Control Block]] (DCB) to indicate use of BDAM. Space <ins style="font-weight: bold; text-decoration: none;">can</ins> <ins style="font-weight: bold; text-decoration: none;">be</ins> <ins style="font-weight: bold; text-decoration: none;">in</ins> <ins style="font-weight: bold; text-decoration: none;">up to 16 extents on each volume. The data set</ins> (<ins style="font-weight: bold; text-decoration: none;">equivalent</ins> <ins style="font-weight: bold; text-decoration: none;">to</ins> <ins style="font-weight: bold; text-decoration: none;">a "file"</ins>) <ins style="font-weight: bold; text-decoration: none;">can</ins> <ins style="font-weight: bold; text-decoration: none;">reside in up to 255 extents across multiple volumes. If the application has a dependency on the space being on contiguous tracks, you can allocate space for the direct data</ins> <ins style="font-weight: bold; text-decoration: none;">set</ins> in [[Contiguous data storage|contiguous]] tracks by coding &lt;code&gt;SPACE=(,,CONTIG)&lt;/code&gt; <ins style="font-weight: bold; text-decoration: none;">on</ins> the DD statement.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Direct <del style="font-weight: bold; text-decoration: none;">files</del> must be preformatted before use by opening <del style="font-weight: bold; text-decoration: none;">the file</del> as output and writing all the blocks sequentially. This can load all "dummy" records or load initial data.&lt;ref name="ibm"&gt;[http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfha2/dfha24f.htm CICS and BDAM], IBM infocenter&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Direct <ins style="font-weight: bold; text-decoration: none;">data sets</ins> must be preformatted before use by opening <ins style="font-weight: bold; text-decoration: none;">it</ins> as output and writing all the blocks sequentially. This can load all "dummy" records or load initial data.&lt;ref name="ibm"&gt;[http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfha2/dfha24f.htm CICS and BDAM], IBM infocenter&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>As a ''basic'' access method BDAM reads and writes member data in [[Block (data storage)|blocks]] and the I/O operation proceeds [[Asynchronous I/O|asynchronously]] and must be tested for completion using the &lt;code&gt;CHECK&lt;/code&gt; macro.&lt;ref name=Macro&gt;{{cite book|last1=IBM Corporation|title=OS Data Management Macro Instructions|date=June 1973|url=http://bitsavers.informatik.uni-stuttgart.de/pdf/ibm/360/os/R21.7_Apr73/GC26-3794-1_OS_Data_Management_Macro_Instructions_Rel_21.7_Jun73.pdf|accessdate=August 19, 2016}}&lt;/ref&gt; BDAM uses the standard system macros &lt;code&gt;OPEN&lt;/code&gt;, &lt;code&gt;CLOSE&lt;/code&gt;, &lt;code&gt;READ&lt;/code&gt;, &lt;code&gt;WRITE&lt;/code&gt;,and &lt;code&gt;CHECK&lt;/code&gt;. The &lt;code&gt;READ&lt;/code&gt; or &lt;code&gt;WRITE&lt;/code&gt; [[macro instruction]]s must provide the block address of the desired record. The &lt;code&gt;CHECK&lt;/code&gt; macro has to be used to wait for completion of a specific operation before the data can be accessed or the [[data buffer]] reused. It is possible to start multiple input/output operations to run concurrently.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>As a ''basic'' access method BDAM reads and writes member data in [[Block (data storage)|blocks]] and the I/O operation proceeds [[Asynchronous I/O|asynchronously]] and must be tested for completion using the &lt;code&gt;CHECK&lt;/code&gt; macro.&lt;ref name=Macro&gt;{{cite book|last1=IBM Corporation|title=OS Data Management Macro Instructions|date=June 1973|url=http://bitsavers.informatik.uni-stuttgart.de/pdf/ibm/360/os/R21.7_Apr73/GC26-3794-1_OS_Data_Management_Macro_Instructions_Rel_21.7_Jun73.pdf|accessdate=August 19, 2016}}&lt;/ref&gt; BDAM uses the standard system macros &lt;code&gt;OPEN&lt;/code&gt;, &lt;code&gt;CLOSE&lt;/code&gt;, &lt;code&gt;READ&lt;/code&gt;, &lt;code&gt;WRITE&lt;/code&gt;,and &lt;code&gt;CHECK&lt;/code&gt;. The &lt;code&gt;READ&lt;/code&gt; or &lt;code&gt;WRITE&lt;/code&gt; [[macro instruction]]s must provide the block address<ins style="font-weight: bold; text-decoration: none;"> or key</ins> of the desired record. The &lt;code&gt;CHECK&lt;/code&gt; macro has to be used to wait for completion of a specific operation before the data can be accessed or the [[data buffer]] reused. It is possible to start multiple input/output operations to run concurrently.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Records in a direct <del style="font-weight: bold; text-decoration: none;">file</del> can contain user-specified ''recorded keys'' of up to 255 bytes—all keys in a file must be the same length. Reads and writes can specify a key in addition to a disk address, and BDAM will search starting at the requested block up to the entire area of the file for a record with a matching key.&lt;ref name=DataMgmt /&gt; This allows multiple keys [[Hash function|hashing]] to the same track to be handled automatically by the I/O subsystem.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Records in a direct <ins style="font-weight: bold; text-decoration: none;">data set</ins> can contain user-specified ''recorded keys'' of up to 255 bytes—all keys in a file must be the same length. Reads and writes can specify a key in addition to a disk address, and BDAM will search starting at the requested block up to the entire area of the file for a record with a matching key.&lt;ref name=DataMgmt /&gt; This allows multiple keys [[Hash function|hashing]] to the same track to be handled automatically by the I/O subsystem.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Disk addresses==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Disk addresses==</div></td> </tr> </table> WRhoten https://en.wikipedia.org/w/index.php?title=Basic_direct_access_method&diff=892131611&oldid=prev Rvdheij: Corrected the URL, z/OS 2.3 will hold for another few years. But this approach with deep links is a dead end. 2019-04-12T12:16:52Z <p>Corrected the URL, z/OS 2.3 will hold for another few years. But this approach with deep links is a dead end.</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:16, 12 April 2019</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 25:</td> <td colspan="2" class="diff-lineno">Line 25:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>BDAM accepts disk addresses as either actual device addresses, as relative track addresses, or as relative block numbers.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>BDAM accepts disk addresses as either actual device addresses, as relative track addresses, or as relative block numbers.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''Device addresses''' are eight byte fields in the form '''MBBCCHHR'''. All subfields are binary numbers.&lt;ref&gt;{{cite web|last=IBM Corporation |title=Executing Direct Access Programs |url=<del style="font-weight: bold; text-decoration: none;">http</del>://<del style="font-weight: bold; text-decoration: none;">publib.boulder</del>.ibm.com/<del style="font-weight: bold; text-decoration: none;">infocenter</del>/<del style="font-weight: bold; text-decoration: none;">zos</del>/<del style="font-weight: bold; text-decoration: none;">v1r11</del>/<del style="font-weight: bold; text-decoration: none;">index</del>.<del style="font-weight: bold; text-decoration: none;">jsp?topic=</del>/com.ibm.zos.<del style="font-weight: bold; text-decoration: none;">r11</del>.idas300/xdapx.htm<del style="font-weight: bold; text-decoration: none;"> |accessdate=September 23, 2012 }}{{dead link|date=October 2016 |bot=InternetArchiveBot |fix-attempted=yes </del>}}&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''Device addresses''' are eight byte fields in the form '''MBBCCHHR'''. All subfields are binary numbers.&lt;ref&gt;{{cite web|last=IBM Corporation |title=Executing Direct Access Programs |url=<ins style="font-weight: bold; text-decoration: none;">https</ins>://<ins style="font-weight: bold; text-decoration: none;">www</ins>.ibm.com/<ins style="font-weight: bold; text-decoration: none;">support</ins>/<ins style="font-weight: bold; text-decoration: none;">knowledgecenter</ins>/<ins style="font-weight: bold; text-decoration: none;">en</ins>/<ins style="font-weight: bold; text-decoration: none;">SSLTBW_2.3</ins>.<ins style="font-weight: bold; text-decoration: none;">0</ins>/com.ibm.zos.<ins style="font-weight: bold; text-decoration: none;">v2r3</ins>.idas300/xdapx.htm}}&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''M''' is the ''extent number'' for files with more than one ''extent'' (non-contiguous files).</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''M''' is the ''extent number'' for files with more than one ''extent'' (non-contiguous files).</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''BB''' is zero. Previously this indicated the ''bin'' on an [[IBM 2321 Data Cell]].</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''BB''' is zero. Previously this indicated the ''bin'' on an [[IBM 2321 Data Cell]].</div></td> </tr> </table> Rvdheij https://en.wikipedia.org/w/index.php?title=Basic_direct_access_method&diff=841246074&oldid=prev Certes: Disambiguating links to Contiguity (link changed to Contiguous data storage) using DisamAssist. 2018-05-14T19:11:58Z <p>Disambiguating links to <a href="/wiki/Contiguity" title="Contiguity">Contiguity</a> (link changed to <a href="/wiki/Contiguous_data_storage" class="mw-redirect" title="Contiguous data storage">Contiguous data storage</a>) using <a href="/wiki/User:Qwertyytrewqqwerty/DisamAssist" title="User:Qwertyytrewqqwerty/DisamAssist">DisamAssist</a>.</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:11, 14 May 2018</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 14:</td> <td colspan="2" class="diff-lineno">Line 14:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Application program interface==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Application program interface==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The programmer specifies &lt;code&gt;DSORG=DA&lt;/code&gt; in his [[Data Control Block]] (DCB) to indicate use of BDAM. Space for a ''direct'' file (accessed by BDAM) must be allocated in [[<del style="font-weight: bold; text-decoration: none;">Contiguity#Computer</del> <del style="font-weight: bold; text-decoration: none;">science</del>|contiguous]] tracks by coding &lt;code&gt;SPACE=(,,CONTIG)&lt;/code&gt; in the DD statement.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The programmer specifies &lt;code&gt;DSORG=DA&lt;/code&gt; in his [[Data Control Block]] (DCB) to indicate use of BDAM. Space for a ''direct'' file (accessed by BDAM) must be allocated in [[<ins style="font-weight: bold; text-decoration: none;">Contiguous</ins> <ins style="font-weight: bold; text-decoration: none;">data storage</ins>|contiguous]] tracks by coding &lt;code&gt;SPACE=(,,CONTIG)&lt;/code&gt; in the DD statement.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Direct files must be preformatted before use by opening the file as output and writing all the blocks sequentially. This can load all "dummy" records or load initial data.&lt;ref name="ibm"&gt;[http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfha2/dfha24f.htm CICS and BDAM], IBM infocenter&lt;/ref&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Direct files must be preformatted before use by opening the file as output and writing all the blocks sequentially. This can load all "dummy" records or load initial data.&lt;ref name="ibm"&gt;[http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfha2/dfha24f.htm CICS and BDAM], IBM infocenter&lt;/ref&gt;</div></td> </tr> </table> Certes https://en.wikipedia.org/w/index.php?title=Basic_direct_access_method&diff=821993680&oldid=prev 70.62.97.98 at 20:31, 23 January 2018 2018-01-23T20:31:55Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:31, 23 January 2018</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 5:</td> <td colspan="2" class="diff-lineno">Line 5:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>With BDAM, "the programmer can directly store and retrieve a block by specifying either</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>With BDAM, "the programmer can directly store and retrieve a block by specifying either</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>its actual [[#Disk_addresses|device address]], its [[#Disk_addresses|relative position]] within a data set (relative block number), or the [[#Disk_addresses|relative track]] within a data set at which the system is to begin a</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>its actual [[#Disk_addresses|device address]], its [[#Disk_addresses|relative position]] within a data set (relative block number), or the [[#Disk_addresses|relative track]] within a data set at which the system is to begin a<ins style="font-weight: bold; text-decoration: none;"> search.&lt;ref name=DataMgmt /&gt;{{rp|p.63}}</ins></div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>search.&lt;ref name=DataMgmt /&gt;{{rp|p.63}}</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>BDAM provides no index or structure to the file except as programmed by the application. In many applications, a hashing or randomizing function may be used to assign the block address based on a key in the data. If physical [[Count Key Data|keys]] are used, the key of the last record within the block must be written as the key for that block.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>BDAM provides no index or structure to the file except as programmed by the application. In many applications, a hashing or randomizing function may be used to assign the block address based on a key in the data. If physical [[Count Key Data|keys]] are used, the key of the last record within the block must be written as the key for that block.</div></td> </tr> </table> 70.62.97.98 https://en.wikipedia.org/w/index.php?title=Basic_direct_access_method&diff=755522888&oldid=prev John of Reading: Typo fixing, replaced: all all → all the using AWB 2016-12-18T15:52:09Z <p>Typo fixing, replaced: all all → all the using <a href="/wiki/Wikipedia:AWB" class="mw-redirect" title="Wikipedia:AWB">AWB</a></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:52, 18 December 2016</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 17:</td> <td colspan="2" class="diff-lineno">Line 17:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The programmer specifies &lt;code&gt;DSORG=DA&lt;/code&gt; in his [[Data Control Block]] (DCB) to indicate use of BDAM. Space for a ''direct'' file (accessed by BDAM) must be allocated in [[Contiguity#Computer science|contiguous]] tracks by coding &lt;code&gt;SPACE=(,,CONTIG)&lt;/code&gt; in the DD statement.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The programmer specifies &lt;code&gt;DSORG=DA&lt;/code&gt; in his [[Data Control Block]] (DCB) to indicate use of BDAM. Space for a ''direct'' file (accessed by BDAM) must be allocated in [[Contiguity#Computer science|contiguous]] tracks by coding &lt;code&gt;SPACE=(,,CONTIG)&lt;/code&gt; in the DD statement.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Direct files must be preformatted before use by opening the file as output and writing all <del style="font-weight: bold; text-decoration: none;">all</del> blocks sequentially. This can load all "dummy" records or load initial data.&lt;ref name="ibm"&gt;[http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfha2/dfha24f.htm CICS and BDAM], IBM infocenter&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Direct files must be preformatted before use by opening the file as output and writing all <ins style="font-weight: bold; text-decoration: none;">the</ins> blocks sequentially. This can load all "dummy" records or load initial data.&lt;ref name="ibm"&gt;[http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfha2/dfha24f.htm CICS and BDAM], IBM infocenter&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>As a ''basic'' access method BDAM reads and writes member data in [[Block (data storage)|blocks]] and the I/O operation proceeds [[Asynchronous I/O|asynchronously]] and must be tested for completion using the &lt;code&gt;CHECK&lt;/code&gt; macro.&lt;ref name=Macro&gt;{{cite book|last1=IBM Corporation|title=OS Data Management Macro Instructions|date=June 1973|url=http://bitsavers.informatik.uni-stuttgart.de/pdf/ibm/360/os/R21.7_Apr73/GC26-3794-1_OS_Data_Management_Macro_Instructions_Rel_21.7_Jun73.pdf|accessdate=August 19, 2016}}&lt;/ref&gt; BDAM uses the standard system macros &lt;code&gt;OPEN&lt;/code&gt;, &lt;code&gt;CLOSE&lt;/code&gt;, &lt;code&gt;READ&lt;/code&gt;, &lt;code&gt;WRITE&lt;/code&gt;,and &lt;code&gt;CHECK&lt;/code&gt;. The &lt;code&gt;READ&lt;/code&gt; or &lt;code&gt;WRITE&lt;/code&gt; [[macro instruction]]s must provide the block address of the desired record. The &lt;code&gt;CHECK&lt;/code&gt; macro has to be used to wait for completion of a specific operation before the data can be accessed or the [[data buffer]] reused. It is possible to start multiple input/output operations to run concurrently.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>As a ''basic'' access method BDAM reads and writes member data in [[Block (data storage)|blocks]] and the I/O operation proceeds [[Asynchronous I/O|asynchronously]] and must be tested for completion using the &lt;code&gt;CHECK&lt;/code&gt; macro.&lt;ref name=Macro&gt;{{cite book|last1=IBM Corporation|title=OS Data Management Macro Instructions|date=June 1973|url=http://bitsavers.informatik.uni-stuttgart.de/pdf/ibm/360/os/R21.7_Apr73/GC26-3794-1_OS_Data_Management_Macro_Instructions_Rel_21.7_Jun73.pdf|accessdate=August 19, 2016}}&lt;/ref&gt; BDAM uses the standard system macros &lt;code&gt;OPEN&lt;/code&gt;, &lt;code&gt;CLOSE&lt;/code&gt;, &lt;code&gt;READ&lt;/code&gt;, &lt;code&gt;WRITE&lt;/code&gt;,and &lt;code&gt;CHECK&lt;/code&gt;. The &lt;code&gt;READ&lt;/code&gt; or &lt;code&gt;WRITE&lt;/code&gt; [[macro instruction]]s must provide the block address of the desired record. The &lt;code&gt;CHECK&lt;/code&gt; macro has to be used to wait for completion of a specific operation before the data can be accessed or the [[data buffer]] reused. It is possible to start multiple input/output operations to run concurrently.</div></td> </tr> </table> John of Reading https://en.wikipedia.org/w/index.php?title=Basic_direct_access_method&diff=746552028&oldid=prev Gah4: /* Application program interface */ Remove duplicate statement. 2016-10-28T03:22:15Z <p><span class="autocomment">Application program interface: </span> Remove duplicate statement.</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:22, 28 October 2016</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 19:</td> <td colspan="2" class="diff-lineno">Line 19:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Direct files must be preformatted before use by opening the file as output and writing all all blocks sequentially. This can load all "dummy" records or load initial data.&lt;ref name="ibm"&gt;[http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfha2/dfha24f.htm CICS and BDAM], IBM infocenter&lt;/ref&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Direct files must be preformatted before use by opening the file as output and writing all all blocks sequentially. This can load all "dummy" records or load initial data.&lt;ref name="ibm"&gt;[http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfha2/dfha24f.htm CICS and BDAM], IBM infocenter&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>As a ''basic'' access method BDAM reads and writes member data in [[Block (data storage)|blocks]] and the I/O operation proceeds [[Asynchronous I/O|asynchronously]] and must be tested for completion using the &lt;code&gt;CHECK&lt;/code&gt; macro.&lt;ref name=Macro&gt;{{cite book|last1=IBM Corporation|title=OS Data Management Macro Instructions|date=June 1973|url=http://bitsavers.informatik.uni-stuttgart.de/pdf/ibm/360/os/R21.7_Apr73/GC26-3794-1_OS_Data_Management_Macro_Instructions_Rel_21.7_Jun73.pdf|accessdate=August 19, 2016}}&lt;/ref&gt; BDAM uses the standard system macros &lt;code&gt;OPEN&lt;/code&gt;, &lt;code&gt;CLOSE&lt;/code&gt;, &lt;code&gt;READ&lt;/code&gt;, &lt;code&gt;WRITE&lt;/code&gt;,and &lt;code&gt;CHECK&lt;/code&gt;. The &lt;code&gt;READ&lt;/code&gt; or &lt;code&gt;WRITE&lt;/code&gt; [[macro instruction]]s must provide the block address of the desired record. The &lt;code&gt;CHECK&lt;/code&gt; macro has to be used to wait for completion of a specific operation before the data can be accessed or the [[data buffer]] reused. It is possible to start multiple input/output operations to run concurrently<del style="font-weight: bold; text-decoration: none;">; the &lt;code&gt;CHECK&lt;/code&gt; macro has to be used to wait for completion of a specific operation before the data can be accessed or the [[data buffer]] reused</del>.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>As a ''basic'' access method BDAM reads and writes member data in [[Block (data storage)|blocks]] and the I/O operation proceeds [[Asynchronous I/O|asynchronously]] and must be tested for completion using the &lt;code&gt;CHECK&lt;/code&gt; macro.&lt;ref name=Macro&gt;{{cite book|last1=IBM Corporation|title=OS Data Management Macro Instructions|date=June 1973|url=http://bitsavers.informatik.uni-stuttgart.de/pdf/ibm/360/os/R21.7_Apr73/GC26-3794-1_OS_Data_Management_Macro_Instructions_Rel_21.7_Jun73.pdf|accessdate=August 19, 2016}}&lt;/ref&gt; BDAM uses the standard system macros &lt;code&gt;OPEN&lt;/code&gt;, &lt;code&gt;CLOSE&lt;/code&gt;, &lt;code&gt;READ&lt;/code&gt;, &lt;code&gt;WRITE&lt;/code&gt;,and &lt;code&gt;CHECK&lt;/code&gt;. The &lt;code&gt;READ&lt;/code&gt; or &lt;code&gt;WRITE&lt;/code&gt; [[macro instruction]]s must provide the block address of the desired record. The &lt;code&gt;CHECK&lt;/code&gt; macro has to be used to wait for completion of a specific operation before the data can be accessed or the [[data buffer]] reused. It is possible to start multiple input/output operations to run concurrently.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Records in a direct file can contain user-specified ''recorded keys'' of up to 255 bytes—all keys in a file must be the same length. Reads and writes can specify a key in addition to a disk address, and BDAM will search starting at the requested block up to the entire area of the file for a record with a matching key.&lt;ref name=DataMgmt /&gt; This allows multiple keys [[Hash function|hashing]] to the same track to be handled automatically by the I/O subsystem.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Records in a direct file can contain user-specified ''recorded keys'' of up to 255 bytes—all keys in a file must be the same length. Reads and writes can specify a key in addition to a disk address, and BDAM will search starting at the requested block up to the entire area of the file for a record with a matching key.&lt;ref name=DataMgmt /&gt; This allows multiple keys [[Hash function|hashing]] to the same track to be handled automatically by the I/O subsystem.</div></td> </tr> </table> Gah4