Software:Houston Automatic Spooling Priority
The Houston Automatic Spooling Priority Program, commonly known as HASP, is an extension of the IBM OS/360 operating system and its successors providing extended support for "job management, data management, task management, and remote job entry."[1]:1–3
History
OS/360 included spooling routines, called reader/interpreters and output writers.[2] Each reader/interpreter was "responsible for reading one input job stream" – that is one input device. Likewise each output writer was responsible for controlling one printer or punch. Spooled data were stored in OS temporary datasets controlled by standard OS services. Each reader/interpreter or output writer was a separate operating system task in its own partition or region.[3] A system with a large number of readers, printers, and punches might have a large number of spooling tasks.
HASP was developed by IBM Federal Systems Division contractors at the Lyndon B. Johnson Space Center in Houston. The developers were Tom Simpson and Bob Crabtree. HASP was a program that ran on a mainframe, and performed functions such as: scheduling, control of job flow, spooling and printing/punching. HASP had no support for IBM System/360 Operating System Remote Job Entry, 360S-RC-536, but provided roughly equivalent facilities of its own.
In HASP II V3, Roger Fajman, Bill Jones, and Jim Oberthaler of NIH created the shared spool capability for HASP that was used by many mainframe sites. It allowed each HASP system to share a common spool and checkpoint. This enabled workload balancing in a multi-mainframe environment. In HASP II V4, Don Greb and Dave Miko of Mellon Bank moved shared spool to this version. Roger Fajman and Bill Jones of NIH carried it forward into JES2 multi-access spool (IBM's formal support of HASP in MVS). Over 350 copies of the HASP II V4 shared spool mods were distributed around the world. The shared spool Mellon Mods were added to the SHARE distribution process so they could be more widely accessed.
The program was sometimes referred to under various other names, but there is no indication of IBM ever using them in official documents.
The program became classified as part of the IBM Type-III Library. It had a competitor, ASP (Attached Support Processor), which ran on one mainframe and controlled scheduling of other attached mainframes. ASP later became JES3.
In MVS, HASP became JES2, one of two Job Entry Subsystems. It was many years before the HASP labels were removed from the JES2 source, and the messages issued by JES2 are still prefixed with "$HASP".
A modified version of HASP was used to provide batch spooling and remote job entry services for the Michigan Terminal System during the late 1960s, 1970s, and 1980s.[4][5]
Program organization
HASP bypassed most operating system services with code specially tailored for efficiency. HASP operated as a single operating system task[1] and used cooperative multitasking internally to run processors to perform tasks such as running card readers, printers, and punches, managing the spool files, communicating with the system operator, and driving multiple communication lines for remote job entry.
Hasp was written entirely in System/360 assembler and a typical HASP system might require 86KB of memory, which could be virtual memory on OS/VS systems.[6]
pre-JES JECL
Much of what would become JES2's JECL was a part of HASP.
- /*MESSAGE permitted sending a message to the console operator.
- /*SETUP would notify the operator what was needed (tapes, disks, etc.)
and in the meantime the job was in a HOLD queue. - /*ROUTE PRINT & /*ROUTE PUNCH allowed flexibility, as needed.
Remote job entry
Hasp originally supported IBM Synchronous Transmit-Receive (STR) batch terminals; however, HASP II dropped support for STR and only supported the Binary Synchronous Communications (BSC) protocol. HASP II supported IBM terminals such as 2770, 2780, 3770, 3780, but additionally provided support for multi-leaving[7] communication with intelligent workstations such as the IBM 1130, IBM System/3 and the System/360 Model 20. Multi-leaving is "fully synchronous, pseudo-simultaneous, bi-directional transmission of a variable number of data streams between two or more computers utilizing binary-synchronous communications facilities."[1]:p.1–8
Third party vendors developed a variety of 2770/2780/3780 simulators and Multi-leaving implementations for use with HASP and ASP. Some of these vendors incorrectly referred to their products as HASP emulators, but the products were actually terminals that talked to HASP; they did not perform any of the functions of HASP.
Operator Commands
The RJE console operator could enter a restricted set of HASP Console Operator Commands. These HASP commands were the precursor of JES2's Job Entry Control Language (JES2 JECL).
Operands were restricted to those from this remote site, hence DJ1-999 (below) would only display typically a few, those still outstanding from the operator's remote site.
Some of the HASP RJE Console commands, which could be entered in short (single letter) form, or spelled out, are:
Short | Long | Operand(s) | Example |
---|---|---|---|
E | restart | device_name | E rm1.rdr |
Z | stop | device_name | Z rm1.pr1 |
D | display | (J,I,& others) | e.g. |
DJ | display job | Job Number (or range) | DJ345 or DJ1-999 |
DA | display active | (displayed active jobs) | DA |
DI | display initiators | (displayed initiator letters) | DI |
C | cancel | (Job or device_name) | e.g. |
CJ | cancel job | Job Number | CJ678 |
C | cancel | device_name | C rm1.rdr |
A command line "C rm1.rdr" was meant to cancel rather than submit the current deck of cards being read. This might have been of use if a card jam made it more sensible to let other jobs go ahead while one or more cards were replaced at a nearby keypunch.
Job log
HASP job log output provided a summary of the resources used for the job (output appeared in all caps):
- Start time
- Stop time
- Execution time
- Memory usage
- Spool space used
- Cards read
- Cards punched
- Lines printed
See also
- Remote Job Entry
- Job Entry Subsystem 2/3
- Peter G. Gyarmati
- Anthony James Barr
Notes
- ↑ 1.0 1.1 1.2 IBM (March 1973). OS/VS2 HASP II Version 4 Logic, Program Number 370H-TX -001. GY27-7255-0. http://www.bitsavers.org/pdf/ibm/370/hasp/GY27-7255-0_HASP_II_Version_4_Logic_Sep76.pdf.
- ↑ IBM (1965). IBM Operating System/360 Concepts and Facilities. pp. 59–62. C28-6535-0. http://www.bitsavers.org/pdf/ibm/360/os/R01-08/C28-6535-0_OS360_Concepts_and_Facilities_1965.pdf.
- ↑ However, RJE and the later CRJE called the Reader/Interpreter as a subroutine and performed the functions of an output writer within its own partition/region.
- ↑ HASP II (MTS Version) Operator's Guide, J.H. Hansen and S.M. Donnelly, Computing Center, University of Michigan, 20 April 1988, 122 pages
- ↑ "Resource Manager Printing Comes to U-M (replacing HASP)", U-M Computing News, Vol. 5 No. 1 (8 January 1990), University of Michigan (Ann Arbor), page 19
- ↑ IBM (March 1973). OS/VS2 HASP II Version 4 System Programmer's Guide, Program Number 370H-TX-001. GC27-6992-0. http://www.bitsavers.org/pdf/ibm/370/hasp/GC27-6992-0_HASP_II_Version_4_System_Programmers_Guide_Sep76.pdf.
- ↑ OS/VS2 HASP II Version 4 Logic - Program Number 370H-TX-001 VS2 - SVS Release 1.7. IBM. March 1973. p. 7-59-7-68. GY27-7255. http://bitsavers.org/pdf/ibm/370/hasp/GY27-7255-0_HASP_II_Version_4_Logic_Sep76.pdf. Retrieved March 17, 2022.
References
- David Andrews. "Session O441 - The History of HASP and JES2" (personal notes of SHARE 79: August 21–26, 1992). http://www.redbug.org/dba/sharerpt/share79/o441.html. Retrieved 2006-12-12.
- A History of Modern Computing, page 124, By Paul E. Ceruzzi, Published by MIT Press, 2003, ISBN:978-0-262-53203-7. 445 pages
- IBM (February 26, 1971). The HASP System, HASP II (360D-05.1-014).
- IBM (March 1973). OS/VS2 HASP II Version 4 System Programmer's Guide, Program Number 370H-TX-001. GC27-6992-0. http://www.bitsavers.org/pdf/ibm/370/hasp/GC27-6992-0_HASP_II_Version_4_System_Programmers_Guide_Sep76.pdf.
- IBM (September 1976). OS/VS2 HASP II Version 4 User's Guide, Program Number 370H-TX-001. GC27-0052-0. http://www.bitsavers.org/pdf/ibm/370/hasp/GC27-0052-0_HASP_II_Version_4_Users_Guide_Sep76.pdf.
Original source: https://en.wikipedia.org/wiki/Houston Automatic Spooling Priority.
Read more |