ArticleslgStudy

computer science

Houston Automatic Spooling Priority

Houston Automatic Spooling Priority is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Houston Automatic Spooling Priority rather than just read about it. In short: The Houston Automatic Spooling Priority Program, commonly known as HASP, is an extension of the OS/360 and OS/VS2 (SVS) operating systems, providing extended support for "job management, data management, task management, and remote job entry." It was the basis for JES2 in MVS. History OS/360 included spooling routines, called reader/interpreters and output writers.

Houston Automatic Spooling Priority — main illustration
Houston Automatic Spooling Priority — illustration

Key takeaways

  • Houston Automatic Spooling Priority belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Houston Automatic Spooling Priority to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Houston Automatic Spooling Priority from memory before moving on to harder problems.

Reference excerpt

The Houston Automatic Spooling Priority Program, commonly known as HASP, is an extension of the OS/360 and OS/VS2 (SVS) operating systems, providing extended support for "job management, data management, task management, and remote job entry." It was the basis for JES2 in MVS.

History

OS/360 included spooling routines, called reader/interpreters and output writers. 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. 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 HASP shared spool to this version. Don Greb of Mellon Bank 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 by Mellon Bank. The shared spool Mellon Mods were added to the SHARE distribution process so they could be more widely accessed. The "Mellon Mods" were the base for Jes/2 Multi Access Spool. 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.

Program organization HASP bypassed most operating system services with code specially tailored for efficiency. HASP operated as a single operating system taskand 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.

Spooling

HASP uses one or more SPOOL volumes to contain jobs under its control. HASP stores spooled datasets in track groups on the SPOOL volumes, rather than as datasets known to the OS. A Sysgen for OS/360 or SVS must specify a pool of pseudo-devices, typically on different channels from the real devices. The access methods build the same channel programs as they would for real card readers, card punches and printers, but HASP intercepts the EXCP requests from the access methods. As HASP is reading the input stream, it modifies and stores the JCL on SPOOL volumes and stores each SYSIN data set separately. When HASP is ready to run the job, it passes the job to the Reader/Interpreter and an available Initiator selects it.

SYSIN HASP recognizes each explicit DD *, explicit DD DATA and implicit DD * dataset and stores it on SPOOL volumes. During execution of a step, HASP assignes each SYSIN dataset to a pseudo-reader that the access methods treat as a real card reader, and intercepts the EXCP requests from the access method in order to provide card images from SPOOL. HASP simulates a unit exception after providing the last card image in the dataset.

SYSOUT HASP changes each DD SYSOUT= data set as a reference to a pseudo printer or pseudo card punch. HASP intercpts each EXCP from the access methods, storing each card image and line image on SPOOL. After the job completes, a HASP printer, punch or remote processor that matches the selection criteria of a SYSOUT dataset copies it to an output device.

pre-JES JECL Much of what would become JES2's JECL was a part of HASP. HASP overloads delimiter statements (/*) as HASP control statements.

/*$command Command statement /*JOBPARM parameters Job related HASP parameters /*MESSAGE text Send a message to the operator OUTPUT code parameters Form related HASP parameters /*PRIORITY p Priority of job /*ROUTE type destination Route PRINT|PUNCH output to destination LOCAL | PUNCH | RMTn | PRINTERn | PRINTRnn | PUNCHn /*SETUP text Send a message to the operator and hold the job until the operator releases it

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 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." 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.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Houston Automatic Spooling Priority

Start with the simplest possible case. Write down what Houston Automatic Spooling Priority claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Houston Automatic Spooling Priority before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Houston Automatic Spooling Priority ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Houston Automatic Spooling Priority

In research
Houston Automatic Spooling Priority appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Houston Automatic Spooling Priority in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Houston Automatic Spooling Priority is common in secondary-school and first-year university syllabi. It links to neighbouring topics IBM mainframe operating systems, Job scheduling, Remote job entry, so understanding it makes those chapters shorter.
In everyday life
Look for Houston Automatic Spooling Priority outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Houston Automatic Spooling Priority” →

How to study Houston Automatic Spooling Priority in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Houston Automatic Spooling Priority means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Houston Automatic Spooling Priority out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Houston Automatic Spooling Priority in simple terms?

The Houston Automatic Spooling Priority Program, commonly known as HASP, is an extension of the OS/360 and OS/VS2 (SVS) operating systems, providing extended support for "job management, data management, task management, and remote job entry." It was the basis for JES2 in MVS. History OS/360 includ…

Why does Houston Automatic Spooling Priority matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Houston Automatic Spooling Priority?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Houston Automatic Spooling Priority.

Tags

  • IBM mainframe operating systems
  • Job scheduling
  • Remote job entry
  • Software programmed in assembly language

Keep exploring