Hi Arnold,
I remember using external switches in COBOL on an ICL 1901A and an IBM
360-30 back in the 1960s...
typically... (COBOL)
IF SWITCH-1
READY TRACE.
If anything hung or crashed, the SOP was for the Operator to set switch
1 and re-run it. There were 24 switches taking one "word" of storage.
typically ... (Operator CLI - later, GEORGE)
ON 1
EXEC <whatever>
On the IBM 360s these switches were held in a byte in the Communication
area of the 8KB OS... (Yes, really... we had 32KB of total memory... and
ran the business (invoicing, stock control, reporting, etc.) in that.
I seem to remember using dials and buttons to set them.
You dialed up the address of the switch byte and then selected the bit
you wanted, which lit up on the console display lights. To set it, you
pressed: System reset, ROAR Reset, and Start. Then checked it was lit.
There were 8 switches available.
Happy Days!
Pete.
--
I used to write *COBOL*; now I can do *anything*...