Bitmaps (File architecture): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "<p>Bit Maps are used throughout Model 204 to track sets of records.> == The Workings of a Bit Map == <p>The page size in Model 204 of 6184 by...")
 
No edit summary
Line 1: Line 1:
<p>Bit Maps are used throughout Model 204 to track sets of records.>
<p>Bit Maps are used throughout Model 204 to track sets of records.</p>




Line 6: Line 6:
== The Workings of a Bit Map ==
== The Workings of a Bit Map ==


<p>The [[Page (File Architecture)|page]] size in Model 204 of 6184 bytes contains 6144 'usable' bytes (along with its 40 byte trailer.</p>
<p>The [[Page (File Architecture)|page]] size in Model 204 of 6184 bytes contains 6144 'usable' bytes (along with its 40 byte trailer).</p>


== Usages ==
== Usages ==

Revision as of 04:53, 5 April 2013

Bit Maps are used throughout Model 204 to track sets of records.



The Workings of a Bit Map

The page size in Model 204 of 6184 bytes contains 6144 'usable' bytes (along with its 40 byte trailer).

Usages

Manipulating Bit Maps

Example

In this example (which looks at a bit map as used by an index), this is the beginning of the bit map representing the ORD CHAR field value pair COLOR = BLUE for the 3rd segment of a file (which covers IRNs 98304 to 147455).

Based in this, record 98304 does not have an occurrence of COLOR = BLUE, but records 98305 and 98306 do... and so on.