IBM System/34 - SORT - The System Sort Utility

The System Sort Utility

SORT has one to eight input files, which may be of any valid record length. It has one output file, of any stated length, which may contain from zero to 8 million-plus records.

A sort can contain entire records or just 3-byte addresses which point to records in an associated file. This was called an address-out file or ADDROUT. When using an Addrout, the program read in these 3-byte addresses and then fetched associated records from the master file.

A programmer who wanted the benefits of a System/38-style logical file would use an Addrout with a RETAIN-S disposition:

// LOAD MYPROG

// FILE NAME-ADDROUT,LABEL-WS.SORT,RETAIN-S

// RUN

After the program finishes, the Addrout file doesn't exist anymore. It has been "scratched," or set to RETAIN-S, meaning the system auto-deletes it.

Read more about this topic:  IBM System/34, SORT

Famous quotes containing the words system, sort and/or utility:

    I confidently predict the collapse of capitalism and the beginning of history. Something will go wrong in the machinery that converts money into money, the banking system will collapse totally, and we will be left having to barter to stay alive. Those who can dig in their garden will have a better chance than the rest. I’ll be all right; I’ve got a few veg.
    Margaret Drabble (b. 1939)

    Both the Moral Majority, who are recycling medieval language to explain AIDS, and those ultra-leftists who attribute AIDS to some sort of conspiracy, have a clearly political analysis of the epidemic. But even if one attributes its cause to a microorganism rather than the wrath of God, or the workings of the CIA, it is clear that the way in which AIDS has been perceived, conceptualized, imagined, researched and financed makes this the most political of diseases.
    Dennis Altman (b. 1943)

    Moral sensibilities are nowadays at such cross-purposes that to one man a morality is proved by its utility, while to another its utility refutes it.
    Friedrich Nietzsche (1844–1900)