Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Houston Automatic Spooling Priority

From Wikipedia, the free encyclopedia

TheHouston Automatic Spooling Priority Program, commonly known asHASP, is an extension of theOS/360 andOS/VS2 (SVS) operating systems, providing extended support for "job management, data management, task management, andremote job entry."[1] It was the basis forJES2 inMVS.

History

[edit]
HASP system log as part of a batch job printout on an IBM System/370 at New York University, 1979

OS/360 includedspooling routines, calledreader/interpreters andoutput 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 orpunch. Spooled data were stored in OStemporary 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] A system with a large number of readers, printers, and punches might have a large number of spooling tasks.

HASP was developed byIBM Federal Systems Division contractors at theLyndon B. Johnson Space Center inHouston. 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 forIBM 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 ofNIH 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 ofMellon Bank moved HASP shared spool to this version. Don Greb of Mellon Bank carried it forward intoJES2 multi-access spool (IBM's formal support of HASP inMVS). 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 theIBM 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 becameJES3.

InMVS, HASP became JES2, one of twoJob 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 theMichigan Terminal System during the late 1960s, 1970s, and 1980s.[3][4]

Program organization

[edit]

HASP bypassed most operating system services with code specially tailored for efficiency. HASP operated as a single operating systemtask[5]and usedcooperative multitasking internally to runprocessors to perform tasks such as running card readers, printers, and punches, managing thespool files, communicating with the system operator, and driving multiple communication lines for remote job entry.

Hasp was written entirely in System/360 assembler and atypical HASP system might require 86KB of memory, which could be virtual memory on OS/VS systems.[6]

Spooling

[edit]
[icon]
This sectionneeds expansion. You can help byadding missing information.(November 2025)

HASP uses one or moreSPOOL volumes to contain jobs under its control. HASP stores spooled datasets intrack groups on the SPOOL volumes, rather than as datasets known to the OS. ASysgen for OS/360 or SVS must specify a pool of pseudo-devices,[b][7]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 theEXCP requests from the access methods. As HASP is reading the input stream, it modifies and stores the JCL on SPOOL volumes and stores eachSYSIN data set separately. When HASP is ready to run the job, it passes the job to theReader/Interpreter and an availableInitiator] selects it.

SYSIN

[edit]

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 aunit exception after providing the last card image in the dataset.

SYSOUT

[edit]

HASP changes eachDD 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

[edit]

Much of what would becomeJES2'sJECL was a part of HASP.[8]HASP overloadsdelimiter statements (/*) as HASP control statements.

/*$command
Command statement
/*JOBPARMparameters
Job related HASP parameters
/*MESSAGEtext
Send a message to the operator
OUTPUTcodeparameters
Form related HASP parameters
/*PRIORITYp
Priority of job
/*ROUTEtypedestination
Route PRINT|PUNCH output to destinationLOCAL |PUNCH |RMTn |PRINTERn |PRINTRnn |PUNCHn
/*SETUPtext
Send a message to the operator and hold the job until the operator releases it

Remote job entry

[edit]

Hasp originally supported IBM Synchronous Transmit-Receive (STR) batchterminals; however, HASP II dropped support for STR and only supported theBinary Synchronous Communications (BSC) protocol. HASP II supportedIBM terminals such as2770,2780,3770,3780,but additionally provided support formulti-leaving[9]communication with intelligent workstations such as theIBM 1130,IBM System/3 and theSystem/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."[10]

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 HASPemulators, but the products were actually terminals that talked to HASP; they did not perform any of the functions of HASP.

Operator Commands

[edit]

The RJE console operator can enter a restricted set of HASP Console Operator Commands, each beginning with a $ (dollar sign).

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:

ShortLongOperand(s)Example
Erestartdevice_nameE rm1.rdr
Zstopdevice_nameZ rm1.pr1
Ddisplay(J,I,& others)e.g.
DJdisplay jobJob Number (or range)DJ345 or DJ1-999
DAdisplay active(displayed active jobs)DA
DIdisplay initiators(displayed initiator letters)DI
Ccancel(Job or device_name)e.g.
CJcancel jobJob NumberCJ678
Ccanceldevice_nameC 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

[edit]

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

[edit]

Explanatory notes

[edit]
  1. ^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.
  2. ^Device defined to the OS with addresses that do not correspond to installed hardware.

Citations

[edit]
  1. ^HASPIIVRLogic, p. 1-3, Introduction. sfn error: no target: CITEREFHASPIIVRLogic (help)
  2. ^IBM (1965).IBM Operating System/360 Concepts and Facilities(PDF). pp. 59–62. C28-6535-0.
  3. ^HASP II (MTS Version) Operator's Guide, J.H. Hansen and S.M. Donnelly, Computing Center, University of Michigan, 20 April 1988, 122 pages
  4. ^"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
  5. ^HASPIIVRLogic. sfn error: no target: CITEREFHASPIIVRLogic (help)
  6. ^HASPIIV4SPG, pp. 134–135, Storage requirement for a Typical HASP.
  7. ^HASPIIV$SPG, p. 5, Pseudo Devices. sfn error: no target: CITEREFHASPIIV$SPG (help)
  8. ^HASPIIV4User, pp. 23-31,Coding HASP Control Statements.
  9. ^HASPIIV4Logic, pp. 7-59-7-68,Appendix B MULTI-LEAVING.
  10. ^HASPIIV4Logic, p. 1–8.

References

[edit]
Session O441
David Andrews."Session O441 - The History of HASP and JES2". Archived fromthe original(personal notes ofSHARE 79: August 21–26, 1992) on 2007-10-09. Retrieved2006-12-12.
Ceruzzi
A History of Modern Computing, page 124, By Paul E. Ceruzzi, Published by MIT Press, 2003,ISBN 978-0-262-53203-7. 445 pages
HASPIIV3
The HASP System, HASP II (360D-05.1-014). Version 3 Modification Level 1.IBM. February 26, 1971.
HASPIIV4Logic
OS/VS2 HASP II Version 4 Logic - Program Number 370H-TX-001 VS2 - SVS Release 1.7(PDF). First Edition, Revised September 15, 1976, by TNLs SN25-0122 and SN27-1555. IBM. March 1973. GY27-7255. RetrievedMarch 17, 2022.
HASPIIV4Op
OS/VS2 HASP II Version 4 Operator's Guide, Program Number 370H-TX-001(PDF). First Edition revised September 15, 1976, by TNLs GN25-0120 and GN27-1554.IBM. March 1973. GC27-6993-0. RetrievedNovember 3, 2025.
HASPIIV4SPG
OS/VS2 HASP II Version 4 System Programmer's Guide, Program Number 370H-TX-001(PDF). First Edition revised September 15, 1976, by TNLs GN25-0121 and GN27-1553.IBM. March 1973. GC27-6992-0. RetrievedNovember 3, 2025.
HASPIIV4User
OS/VS2 HASP II Version 4 User's Guide, Program Number 370H-TX-001(PDF). First Edition.IBM. September 1976. GC27-0052-0. RetrievedNovember 3, 2025.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Houston_Automatic_Spooling_Priority&oldid=1334538782"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp