3 ms·
This, and more, has been tried on mainframes. When you could not afford to install a free RDBMS with a click of a mouse (the mouse being not available yet, too)
by nine_k 7y ago
This, and more, has been tried on mainframes. When you could not afford to install a free RDBMS with a click of a mouse (the mouse being not available yet, too), you could really appreciate record-oriented files you could use as a database, and even have indexed access to the records.
- derefr 7y agoI believe record-oriented data sets only give you fixed but not arbitrarily/variably-sized extents. I.e., a given file (data set) is of one record type (sort of like an RDBMS table is of one record type), and the record type then determines the extent size for the whole file. Whereas, what I'm talking about, is more like what you get by having a sorted-set data structure in Redis, and putting arbitrary strings in it. Or storing data in LMDB with BASIC-like numeric labels as keys. Rather than a tabular representation, your data store is a heap, with a tabular index set aside to point into it. (Of course, you can emulate arbitrary-length records over fixed-length records, as Postgres does with its TOAST tables, or—in the small—as UTF-8 does with runes. But in the record-orientation implementation, that’s something that would be exposed to the developer, requiring them to solve the problem themselves or through a library; rather than the file system just showing you arbitrary-length records from the start. And, if you can’t rely on other users doing that work, you can’t really use it as an interchange format.)
- panic 7y agoHas anyone written a high-level introduction to mainframe tech that's accessible to people outside the mainframe culture? I've always been curious about it, but the IBM manuals I've come across have been somewhat impenetrable.
- lboc 7y agoHow about: 'Introduction to the New Mainframe: z/OS Basics' http://www.redbooks.ibm.com/abstracts/sg246366.html?Open http://www.redbooks.ibm.com/abstracts/sg246366.html?Open This, and the 'ABCs of Systems Programming' series were pretty good I thought.
- pkaye 7y ago> ...but the IBM manuals I've come across have been somewhat impenetrable. I always thought that was intentional to maximize the consulting opportunities.
- GoblinSlayer 7y agoClassic, compiling hello world: https://medium.com/@bellmar/hello-world-on-z-os-a0ef31c1e87f https://medium.com/@bellmar/hello-world-on-z-os-a0ef31c1e87f
- thwarted 7y agoThe Commodore 64 supported (or maybe it was the 1541 drive that implemented it) what was called "relative files", which were composed of fixed-size records that were accessed by index. I always thought they sounded cool, but never had a real need for them in my toy projects on that platform.