SM 0045_COS_Table_Descriptions_Oct80 0045 COS Table Descriptions Oct80
SM-0045_COS_Table_Descriptions_Oct80 SM-0045_COS_Table_Descriptions_Oct80
User Manual: SM-0045_COS_Table_Descriptions_Oct80
Open the PDF directly: View PDF .
Page Count: 209
Download | |
Open PDF In Browser | View PDF |
c: RESEARCH, INC. CRAY-1® COMPUTER SYSTEMS COS TABLE DESCRIPTIONS INTERNAL REFERENCE MANUAL SM-0045 PUBLICATION CHANGE NOTICE RESEARCH, INC. October, 1980 TITLE: COS Table Descriptions Internal Reference Manual PUBLICATION NO. SM-0045 REV. The information in this manual was previously contained in part 5 of the CRAY-OS Version 1 System Programmer's Manual, publication 2240012, which is now obsolete. This manual supports COS Version 1.09. c: RESEARCH, INC. CRAY-1® COMPUTER SYSTEMS COS TABLE DESCRIPTIONS INTERNAL REFERENCE MANUAL SM-0045 Copyright© 1980 by CRAY RESEARCH, INC. This manual or parts thereof may not be reproduced in any form without permission of CRAY RESEARCH, INC. RECORD OF REVISION RESEARCH. INC. PUBLICATION NUMBER SM-0045 Each time this manual is revised and reprinted, all chan~es issued against the previous version in the form of change packets are incorporated into the new version and the new version IS assigned an alphabetic level. Between reprints, changes may be issued against the current version in the form of change packets. Each change packet is assigned a numeric designator, starting with 01 for the first change packet of each revision level. Every page changed by a reprint or by a change packet has the revision level and change packet number in the lower ',righthM, d corner. Changes to part of a page are noted by a challge bar along the margin of the page. A change bar in the margin opposite the page number indicates that the entire page is new; a dot in the same place indicates that information hasbeenrnoved from one page to another, but has not otherwise changed. ' Requests for copies of Cray Research, Inc. publications and comments about these publications should be directed to: CRAY RESEARCH, INC., 1440 Northland Drive, Mendota Heights, Minnesota 55120 Revision Description October, 1980 - Original printing. The information in this manual was previously contained in part 5 of the CRAY-OS Version 1 System programmer's Manual, publication 2240012, which is now obsolete. This manual supports the 1.09 release. SM-0045 ii PREFACE This publication is part of a set of manuals written for programmers, analysts, and field engineers who are responsible for installing, debugging, and modifying the CRAY-l Operating System (COS). This manual contains information for making the transition from the external features of the operating system as described in the CRAY-OS Version 1 Reference Manual to the listings. Although a general familiarity with the concept of operating systems is assumed, this publication does not presume that the reader knows the principles or techniques of any other specific operating system. Other publications in this set are: SM-0040 SM-0042 SM-0043 SM-0044 SM-0046 SM-0049 SM-0050 COS EXEC/STP/CSP Internal Reference Manual Front-End Protocol Internal Reference Manual COS Operational Procedures Reference Manual COS Operational Aids Reference Manual lOS Software Internal Reference Manual DGS Internal Reference Manual COS Simulator (CSIM) Reference Manual The following two manuals, which are available for use only by Cray Research personnel, complete the set of software maintenance documentation. SM-OOl7 SM-004l FORTRAN (CFT) Internal Reference Manual COS Product Set Internal Reference Manual Manuals designated as internal describe the internal design of the software whereas the other manuals in the set define procedures and external features of tools needed for installing and maintaining CRI software. The reader is assumed to be familiar with the contents of the CRAY-OS Version 1 Reference Manual (SR-OOll) and to be experienced in coding in the CRAY-l Assembly Language (CAL) as described in the CAL Version 1 Reference Manual, CRI publication SR-OOOO. SM-0045 iii CONTENTS PREFACE • • • • • • • • • • • 1. iii 1.1-1 SYSTEM TABLE DESCRIPTIONS 1.1 1.AC 1.AP 1.AU 1.BA 1.BG 1.BP 1.CB 1.CC 1.CH 1.CI 1.CS 1.CX 1.DA 1.DC 1.00 1.DE 1.DN 1.DP 1.DR 1.DT 1.DV 1.EQ 1.IB 1.JC 1.JT 1.JX 1.LC 1.LG 1.LS 1.LT 1.LX 1.MP 1.MS 1.PD 1.PI 1.PM 1.PR 1.PT 1.PU 1.QC 1.QD SM-0045 INTRODUCTION • • • • JOB ACCOUNTING TABLE - JAC ANY PACKET TABLES - APT ACTIVE USER TABLE - AUT BINARY AUDIT TABLE - BAT • • BEGIN CODE EXECUTION TABLE - BGN BUFFER POOL TABLE - BPT • • • • CHANNEL BUFFER TABLE - CBT CHAIN CONTROL - CC • • • CHANNEL TABLE - CHT CHAIN ITEM - CI CLASS STRUCTURE DEFINITION • CHANNEL EXTENSION TABLE - CXT DATASET ALLOCATION TABLE - DAT • DATASET CATALOG - DSC • • • • • DATASET DEFINITION LIST - DDL DEVICE ERROR TABLE - DET • • • DATASET NAME TABLE - DNT • • • DATASET PARAMETER AREA - DSP • DEVICE RESERVATION TABLE - DRT • • DEVICE CHANNEL TABLE - DCT • DEVICE LABEL - DVL • • • • EQUIPMENT TABLE - EQT INTERACTIVE BUFFER TABLE • JOB COMMUNICATION BLOCK - JCB JOB TABLE AREA - JTA • • • JOB EXECUTION TABLE - JXT LINK CONFIGURATION TABLE - LCT • LOG TABLES - LGI, LGR, LGUQ • • • • LINK INTERFACE STREAM TABLE - LST LINK INTERFACE TABLE - LIT • • LINK INTERFACE EXTENSION TABLE - LXT • MEMORY POOL TABLE - MP • • • • MEMORY SEGMENT TABLE - MST • • PERMANENT DATASET TABLE - PDS PERMANENT DATSET INFORMATION TABLE - PDI • PERMANENT DATASET DEFINITION - PDD • PROCEDURE FILE STACK TABLE POOL TABLE - PT • • • • • PHYSICAL UNIT TABLE - PUT QUEUE CONTROL TABLE - QCT QUEUED DATASET TABLE • • • • v 1.1-1 1.AC-l 1.AP-l 1.AU-l 1.BA-l 2.BG-l 1.BP-1 1.CB-1 1.CC-l 1.CH-l 1.CI-1 1.CS-l 1.CX-l 1.DA-l 1.OC-l 1.DD-1 1.DE-l 1.DN-l 1.DP-l 1.DR-l 1.DT-1 1.DV-1 1.EQ-1 1.IB-1 1.JC-l 1.JT-l 1.JX-1 1.LC-1 1.LG-1 1.LS-1 1.LT-1 1.LX-1 1.MP-1 1.MS-1 1.PD-1 1.PI-l 1.PM-1 1.PR-1 1.PT-1 1.PU-l 1.QC-1 1.QD-1 1.RJ 1.RQ 1.SBU 1.SC 1.S0 1.ST 1.TB 2. ROLLED JOB INDEX TABLE - RJ • • • • • • • • • • • • • REQUEST TABLE - RQT • • • • • • • • • • • • • • • • • SYSTEM BILLING UNIT TABLE - SBU • • • • • • • • • • • SUBSYSTEM CONTROL TABLE - SCT • • • • • • • • • • • • SYSTEM DATASET TABLE - SOT •• SYSTEM TASK TABLE - STT TASK BREAKPOINT TABLE - TBPT 2.1-1 LOADER TABLE DESCRIPTIONS 2.1 2.BRT 2.0IR 2.DMT 2.DPT 2.POT 2.SMT 2.TXT 2.XRT SM-0045 1.RJ-1 1.RQ-1 1.SBU-1 1.SC-1 1.S0-1 1.ST-1 1.TB-1 INTRODUCTION • • • • BLOCK RELOCATION TABLE - BRT • DIRECTORY - DIR (BUILD) DEBUG MAP TABLE - DMT DUPLICATION TABLE - OPT PROGRAM DESCRIPTION TABLE - PDT SYMBOL TABLE - SMT • • • • • • • TEXT TABLE - TXT • • • • • • • • EXTERNAL RELOCATION TABLE - XRT vi 2.1-1 2.BRT-1 2.0IR-1 2.DMT-1 2.0PT-1 2.PDT-1 2.SMT-1 2.TXT-1 2.XRT-1 FIGURES 1. AC-l 1.AP-2 1.AU-l 1.BA 1.BG 1.BP 1.CB-l 1.CB-2 1.CC-l 1.CH-l 1.CI-l 1.CS-l 1.CS-2 1.CS-3 1.CS-4 1.CX-l 1.DA-l 1.DA-2 l.DA-3 1.OC-l l.DC-2 1.OC-3 1.DD-l l.DE-l l.DN-l 1. DP-l 1.DR-l 1.DT-l l.DV-l 1.EQ-l 1.IB-l 1.IB-2 1.JC-l 1.JT-l 1.JX-l l.LC-l 1.LG-l l.LG-2 l.LG-3 l.LG-4 1.LS-l 1.LT-l 1.LX-l l.MP-l l.MS-l Job Accounting Table (JAC) ••••• Disk Request Packet (A-Packet) • • Active User Table (AUT) • • • • • • Binary Audit Table (BAT) •• •• • Begin Code Execution Table (BGN) • • • • • • Buffer Pool Table (BPT) • • • • • Disk I/O for of Channel Buffer Table (CBT) • Normal and error pseudo channel form of Channel Buffer Table (CBT) • • • • • • • Real-time pseudo channel form of Channel Buffer Table (CBT) • Chain Control Word • • • • • Channel Table (CHT) • • Chain Item • • Class Structure Definition (CSD) header • • • • • • • • • CSD map • • • • • CSD expression • • • • • • • • • • • • • • •••• CSD last word • • • • • • • • Channel Extension Table format (CXT) • • • • • • DAT space header • DAT page header/entry header • • • • • • • • • • • • • DAT partition header Dataset Catalog (DSC) page • • • DSC page header • • • • • • • Dataset Catalog (DSC) Table entry • • •••• • Dataset Definition List (DDL) • Disk Error Table (DET) • • • • • • • Dataset Name Table (DNT) entry Dataset Parameter Area (DSP) • • • • • • • • • • • • • • • Device Reservation Table (DRT) Device Channel Table (DCT) •••••• • Dev ice Lable (DVL) • • • • • • Equipment Table (EQT) • • • • • • • • • Interactive Buffer Table (IBT) header IBT entry • • • • • • • • • • • • • Job Communication Block (JCB) • • • Job Table Area (JTA) • • • • • • • • Job Execution Table (JXT) entry Link Configuration Table (LCT) • • • • • Request word to MSG (LGI) • • • • Record in system log (LGR) • • $LOG Record in Memory Pool (LGUQ) $LOG Record in JXT Table (LGJ) • • • • • • • Link Interface Stream Table (LST) • • • • • • • • Link Interface Table (LIT) • • • • • • Link Interface Extension Table (LXT). Memory Pool • • • • • • • • • • • • • • • • • Memory Segment Table (MST) Entry • • SM-0045 vii 1.CB-3 1.AC-l l.AP-l 1.AU-l 1.BA-l 1.BG-l l.BP-l 1.CB-l l.CB-2 1.CB-3 1.CC-l 1.CH-l l.CI-l 1.CS-l 1. CS-2 1.CS-2 1.CS-3 1.CX-l 1.DA-l 1. DA-2 1.DA-3 1.DC-l 1.DC-2 1.DC-3 1.DD-l 1.DE-l 1.DN-l 1.DP-l 1.DR-l 1.DT-l 1.DV-l 1.EQ-l 1.18-1 1.IB-l 1.JC-l 1.JT-l 1.JX-l 1.LC-l 1.LG-l 1.LG-l 1.LG-2 1.LG-3 1.LS-l 1.LT-l 1.LX-l 1.MP-l 1.MS-l 1.PD-l 1.PI-l 1.PM-l 1.PR-l 1.PT-l 1. PU-l 1.QC-l 1.QD-l l.RJ-l 1.RJ-2 1. RQ-l 1.SBU-l 1.SC-l 1. SD-l 1.ST-l l.TB-l 2.BRT 2.DMT-l 2.DPT 2.PDT-l 2.PDT-2 2.SMT-l 2.SMT-2 2.SMT-3 2.SMT-4 2.SMT-5a 2.SMT-5b 2.SMT-5c 2.SMT-6 2.SMT-7 2.TXT 2.XRT SM-0045 Permanent Dataset Table (PDS) •••• Permanent Dataset Information Table (POI) POD Format ••••••••••• Procedure File Stack Table Pool Table • • • • • • • • • • • • • • Physical unit Table (PUT) • • • • • • • • Queue Control Table Header (QCT) Queued Dataset Table (QDT) Rolled Job Index (RJI) entry zero fields • • • • Rolled Job Index (RJI) other entry fields • Request Table (RQT) • • • • • • System Billing Unit Table (SBU) • • • • Subsystem Control Table (SCT) SOT entry • • • • • • • System Task Table (STT) Task Breakpoint Table - TBPT • • • • Block Relocation Table - BRT DEBUG Map Table - DMT •• Duplication Table - DPT • Program Description Table - PDT. PDT header area • • • • • • • Subroutine table •••• Common block table • • •••••••• Subroutine table header. Symbol descriptor format Word CML+l for class 0 symbols • • • • Word CML+l for class 1 symbols Word CML+l for class 2-5 symbols Dimension descriptor entry format • Common block table header format Text Table - TXT • • • •• External Relocation Table - XRT •• viii • • • • • • • • • • • • •• • • • • • • • • • • • • • • • ••• • • • • • • • • • • • • • • • • • • • • • • • • 1.PD-l 1.PI-l 1. PM-1 1.PR-l 1.PT-l 1.PU-l 1.QC-l 1.QD-l 1.RJ-l 1.RJ-2 l.RQ-l 1.SBU-l 1.SC-l 1.SO-1 l.ST-l 1.TB-l 2.BRT-l 2.DMT-l 2.DPT-l 2.PDT-l 2.PDT-3 2.SMT-l 2.SMT-2 2.SMT-3 2.SMT-4 2.SMT-6 2.SMT-6 2.SMT-7 2.SMT-8 2. SMT-9 2.TXT-l 2.XRT-l SYSTEM TABLE DESCRIPTIONS 1.1 1 INTRODUCTION The tables summarized below are described in subsequent sections in alphabetical order according to their unique 2-character prefixes. Pages are also numbered according to the table prefixes. Tables may be manipulated by use of the table management macros described in the COS Operational Aids Reference Manual, publication SM-0044. Prefix Table name and common mnemonic Residence AC Job Accounting Table (JAC) User AU Active User Table (AUT) STP BA Binary Audit Table (BAT) BG Begin Code Execution Table (SGN) User User BP Buffer Pool Table High range of Memory CB Channel Buffer Table (CBT) EXEC CC Chain Control STP CH Channel Table (CHT) EXEC CI Chain Item STP CS Class Structure Definition (CSD) STP CX Channel Extension Table (CXT) EXEC DA Dataset Allocation Table (DAT) STP DC Dataset Catalog (DSC) Disk DO Dataset Definition List (DDL) User DE Device Error Table (DET) STP DN Dataset Name Table (DNT) JTA/STP DP Dataset Parameter Area (DSP) User/STP/JTA DR Device Reservation Table (DRT) STP DT Device Channel Table (OCT) STP DV Device Label (DVL) Disk EQ Equipment Table (EQT) IB Interactive Buffer Table (1ST) STP STP SM-0045 1.1-1 Table name and common mnemonic Residence JC Job Communication Block (JCB) User JT JX Job Table Area (JTA) Below User Job Exectuion Table (JXT) STP LC Link Configuration Table (LCT) STP LG Log Tables (LGI, LGR, LGUQ) STP LS LT Link Interface Stream Table (LST) STP Link Interface Table (LIT) STP LX Link Interface Extension Table (LXT) STP MP Memory Pool Table STP MS Memory Segment Table (MST) STP PO Permanent Dataset Table (PDS) STP PI Permanent Dataset Information (PDI) STP PM Permanent Dataset Definition (PDO) User PR Procedure File Stack Table JTA PT Pool Table STP PU Physical unit Table (PUT) EXEC QC Queue Control Table (QCT) QD RJ Queued Dataset Table (QDT) STP and EXEC STP Rolled Job Index Table (RJI) STP RQ SB Request Table (RQT) STP System Billing unit Table (SBU) STP SC Subsystem Control Table (SCT) STP and EXEC SO System Dataset Table (SDT) STP ST System Task Table (STT) EXEC TB Task Breakpoint Table (TBPT) EXEC Prefix SM-0045 1.1-2 1.AC JOB ACCOUNTING TABLE - JAC The Job Accounting Table, illustrated in figure 1.AC-l, defines the format of data returned to the user by the F$ACT call. 0 8 16 24 32 40 48 54 63 o IN 1 TSX 2 TSW 3 TSD 4 lOB 5 lOR 6 USR 7 USR1 8 XMI 9 DMI 10 TID 11 TL 12 //////////////////////////////////////////////////////////////// 13 1/////////////////////////////////////////////////////////////1/ 14 //////////////////////////////////////////////////////////////// 15 SITl 16 SIT2 17 SIT3 18 SIT4 19 SITS 20 ACN 21 ACNl 22 PWD 23 PWDl 1//////// 1//////// 24 MXM MIM 25 PFA PFS 26 TFS 27 BRF 28 I BSF Job Accounting Table (JAC) l.AC-1 CLC 1//////1///////////////// MRD JCN Figure l.AC-l. SM-0045 OPC TERM 1//////// Q 8 16 24 32 29 TSB 30 T~ 31 TSBU Figure 1.AC-l. 48 40 Job Accounting Table (JAC) 54 (continued) Field Word Bits Description ACJN o 0-55 Job name ACTSX 1 0-63 CPU time in cycles ACTSW 2 0-63 Wait time for CPU ACTSD 3 0-63 I/O wait time ACIOB 4 0-63 Disk blocks moved ACIOR 5 0-63 User I/O request ACUSR 6 0-63 Characters 1-8 of user number ACUSRl 7 0-55 Characters 9-15 of user number ACXMI 8 0-63 Memory integral for execution time ACDMI 9 0-63 Memory integral for I/O wait time ACTID 10 0-63 Terminal ID ACTL 11 0-63 Job time limit 12-14 0-63 Reserved ACSITl ACSIT5 15-19 0-63 Reserved for site use ACACN 20 0-63 Account number, characters 1-8 ACACNl 21 0-63 Account number, characters 9-15 ACPWD 22 0-63 Password, characters 1-8 ACPWDI 23 0-63 Password, characters 9-15 SM-0045 1.AC-2 63 Field -- Word Bits Description ACMXM 24 0-23 Maximum amount of memory used ACMIM 24 24-47 Minimum amount of memory used ACOPC 24 48-63 Number of open calls ACPFA 25 0-23 Permanent file space accessed ACPFS 25 24-47 Permanent file space saved ACCLC 25 48-63 Number of close calls ACTFS 26 0-23 Temporary file space used ACMRD 26 24-47 Number of memory-resident data sets ACBRF 27 0-23 Number of blocks from the front end ACBSF 27 24-47 Number of blocks sent to the front end ACTERM 27 48-63 Termination status ACJCN 28 0-55 Job class ACPRI 28 56-63 Job priority ACTSB 29 0-63 Time submitted ACTWJ 30 0-63 Time waiting for a JXT ACTSBU 31 0-63 Total system billing units used SM-0045 1.AC-3 1.AP ANY PACKET TABLE - APT This table can reside in either STP or EXEC. It is used to hold data passed to and from an lOP Subsystem. The format of anyone packet is dependent on its source and destination IDs. The general form of an APT required by the lOP Subsystem driver is as follows: o 16 DONE 0 DID 32 SID 1 63 RSV 1 ~~jj;1EE//////////////////////////////////////////////////////// 2 //////////////////////////////////////////////////////////////// 3 //////////////////////////////////////////////////////////////// 4 //////////////////////////////////////////////////////////////// 5 //////////////////////////////////////////////////////////////// Figure 1.AP-l. General form of packet table (Aprr) Field Word Bits Description APDlD 0 0-15 Destination ID APSID 0 16-31 Source ID APRSV 0 32-63 Reserved for driver use APDONE 1 0 Output complete flag APFREE 1 1 Free packet after output flag o DONE 0 16 ~ DID SID 1 63 32 RSV 1 ~I~//FREE///////////////////////////////I 2 3 4 5 ///////////////////////////////////////1 FCT DA CYL HD 1 SEC OFF SM-0045 EQT STS 1// / /1,"","1 WL MOS RAC Figure 1.AP-2. PID CHN '"'--PN RES Disk Request Packet (A-Packet) 1.AP-l Field Word Bits Description APDID o 0~15 Destination ID APSID o 16-31 Source ID APRSV o 32-63 Reserved for driver use APDONE 1 o Output complete flag APFREE 1 1 Free packet after output flag APPID 1 40-63 Packet ID (EXEC relative) APEQT 2 40-63 EQT table address (STP relative) APDA 3 0-31 Data buffer address APFCT 3 32-39 Function code APSTS 3 40-47 Status APPN 3 53-54 Processor Numbler APCHN 3 55-63 Channel Numbler APCYL 4 0-10 Cylinder address APHD 4 11-15 Head address APSEC 4 16-22 Sector address APOFF 4 23-31 Word offset APWL 4 32-63 Transfer word length APMOS 5 0-31 MOS address APRAC 5 32-47 Sector read ahead count APRES 5 48-63 Reserved for I/O Processor SM-0045 1.AP-2 1.AU ACTIVE USER TABLE - AUT The Active User Table is an STP-resident table used during interactive communication. An entry is made in the AUT when the user logs on. The entry is released when user processing is finished and the user logs off. HEADER o 8 24 32 40 48 \///////////////////////1 16 o TN 54 NE 63 54 PN 63 TABLE 8 24 16 I ERC 3 ~F 1/////////////1 MML OQC 5 IQC 6 PASS SID II 9 ICT .TLIM NXST~ 8 ST TID 4 7 \ USER. OSg;", . ISYP MN 1///1 48 40 SOT CF 2 32 we MT SMID RMES Figure 1.AU-l. Active User Table (AUT) Field Word Bits Description AUTN 0 0-23 Table name AUNE 0 48-63 Number of active entries AUOFF 0 0 Logged off terminal flag AUBYE 0 1 Job terminated while logged off AUCSP 0 2 CSP loaded AUABT 0 3 Abort flag AUCCF 0 4 Concentrator relogged flag AUIMR 0 5 Message received flag SM-0045 1.AU-l Field Word Bits Description AULSF 0 6-7 Logoff special function field AUERC 0 8-15 Error code AUSDT 0 16-39 SDT for job AUST 0 40-47 Terminal status AUPN 0 48-63 Process number AUUSER 1 0-63 User name AUTID 2 0-63 Terminal ID AUMN 3 0-3 Message number AUMML 3 8-19 Maximum message length AUOSUP 3 20 Output suspended flag (cleared by SCP) AUISUP 3 21 Input suspended flag (cleared by SCP) AUSF 3 22-25 Special function field AUICT 3 40-63 Interactive console entry pointer AUOQC 4 0-63 Output queue control word 4 4 0-15 32-47 48-63 5 0-63 5 5 5 0-15 32-47 48-63 AUPASS 6 0-63 Password AUTLIM 7 0-63 Time of last input message AUSID 8 0-15 Front-end ID AUNXST 8 16-19 Next state AUWC 8 20-31 Word count AUMT 8 32-39 Sent message type AUNOM AUOMQT AUOMQH AUIQC AUNIM AUIMQT AUIMQH SM-0045 4 Number of output messages Output message queue tail Output message queue head Input queue control word Number of input messages Input message queue tail Input message queue head l.AU-2 Field Word Bits Description AUSMID 8 40-63 Sent message ID AURMES 9 0-63 Received message 9 9 9 0-11 12-15 16-19 20-23 24-31 32-35 36 37 52-63 AURPN AURMN AURST AUREC AURMT AURSF AURMOD AURCHN AURWC SM-0045 9 9 9 9 9 9 Received Received Received Received Received Received Received Received Received 1.AU-3 process number message number status error code message type special function mode chain flag word count 1.BA BINARY AUDIT TABLE - BAT When the binary output parameter is specified on the AUDIT control statement, the Permanent Dataset Manager creates a 36-word BAT record for each permanent dataset meeting control statement requirements and having a user number that matches the user number for the job. 0 8 16 24 0 32 PDNl 1 PDN2 ED 2 3 ID 4 SZ 5 RT 6 ACC 7 CRT 8 CRD 9 CRR 10 TDM 11 TDD 12 TDH 13 ACT 14 ACD 15 ACH 16 LDV 17 MFT 18 MFD 19 MFH Figure I.BA-I. SM-0045 40 Binary Audit Table (BAT) I.BA-l 48 56 63 Field Word Bits Descr iption BAPDNI o 0-63 Permanent Dataset Name; characters 1-8 left justified with blank fIll BAPDN2 1 0-63 Permanent Dataset Name; characters 9-15 left justified with blank fill BAED 2 0-63 Edition number; 1-4095 represented in binary BAlD 3 0-63 User 10, left justified with blank fill BASZ 4 0-63 Dataset size (in words) represented in binary BART 5 0-63 Retention period; 1-4095 represented in binary BAACC 6 0-63 Number of accesses represented in binary BACRT 7 0-63 Creation time in cycles BACRD 8 0-63 Creation date as mm/dd/yy BACRH 9 0-63 Creation time as hh:mm:ss BATDM 10 0-63 Time of last dump in cycles BATDD 11 0-63 Date of last dump as mm/dd/yy BATDH 12 0-63 Time of last dump as hh:rnrn:ss BAACT 13 0-63 Time of last access in cycles BAACD 14 0-63 Date of last access as mm/dd/yy BAACH 15 0-63 Time of last access as hh:mm:ss BALDV 16 0-63 Logical device name BAMFT 17 0-63 Time of last modification in cycles BAMFO 18 0-63 Date of last modification as mm/dd/yy BAMFH 19 0-63 Time of last modification as hh:mm:ss SM-0045 1.BA-2 1.BG BEGIN CODE EXECUTION TABLE - BGN The BGN table specifies necessary parameters to begin the execution of code that has been loaded into the user area by CSP. o 8 PSF~IIIIIIIIIIIIIIII 24 32 PRGL 40 I 48 56 ~;;;~PIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII Figure 1.BG-l. Field - Word PRWC BGPSF ENT Begin Code Execution Table (BGN) Bits Description 0 0 Preset value flag BGPRGL 0 16-39 Total program length including blank common BGPRWC 0 40-63 Program word count BGBP 2 0 Breakpoint flag BGENT 2 40-63 Program entry point address SM-0045 63 ~IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 1 2 16 1.BG-l 1.BP BUFFER POOL TABLE - BPT The Buffer Pool Table is resident in the high range of memory and is used for buffer pool management in connection with interactive communication. o 8 16 24 -2 -1 32 TXT OFF SZ Figure 1.BP-l. 40 LBID 48 56 FBID Buffer Pool Table (BPT) Field Word Bits Description BPTXT -2 0-63 Beginning of text BPSZ -1 0-15 Message size BPOFF -1 16-31 Offset to unmoved portion of message BPLBID -1 32-47 Buffer ID for continuation of message BPFBID -1 48-63 Next message buffer ID SM-0045 1.BP-l 63 1.CB CHANNEL BUFFER TABLE - CBT This EXEC-resident table is used for working storage by the disk driver. There is one entry for each disk channel. The three forms of the CBT entries are illustrated in figures 1.CB-l through 1.CB-3. 5 o 8 16 24 32 40 48 56 BO 1111111111111111111111111111111111111111 PUT 1111111111111111 DNT I MEM 1111111111111111111111111111111111/1/111 OCT 111111111111111/11111/11111111111111/111 TK 11111111111111//1111111111111111 ICH It I CYL CNT 11111111//IIIIIIIIIIIIIIIIIIIIIIIII/luTIIIIIIIII 6 IIT~GNIIIIIIIIIIIIII o 1 2 3 4 TD~(t(i;////////////1 Figure 1.CB-l. TPB DSP I 63 SC EQT I111111111111111111111111 Disk 1/0 form of Channel Buffer Table (CBT) Field Word Bits Description CBBO o 40-63 Subroutine return address; CBDNT 1 16-39 DNT address; CBPUT 1 40-63 Active physical unit table; first form CBMEM 2 40-63 Current transfer address; CBOCT 3 40-63 OCT address relative to EXEC; first form CBICH 4 32-37 Input channel number 4 38-39 Unit number CBCYL 4 40-51 Cylinder CBTK 4 52-57 Track CBSC 4 58-63 Sector SM-0045 1.CB-l Field Word Bits Description CBCNT 5 48-63 Sector count CBTPB 6 24-39 Task parameter block address CBEQT 6 40-63 Equipment Table address relative to EXEC CBTD 7 0 Transfer direction; 1 = write. CBTRY 7 1 Retry flag; CBMGN 7 2 Clear margin flag; CBDSP 7 16-39 DSP address o o 8 16 24 32 40 48 56 63 //////////////////////////////////////////////////////////////// 1 //////////////////////////////////////////////////////////////// 2 //////////////////////////////////////////////////////////////// 3 //////////////////////////////////////////////////////////////// 4 //////////////////////////////////////////////////////////////// 5 //////////////////////////////////////////////////////////////// 6 ///////////////////////////////////////1 SR ~////////////////////////////////////////////////////////////// Figure 1.CB-2. Normal and error pseudo channel form of Channel Buffer Table (CBT) Field Word Bits Description CBSR 6 40-63 Status register CBN 7 0 Normal pseudo channel; CBE 7 1 Error pseudo channel: SM-0045 1.CB-2 o 16 8 32 24 o JST 1 JLT 2 TSX 3 TLTU 40 48 56 63 4 //////////////////////////////////////////////////////////////// 5 //////////////////////////1/////////1/////////////////////////// 6 //2FI//////////////////////////////////1 SR OA~I~//////////////////////////////////I/////////////////////////// Figure 1.CB-3. Real-time pseudo channel form of Channel Buffer Table (CBT) Field Word Bits Description CBJST o 0-63 Job starting time in cycles; CBJLT 1 0-63 Job time limit in cycles; CB'l'SX 2 0-63 User execution time at start of interval; CBTLTU 3 0-63 Time of last total time update; CBSR 6 40-63 Status register CBOA 7 o Output active (redefinition for I/O Subsystem communication channel) CBIF 7 1 Initialization flag SM-0045 1.CB-3 1.CC CHAIN CONTROL WORD - CC Intertask communication requires chain control words in the format defined in figure 1.CC-l. o o 8 16 24 rfL/QL TM/QM 32 40 HEAD Figure 1.CC-l. 48 56 63 TAIL Chain Control Word Field Word Bits Description CCTM o 0-7 Maximum number of items to be queued to a particular task CCQM o 0-7 Maximum number of items to be queued from one task to another CCTL o 8-15 Number of items queued to a particular task CCQL o 8-15 Number of items to be queued from one task to another CCHEAD o 16-39 Address of first item on the chain CCTAIL o 40-63 Address of last item on the chain SM-0045 1.CC-l 1.CH CHANNEL TABLE - CHT The Channel Table resides in EXEC memory and contains information for use by the interrupt handlers. There is one entry for each channel, physical or pseudo. Refer to figure 1.CH-l. HEADER o 8 o 16 TN 24 32 40 48 56 63 1//////////////////////////////////////// EN'fRY o TPB CTA Figure 1.CH-l. IHA Channel Table (CHT) HEADER Field --- Word Bits Description 0 0-23 Table name; "CHT" in ASCII Field Word Bits Description CHTPB 0 0-15 Address of task parameter word CHCTA 0 16-39 Control table address CHlHA 0 40-63 Interrupt handler address CHTN ENTRY SM-0045 1.CH-l 1.CI CHAIN ITEM - CI Any item queued using the STP common routines CHAIN and UNCHAIN must reserve the first two words of the item to be used by the common routines as shown in figure 1.CI-l. o 8 16 EX~IIIIIIIIIIIIIIII 1 24 32 40 48 56 I BL 1111111111111111111111111111111111111111 CC FL Figure I.CI-I. 63 Chain Item Field Word Bits Description CIEX 0 0 This bit, if set, indicates that the item is in execution. CIFL 0 16-39 Forward link; address of next item on the chain CIBL 0 40-63 Backward link; address of the preceding item on the chain CICC 1 40-63 Address of the chain control word for this item SM-0045 I.CI-I 1.CS CLASS STRUCTURE DEFINITION - CSD The job class structure definition is contained in the CSD. The CSD header, which contains general information about the structure, precedes the class maps. One CSD class map exists for each class defined in the structure. Class maps appear in descending rank order. The variable length characteristic expressions follow the class maps, and each class contains a pointer to its expression. The CSD class expressions are variable length. HEADER 0 8 16 32 24 40 48 56 63 SDT 0 1 AOF, 1//////// ,SNM 2 //////////////1 fl SLI NCL 3 ///////////////////////////////1 APL NCW Figure 1.CS-1. SCUM Class Structure Definition (CSD) header Field Word Bits Description CSSDT o 0-63 Date/time of last rollout CSSNM 1 0-55 Class structure name CSSCUM 2 15-30 Structure cumulative JXTs reserved CSAOF 2 31 If 1, all classes off CSSLI 2 32-47 LIMIT default CSSNCL 2 48-63 Number of classes defined in structure CSAPL 3 32-47 Number of pool JXTs allocated CSSNCW 3 48-63 Number of classes waiting for JXTs SM-0045 1.CS-l CLASS MAP 0 8 16 24 0 1 P 2 48 ACT ~ OFF Figure 1.CS-2. 56 63 I11111111 COF RCUM RES MAX 40 32 CNM WTG I111111111111111 CSD map Field Word Bits Description CSCNM o 0-55 Class name CSP 1 0-7 Class assigned priority shifted left four bits; ignored if CSP=3778 CSRES 1 8-23 JXTs reserved by class CSRCUM 1 24-39 JXTs reserved by all classes of a higher rank CSCOF 1 40-63 Class offset CSMAX 2 0-15 Class maximum CSACT 2 16-31 Actual number of JXTs allocated to this class CSOFF 2 32 If 1, the class is off; if 0, the class is on 2 33-48 Number of jobs waiting for JXTs CLASS EXPRESSIONS o o 8 16 24 32 EXL CEXL 40 EXP 1 CSCEXL+l Figure 1.CS-3. SM-0045 CSD expressions 1.CS-2 48 56 63 I11111111111111 1" ie ld Word Bits CSCEXL 0 0-23 CSEXL 0 24-49 CSEXP 1 to CSCEXL+l 0-63 DescriEtion Length in words of cracked expression Length in \VOrds of printable expression Cracked class expression LAST WORD O______~8______~l~6____~2~4~__~3~2~____4~0~____4_8~____5_6_____6_3 I@CSDMAX-l SLW Figure 1.CS-4. CSD last word Field CSSLW SM-0045 Word I@CSDMAX-l Bits 0-63 Description Date/time of last rollout 1.CS-3 1.CX CHANNEL EXTENSION TABLE - CXT This table is EXEC-resident and is used to interface the front-end driver to the lOP driver. HEADER o 24 o TN 63 1//////////////////////////////////////// ENTRY o 7 SND~ ~I CHO I DID 16 32 CNT 40 48 TPB I LIT I SID 63 CHN I ROY 2 //////////////////////////////////////////////////////////////// 3 JIT//RsND////////////////////////1 CNT 1//////////////// 1 SGZ 4 OLCP ILCP 5 OSEG ISEG 6 OLTP ILTP Figure 1.CX-l. Channel Extension Table format (CXT) HEADER Field - Word Bits Description CXTN o 0-23 Table name Field Word Bits Description CCXSND o o Send received from lOP flag CXRDY o 1 Address ready to send flag ENTRY SM-0045 l.CX-l Field Word Bits Description CXCHO o 2-6 Channel ordinal CXCNT o 7-15 Message number of last address request cxrrPB o 16-39 Task parameter block address CXLIT o 40-63 LIT address (EXEC-resident) CXDID 1 0-15 Destination ID CXSID 1 16-31 Source ID CXCHN 1 32-39 Message channel ordinal CXCNT 1 40-47 Message count (0-256) CXRSND 3 o Resent address request flag CXSGZ 3 32-63 Segment size CXOLCP 4 0-31 Output LCP address (EXEC relative) CXILCP 4 32-63 Input LCP address (EXEC relative) CXOSEG 5 0-31 Output segment address (EXEC relative) CXISEG 5 32-63 Input segment address (EXEC relative) CXOLTP 6 0-31 Output LTP address (EXEC relative) CXILTP 6 32-63 Input LTP address (EXEC relative) SM-0045 l.CX-2 1.OA DATASET ALLOCATION TABLE - OAT A OAT exists for each active dataset in the system. A DAT defines the mass storage logical location of a dataset. It specifies the logical devices and the portions of each device. The OAT header contains general dataset information. The OAT partition header contains general information concerning a particular partition of the OAT. A partition represents a portion of a dataset resident on a single logical device. If the dataset is a permanent dataset, the DAT may be used by multiple users. Each allocation index in a partition is a bit number in the respective Device Reservation Table (DRT). The OAT is composed of as many 16-word OAT pages as necessary to represent the mass storage occupied by the dataset. Word 0 of a page contains a 24-bit address of the continuation of the DAT if more pages are necessary. Additional OAT pages continue from the point at which the last OAT left off. Figure l.DA-1 illustrates the OAT. SPACE HEADER 0 8 0 16 TN 24 I 1 32 WCT 40 48 I 56 PA MAP Figure 1.DA-1. OAT space header Field Word Bits Description DATN 0 0-23 OAT Table name DAWCT 0 24-39 DAT space map length in words OAPA 0 40-63 Number of OAT pages available DAMAP 1 0-63 Beginning of OAT page map SM-0045 1.0A-l 63 PAGE HEADER 0 0 PN 8 16 24 32 1///////////////////////1 JORD ENTRY HEADER 0 1 8 16 DSC 2 CA 24 I 32 AS 40 56 63 56 63 OAT I 40 1///////1 Figure l.OA-2. 48 48 PDS DSZ OAT page header/entry header Field Word Bits Description DAPN 0 0-7 Page number DAJORD 0 32-39 JXT ordinal; set to 0 if the OAT is in STP, set to the JXT ordinal if the OAT is in the JTA. DADAT o 40-63 Next page address; set to 0 if no continuation page exists. If the field is greater than 0, the OAT resides in STP and the field contains the STP-relative DAT address. If the field is less than 0, then the OAT resides in the JTA and the DAT address is equal to the JTA address minus the value of the field DADAT. DADSC 1 0-27 DSC pointer (only if permanent dataset) DAAS 1 28-39 Allocation style (contiguous AUs per AI) DAPDS 1 40-63 Permanent dataset table entry address (only if permanent dataset) DACA 2 0-23 Pointer to parcel for next AI DADSZ 2 32-63 Dataset size in words SM-0045 l.DA-2 OAT PARTITION HEADER a 16 8 24 a 1 1111111111111111 32 LDV 48 NPA BPB Figure 1.OA-3. 40 56 NAI OAT partition header Field Word Bits Description DALDV a 0-63 Logical device name a 0-15 Allocation index DABPB 1 16-31 Blocks per bit DANPA 1 32-47 Next partition address (relative \\Ord address) DANAI 1 48-63 Number of Als in partition DAAI SM-0045 1.OA-3 63 1.DC DATASET CATALOG - DSC The DSC is a disk resident table. It is divided into 512-word pages with each page consisting of a block control word, a 7-word header, and eight 63-word entries. There are two types of pages, hash pages and overflow pages. The PDN is hashed to determine the hash page number to be put into the DSC entry. If that hash page is full, the entry is placed in the sequential overflow page area. o 8 16 40 24 32 Block Control Word 48 Header 7 DSC entries 511 Figure 1.DC-l. SM-0045 Dataset Catalog (DSC) page 1.DC-l 56 63 DSC PAGE HEADER Each DSC page has a header as shown in figure 1.OC-2. o 8 16 24 32 40 48 56 63 o~ ~FIIIII/IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII - 1 ~ . 6 ////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// Figure 1.DC-2. DSC page header Field Word Bits Description DCOV 1 o Page overflow has occurred DCPF 1 1 Page is currently full SM-0045 1.OC-2 DSC ENTRY A DSC for a permanent dataset may occupy as many DSC entries as necessary to contain the OAT for the dataset. Subsequent DSC entries for the same permanent dataset contain only continuations of the OAT. 8 OCRS C 16 24 32 40 48 56 ~-k I M/i'QII I I I I I II II II I I II II II I I I I II I I I I II I I I I I I I I I I I I II II I I DWN~~R IDA II 1//S707 I ON 2 63 PDN 1//////// 3 4 RDP 5 WTP 6 7 MNP //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// EXO~I/////////////////////////////////////////////////////1 12 ID 13 USR INIT~ WAIT JA NRR~~I 1//////// I~I OJSQ 16 FM TXL 17 SID SF ACS FL TL 21 CRT 22 ACT 23 TDM 24 MFT 25 27 SYS /' M JSP 1//////// CL 1//////// OLM 28 ACN 29 ACN1 SM-0045 PR JCN JCR Figure 1.DC-3. JSQ DC 19 ED 1//////// DID TID 26 RT OJB 18 20 QDT Dataset Catalog (DSC) Table entry 1.DC-3 RJST o 16 8 32 24 40 48 56 63 30 //////////1///////1////////1///////////////////////1//////////// 31 ONS 32 OAT 47 62 OAT /1/////1 Figure 1.DC-3. DSC FPE Dataset Catalog (DSC) Table entry (continued) Field Word Bits pescr iption DCC o o Continuation flag (set if this is a continuation entry) DCDWN o 1 Down flag. Set if OAT contains at least one reference to a device whose EQT entry declares the device unavailable (EQNA=l). DCCRS o 2 Cross-allocated flag. Set if OAT contains at least one reference to an AI on any device ~ich is either (1) flawed, or (2) mentioned in the DAT for some other permanent dataset, the Dataset Catalog, or the reserved system dump area. DCERR o 3 Catastrophic error flag. Set if Startup is unable to recover the dataset due to errors in the DSC entry and the installation or operator selected option was RETAIN. nelDA o 4 Inconsistent disk allocation DCIQI o 5 Invalid QDT index DCS o 61 Saved flag (set if SAVE entry) DCO o 62 Output flag (set if output dataset) DCI o 63 Input flag (set if input dataset) DC ON 1 0-55 Dataset name (spooled datasets only) SM-0045 1.OC-4 Field Word Bits Description DCPDN 2 0-63 Permanent dataset name, characters DCPDN2 3 0-55 Permanent dataset name, characters 9-15 DCRDP 4 0-63 Read permission control word (saved datasets) DCWI'P 5 0-63 Write permission control word (saved datasets) DCMNP 6 0-63 Maintenance permission control word (saved datasets) OCEXO 11 o Execute-only status flag DCQDT 11 55-63 Mu1titype flag/QDT entry index (saved and spooled) DCID 12 0-63 User 10 (saved dataset) DCUSR 13 0-63 User number, characters 1-8 DCUSR2 14 0-55 User number, characters 9-15 DCNRR 15 o Job rerun flag. rerun. DCINIT 15 1 Job initiation flag. been initiated. DCWAIT 15 2 WAIT flag for disposed dataset DCIA 15 3 Interactive spool flag DCOJSQ 15 5-20 originating job sequence number DCTXL 15 21-23 Text length in blocks (a block is equal to one DSC OAT page) DCFM 15 24-39 Format designator (output datasets) DCRT 15 40-51 Retention period (0-4095 days) OCED 15 52-63 Edition number (1-4095) (saved datasets) DCOJB 16 0-55 Originating job name SM-0045 1.DC-5 1-8 Set if job cannot be Set if job has Field Word Bits Descr iption DCSID 17 0-15 Source ID 2 characters DCDID 17 16-31 Destination ID 2 characters DCDC 17 32-47 Disposition code: DCIN=IN DCST=ST DCPR=PR DCPT=PT DCPU=PU DCMT=MT Job dataset Staged permanent dataset Print dataset Plot dataset Punch dataset Magnetic tape dataset DCJSQ 17 48-63 Job sequence number DCTID 18 0-63 Terminal ID DCSF 19 0-63 Special forms DCACS 20 0-15 Number of accesses (saved datasets) DCFL 20 16-31 Field length/512 (input datasets) DCTL 20 32-55 Time limit (input datasets) DCPR 20 56-63 Priority (input datasets) DCCRT 21 0-63 Creation time (cycles) DCACT 22 0-63 Time of last access (cycles) DCTDM 23 0-63 Time of last dump (cycles) DCMFT 24 0-63 Time of last modification (cycles) DCJCN 25 0-55 Job class name DCCL 26 0-55 CL parameter from JOB statement DCSYS 27 1 Flag: DCJSP 27 2-9 priority, from JOB statement DCJCR 27 10-25 Job class rank DCOLM 27 26-49 Size of $OUT in 512-word blocks SM-0045 1.DC-6 system job if set Field Word Bits Description DCRJST 27 50-63 JOB statement error DCACN 28 0-63 Account number (characters 1-8) DCACNI 29 0-63 Account number (characters 9-1S) DCDNS 31 0-63 Reserved for installation DCDAT 32-46 47-61 0-63 0-63 A IS-word DAT page or optional text A IS-word DAT page DCFPE DCFPP DCFEN 62 62 62 8-35 8-31 First DSC page/entry for the dataset: Page number of first DSC entry Entry number of first DSC for the dataset DCDSC DCDCP DCDCE 62 62 62 36-63 SM-0045 32-35 36-59 60-63 Next DSC entry for continuation: Page number of DSC continuation Entry number of DSC continuation 1.DC-7 1.DD DATASET DEFINITION LIST - DOL A Dataset Definition List in the user field must accompany any create DNT (F$DNT) request. o 8 16 o 1 40 32 24 UD~TAT LDV 3 IMRI/IA/TRANIIII ._._--_ ..- DNT 4 TPLIITPF/I TPN I TPV ~~~~J-I 63 1111/1111 DN RDM~1! ~;I----I;;~/IIIIIIIIIII/l TPD 56 48 TPB TPR TPF Figure 1.00-1. SZ I11111111I 111111/11 k.k~ ft:;. fliPH ~?FTPC TPM "" TP2~TPP BFZ (BSZ) DC LM - - - Dataset Definition List (DOL) Field Word Bits DDDN o 0-55 Dataset name DDLDV 1 0-63 Logical device name DDRDM 2 o Random dataset flag: o Sequential 1 DDUDS 2 1 Random Undefined dataset structure: o COS blocked dataset structure 1 Undefined structure DDNFE 2 2 Return error if dataset does not exist. Register SO returned non-zero if DNT does not exist; no DNT is created. DDSTAT 2 3 Request dataset statistics; ignored unless DDNFR=l (see DDDNT) DDMR 2 4 Dataset is to be memory resident OOIA 2 5 Interactive type dataset DDTRAN 2 6 Transparent mode for interactive dataset SM-0045 1.DO-l Field Word Bits Description DDBFI 2 7-15 Blank field indicator for character I/O 0008 < 400 8 = 400 8 400 8 > BFI=I@BFI BFI=user specified ASCII character BFI=OOO Blank compression disabled DDTP 2 16-17 Tape dataset (online/staged) DOTCS 2 18-19 Tape dataset character set DDSZ 2 40-63 Dataset size in 512-word blocks DDON'r 3 16-39 Address of DNT image returned by F$DNT When DDNFE=l and DDSTAT=l DDBFZ 3 49-63 Buffer size in 512-word blocks DOBSZ 3 49-63 Alternate name for DOBFZ to match $SYSTXT name DD'fPN 4 10-15 Tape noise block size in bytes DDTPV 4 16-39 Pointer to Label Definition Table DDDC 4 48-63 Disposition code: OCIN=IN DCST=ST DCSC=SC DCPR=PR OCPT=PT DCPU=PU DCMT=MT Job dataset Staged permanent dataset Scratch dataset Print dataset Plot dataset Punch dataset Magnetic tape dataset DD'rPD 5 0-1 Tape density DOTPL 5 2-4 Tape label type DDTPF 5 5-6 Tape format DDTPR 5 7-14 Tape recovery options DDTPB 5 15-32 Tape maximum block size (in bytes) DDTPC 5 33 Tape cataloged dataset DDTPM 5 34 Tape online maintenance access SM-0045 1.00-2 Field Word Bits Description DDTP2 5 35 Tape second device request DDTPP 5 36-38 Tape parallel device count DD'1'PH 5 39 Tape hold device assignment DDLM 5 40-63 Dataset size limit in 512-word blocks SM-0045 1.DD-3 1.DE DEVICE ERROR TABLE - DET This STP-resident table is used for building messages for the system log. a 8 16 24 32 a JN 1 DEV 2 DN 3 CP 4 IR 5 STS 6 ASTS Figure l.DE-l. 40 48 56 I11111111 I11111111 Disk Error Table (DET) Field Word Bits Description DEJN a 0-55 Job name DEDEV 1 0-63 Logical device name DEDN 2 0-55 Dataset name DECP 3 0-63 Device current physical position DEIR 4 0-63 Device initial logical request DESTS 5 0-63 Equipment status DEASTS 6 0-63 Auxiliary status SM-0045 1.DE-l 63 l.DN DATASET NAME TABLE - DNT The DNT in the Job Table Area (JTA) contains an entry for each dataset of a given job. W@JTDNT is the beginning DNT entry address. Figure l.DN-l illustrates a DNT entry. (f; o -2 -I MPST§ 8 16 24 ----1//////////////1 MPID§ --- 32 40 48 24 32 40 48 TP PRW ON ///////////////1 4 II DTM I JORD 6 TPD CIO --- 5 OAT AS SZ ---------------------------DSP LDV I lOR BFZ lOB LBN 7 PBS 8 ///////1 I LM 9 ///////////////////////////////////////1 POD 10 1/////////////////////1 I TPN TPB TPL~~-------------- ~ I~ 11'!.t! QDT DCZ TPS T,PC 63 BUF 1///1 BFI 1////1 Flags 56 1//////// SBK ACS 63 JTDBL§ DC PDS~I 56 TPR TPDS I TPDLI TPV TPDL2 I TPDL3 I TPDL4 TPF~~ Figure 1.DN-1. Dataset Name Table (DNT) entry Field --- Word Bits Description MPS~ -2 o Status of memory area: o Available 1 In use MPloS -2 16-39 Memory pool identification 07070707 -2 40-63 JTA dynamic memory Size of the memory area § Fields that exist only when the DNT is in the dynamic area of the JTA. They are used for dynamic memory allocation ana DNT linkage. SM-0045 1.DN-l Field Word Bits Description JTDBLS -1 16-39 DNT backward link JrrDFL§ -1 40-63 DNT forward link DNDN 0 0-55 Dataset name DNAIO 1 0 Active I/O, set if outstanding DNOC 1 1-2 Open/closed status: 00 10 01 11 DNP 1 3 Type of processing; used by Disk Queue Manager: o 1 DNRDM 1 4 o 1 5 Read Write Random dataset flag: 1 DNUDS Closed Open for input Open for output Open for I/O Sequential Random Dataset structure: o 1 COS blocked dataset Unblocked structure DNIN 1 6 Subdataset; used for $IN DNMEM 1 8 Dataset is memory resident DNIA 1 9 Interactive type dataset DNTRAN 1 10 Transparent mode for interactive dataset DNTP DNEND 1 1 11-12 Tape dataset (online/staged) Write end of dataset flag. Used in conjunction with the partial block size DNPBS. DNEND and DNPBS are set by DQM When DPEND is set. DNEND and DNPBS may also be set by a task Which does not use a DSP When calling DQM 11 S Fields that exist only When the DNT is in the dynamic area of the JTA. They are used for dynamic memory allocation and DNT linkage. They l-DN-2 Field Word Bits Description DNSDR 1 14 Dataset resides in the SDR DNPRW 1 15 previous operation read/write: o 1 DNDC 1 16-31 previous operation read previous operation write Disposition code (two characters) : DCIN=IN DCST=ST DCSC=SC DCPR=PR DCPU=PU DCPT=PT DCMT=MT Job dataset Staged permanent dataset Scratch dataset Print dataset Punch dataset plot dataset Magnetic tape dataset DNJORD 1 32-39 JXT ordinal if the DNT is in the job's JTA; 0 if the DNT resides in STP. DNDAT 1 40-63 Dataset allocation table address: =0 >0 <0 Not DAT assigned DAT in STP OAT in job's JTA DNNBK 2 0-15 Number of blocks to be read or written; number of words in last block to be written if (ONENO)=l DNSBK 2 16-39 Starting block number DNBUF 2 40-63 I/O buffer address DNPDS 3 o permanent dataset flag DNACS 3 1-11 Dataset access flags: 3 3 3 3 1 10 11 DNDTM 3 13-lS Index to Task I/O save area DNBFI 3 19-27 Blank field indicator for character I/O DNEXO DNMNP DNWTP DNRDP 9 Execute-only Maintenance permission flag write permission flag Read permission flag OOOs 400 8 400 8 400 S SM-0045 1.0N-3 BFI=I@BFI BFI=user specified ASCII BFI=OOO Blank compression disabled Field Word Bits Description DNAS 3 32-39 Allocation style (tracks per AI) DNSZ 3 40-63 Dataset size (in 5l2-word blocks) DNRCL 4 o Recall flag from DSP DNRLS 4 1 Release flag DN'rIO 4 2 Task I/O recall flag; address DNJTF 4 3 JTA dataset flag; if (DNJTF) =1, buffer is in the JTA DNIOU 4 4 User I/O flag; 1 indicates the DSP or buffer for the current I/O request are in the job field (below user HLM). DNBIO 4 6 Buffered I/O request flag DNJIO 4 7 Job in recall for this request DNDPS 4 8 Dispose flag DNMRCL 4 9 Memory recall flag; 1 if waiting for JTA memoory expansion. DNDFR 4 10 Deferred disposition flag DNCIO 4 16-39 Return address for task I/O DNDSP 4 40-63 DSP address DNLDV 5 0-63 Logical device name DNIOR 6 0-21 I/O requests issued to DQM DNIOB 6 22-48 Blocks transferred DNBFZ 6 49-63 Dataset buffer size in 5l2-word blocks DNPBS 7 0-8 Partial block size in words DNQDT 7 31-39 Mu1titype fla9/QDT entry index DNLBN 7 40-63 Number of last block written DNDCZ 8 8-39 Dataset catalog size in words SM-0045 1.DN-4 (DNCIO=recall) Field Bits Description DNLM 8 40-63 Dataset size limit in S12-word blocKS DNPDD 9 40-63 JTA relative address of the POD for a deferred disposition DNTPS 10 0-lS Online tape status DNTPN 10 16-21 Tape noise blocK size in bytes DNTPB 10 22-39 Tape max blocK size in bytes DNTPV 10 40-63 Tape pointer to system label area DNTPD 11 0-1 Tape density DNTPL 11 2-4 Tape label type DN'rPF 11 S-6 Tape format DNTPC 11 7 Tape cataloged dataset ONTPR 11 8-23 Tape recovery options DN'fPM ONTP2 DNTPP DNTPH DNTCS 11 11 11 11 16 17 Tape Tape Tape Tape Tape online maintenance access and device request parallel device count hold device assignment dataset character set 11 18-20 21 22-23 DNTPOS 11 24-31 Tape parallel device status ONTPD 1 11 32-39 Tape device number (stream 1) DNTPD 2 11 40-47 Tape device number (stream 2) ONTPD 3 11 48-55 Tape device number (stream 3) ONTPD 4 11 56-63 Tape device number (stream 4) SM-004S 1.0N-5 1.DP DATASET PARAMETER AREA - DSP Logical I/o requires the presence of a DSP for the dataset in the user's field. Refer to publication SR-OOll for details of DSP use. Figure 1.DP-l illustrates a DSP. o 3 5 10 16 25 40 56 63 o (_B_sY________ ~~S~TS--------DN--~~~~~~----------I-I-I-I-II--I 1 \.i I ERR II BFI I II I I I FRST IN IBN UDS 2 111111111I IPB OUT OBN 3 III RBC I asP I UEOF~IIIIEODIIIIIIIII -" EOR~I~~RW 6 BF RCW PRI PFI EOF BIO~~ 8 LMT TBN LPW _B~U_BC_I______B_WC. ____________ B_WA _ _ __ ._1 TM reserved for use by BER TIO 16 TPL TPS TPD~~I TPF, 18 I TPN I TPB ;;:;:::lII' TPR k~~~IIII;pPIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII r-~ TPC DPDIR TPM Reserved for logical I/O DEL BLNK ""- 23 TPV 1 -------------~<==>==~------------------------------------ /' IIIIIIIIII;~, RECL NXRC DIR UFMT Figure 1.DP-l. SM-0045 Dataset Parameter Area (DSP) 1.DP-1 Field Word Bits Description DPDN o 0-55 Dataset name DPBSY 1 o Busy flag, circular I/O: o 1 DPERR OPEOI DPENX OPEOP DPEPD OPEBN OPEDE DPEHE DPERW DPEPT DPSTS 1 1-12 1 1 1 2 3 4 1 1 1 1 1 1 5 6 7 8 1 1 9 1 14-15 10-12 Not busy Busy Error flags: End of data on read; write past allocated disk space on write Dataset does not exist Dataset not open Invalid processing direction Block number error Unrecovered data error Unrecovered hardware error Attempted read after write or past EOD Dataset prematurely terminated Reserved Status: 00 10 01 11 Closed Open for input (I) Open for output (0) Open for I/O DPBFI 1 16-24 Blank compression character in ASCII (BFI=77 8 implies no compression) DPTCS 1 30-31 Tape dataset character set DPTP 1 32-33 Tape dataset (online/staged) DPTRAN 1 34 Transparent mode for interactive dataset DPIA 1 35 Dataset is interactive DPMEM 1 36 Dataset is memory resident DPRDM 1 37 Random dataset flag: o Sequential dataset 1 SM-0045 1.DP-2 Random dataset Field Word Bits Description OPUOS 1 38 Undefined dataset structure: o COS blocked dataset structure 1 Undefined dataset structure OPENO 1 39 Write end-of-data flag DPFRST 1 40-63 Address of first word of buffer OPIBP 2 10-15 Bit position in current input word (logical I/O) OPIBN 2 16-39 Block number, read request System reads from block number until buffer is filled. The next block number is then in word 2. OPIN 2 40-63 Address of current input word OPRBC 3 3-9 Remaining blank count OPOBP 3 10-15 Bit position in current output word OPOBN 3 16-39 Block number, write request System writes from block number until buffer is empty. The next block number is then in word 3. OPOUT 3 40-63 Address of current output word DPUEOF 4 o Uncleared end-of-file (EOF) OPTBN 4 16-39 Temporary block number; used by random I/O for last block read OPLMT 4 40-63 Address of last word+l of buffer. minus FRST defines buffer size. DPEOR 5 o EOR flag OPEOF 5 2 EOF flag DPEOD 5 3 EOD flag SM-0045 1.DP-3 LMT Field Word Bits Description DPRW 5 4 Previous operation read/write flag o Read Write 1 DPPFI 5 5-24 Previous file index; backward index to block containing previous EOF DPPRI .5 25-39 Previous record index; backward index to block containing previous EOR DPRCW 5 40-63 Control word address: Previous RCW address if in write mode Next RCW if in read mode DPLPW 6 0-63 Last partial word; used for character mode I/O DPBIO 7 o Buffered I/O busy: o Buffered I/O operation complete Buffered I/O operation incomplete 1 DPBER 7 1 Buffered I/O error flag DPBF 7 2-9 Function code: 000 010 040 050 052 056 DPBPD 7 4 Read partial Read record write partial write record Write end-of-file Write end-of-data Processing direction: o Read 1 DPBEO 7 6-9 Write Termination condition: 00 10 12 16 SM-0045 1.DP-4 Partial Record File, write only Dataset, write only Field Word Bits Description DPBUBC 7 10-15 Unused bit count; must be specified on a write record request. Value returned on a read request. DPBWC 7 16-39 Word count: number of words at DPBWA to read or write. Field contains actual number of words read when request is completed. DPBWA 7 40-63 Word address of user data area 8-15 Used by TIO as follows: 11 11 12 0-63 0-63 0-63 16-39 40-63 16-39 40-63 0-7 12 12 12 13 13 13 14 14 14 15 8-15 16-39 40-63 16-39 40-63 0-63 0-15 16-39 40-63 0-63 DPTPS 16 0-15 Online tape status DPTPN 16 16-21 Tape noise block size in bytes DPTPB 16 22-39 Tape max. block size in bytes DPTPV 16 40-63 Tape pointer to label definition table DPTPD 17 0-1 Tape density DPTPL 17 2-4 Tape label type DPTPF 17 5-6 Tape format DPTPR 17 7-14 Tape recovery options DPTM 8 9 10 10 SM-0045 (T. ZA) (T. ZB) (B. ZA) (B.ZB) (B.ZC) (B. ZD) JTA length/1000S when registers are saved Bits 0-7 of RBLK/WBLK A5 (B.ZE) RBLK/WBLK BO DNT address (A 7) JXT address RBLK/WBLK S5 during task recall Bits 8-23 of RBLK/WBLK AS RBLK/WBLK A2 RBLK/WBLK A3 RBLK/WBLK S6 1.DP-5 Field Word Bits Description DPTPC 17 15 Tape cataloged dataset DPTPM 17 16 Tape online maintenance access DPTPP 17 17-19 Tape parallel device count 18-22 0-63 Reserved for future use by logical I/O 23 12 FORTRAN file status DPDEL o- Keep 1 - Delete DPBLNK 23 13 FORTRAN numberic input blank conversion o - Null 1 - Zero DPDIR 23 14 FORTRAN direct access flag DPUFMT 23 15 FORTRAN unformatted I/O flag DPRECL 23 16-39 FORTRAN direct access record length (in number of characters) DPNXRC 23 40-63 FORTRAN direct access next record number SM-0045 l.DP-6 1.DR DEVICE RESERVATION TABLE - DRT STP contains a Device Reservation Table (DRT) for each logical mass storage device known to the system. The table (figure 1.DR-2) consists of a header and a bit map. Each bit in the bit map represents one track on a disk. A set bit implies that the track is in use. o 8 16 24 o 40 48 56 63 LDV MAU 1 2 32 1 AlA 1///////////////1 PDA ///////////////////////////////////////1 SZ 3 MAP 67 ----_._--------------------- -------Figure 1.DR-l. Device Reservation Table (DRT) Field --- Word Bits Description DRLDV 0 0-63 Logical device name DRMAU 1 0-15 Maximum allocation units less flaws DRPDA 1 16-31 Number of Als used for permanent dataset DRAIA 1 48-63 Total available Als (number of unused bits) DRSZ 2 40-63 DRT map size in words DRMAP 3-67 0-63 Bit map, one bit per track SM-0045 1.DR-l 1.DT DEVICE CHANNEL TABLE - OCT The Device Channel Table is STP-resident and is used by the disk driver to report completion of I/O and to report disk status. The OCT acts as a link between the channel and the Equipment Table (EQT). Figure 1.DT-l illustrates the Device Channel Table. HEADER o 8 o 16 TN 24 32 63 40 48 56 1//////////////////////////////////////// --- 1 SUB 1//////////////////////////////////////////////////// 2 FIN 1//////////////////////////////////////////////////// 3 ACK 1//////////////////////////////////////////////////// 4 QUE 1//////////////////////////////////////////////////// ENTRY RSV~~~~NU_A__~I_-__-_~-~'___E_R_R____________________E._Q_T_________ 1 OFF OA BRK TIF 2 CTA Figure 1.DT-l. Device Channel Table (OCT) HEADER Field Word Bits pescriEtion DTTN 0 0-23 Table name; "OCT" in ASCII DTSUB 1 0-11 Submitted channel bit map DTFIN 2 0-11 Completed channel bit map DTACK 3 0-11 Acknowledged channel bit map DTQUE 4 0-11 Queued channel bit map SM-0045 1.DT-l ENTRY There is one entry per channel. Field -- Word Bits Description DTRSV 0 0 Channel reserved DTOFF 0 1 Channel off DTIA 0 2 Input channel active DTOA 0 3 Output channel active DrrCRCL 0 4 Clear recall flag DTBRK 0 5 Break streaming flag D'rNUA 0 8-15 Number of units active DrrERR 0 16-39 cumulative channel error count D'rEQT 0 40-63 Active equipment EQT address DT'rIF 1 0-63 Time function issued DTCTA 2 0-63 Cumulative channel reserved time SM-0045 l.DT-2 1.DV DEVICE LABEL - DVL A device label resides on the device and is initialized by deadstart initialization. The device label contains a flaw table for the device. The device label for the master device also contains a pointer to the Dataset Catalog. Figure 1.DV-1 illustrates a DVL table. o 16 8 o LBL 24 32 40 48 56 63 I//////////////////////////////////~/~~ 1 LDV 2 ~ -----------------, 00 3 5 I OVP I ///////////////////////////////////////////////1 6 //////////////////////////////////////////////////////////////// 4 /////////////// I SOP HSP FLC //////////////////////////////////////////////////////////////// FLT 256 257 //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// DSC 512 513 ///////////////////1///////1////////////////////////////1/////// ///////////////////1//////////////////////////////////////////// 1023 /1////1///////////11/////////////////111 Figure 1.DV-l. CKS Device Label (DVL) Field Word Bits Description DVLBL 0 0-23 Device label indicator; nDLB" in ASCII DVMD 0 63 Master device flag DVLDV 1 0-63 Logical device name DVRT 2 0-63 Real-time clock when DVL was wr itten SM-0045 1.DV-1 Field Word Bits Description DVOD 3 0-63 LDV of device where overlay area preallocation begins (master label only) DVSDP 4 16-31 First track of system dump area 4 16 DVOVP 4 32-47 DSC overflow pages if DVMD=O (master device) DVHSP 4 48-63 DSC hash pages if DVMDFO (master device) DVFLC 5 48-63 Number of used AIs DVFLT 256 0-15 List of reserved Als such as flaws, FE tracks, etc. DVDSC 512 0-63 Dataset Catalog OAT page images if DVMD~O (master device) DVCKS 1023 40-63 Checksum DVOVL SM-0045 First AI of overlay area/on device identified in (DVOD) (master label only) 1.DV-2 This STP-resident table is used for working storage by the disk driver, for disk allocation, for passing requests to the disk driver, and for queue management. The EQT is illustrated in figure I.EQ-l. HEADER a 8 o 16 24 TN 32 40 1///////////////1 48 56 63 NE NUA ENTRY MSD NA 0 OFF RLS DT ~5:[' RCH __I}1111j.!}II 2 UP CPO I TPC ACT LST ///////////////1 1///////1 7 NPR 8 NRT 11 12 ~~~//I " RET SC CYL I TRK 1 SEC RSC TO .CLM MGN DBD ISZ CA TRY TA I MA SA ERR DSP 13 ECYL RER 14 FCT 15 STS 16 IB1 17 IB2 18 IB3 19 IB4 20 IB4 Figure 1.EQ-l. SM-0045 LNK QH CST 10 _D_R_T_ _ _ __ QT 6 9 x-= AU 4 5 UTI CH2 I CHl I I QL 3 LDV Equipment Table (EQT) 1.EQ-1 I EHD I ESCT HEADER Field Word Bits Description EQTN o 0-23 Table name: "EQT" in ASCI I EQNUA o 40-47 Next unit to be allocated EQNE o 48-63 Number of entries in table Field Word Bits Description EQLDV o 0-63 Logical device name EQMSD 1 o Master device flag EQOFF 1 1 unit off EQNA 1 2 unit not available EQRLS 1 3 Flag set if datasets involving this LOV are to be released EQUP 1 4 *up flag: set if *up parameter is present in parameter file. This allows Startup to write a new device label if there is none so that new devices can be added without requiring an INSTALL type Startup. EQDT 1 5 Disk type: ENTRY o 00-19 1 00-29 EQRCH 1 8-15 Processor channel number EQCH2 1 26-31 Secondary channel number EQCHl 1 32-37 Primary channel number EQUTl 1 38-39 Primary unit number EQORT 1 40-63 DRT address EQCPO 2 0-15 Cylinders per disk EQTPC 2 16-23 Tracks per cylinder SM-0045 1.EQ-2 Field Word Bits Description EQAU 2 24-39 Blocks per allocation unit (sectors per track) EQLNK 2 40-63 Link to next equipment on channel EQQL 3 0-15 Queue length EQQT 3 16-39 Queue tail pointer EQQH 3 40-63 Queue head pointer EQACT 4 0-63 Anticipated on cylinder time EQLST 5 16-31 Logical status EQCYL 5 40-51 Last cylinder position EQTRK 5 52-57 Last track position EQSEC 5 58-63 Last sector position EQCST 6 0-63 Cumulative seek time EQNPR 7 0-63 Number of physical requests EQNRT 8 0-63 Number of requests EQRSC 9 0-63 Number of requests not requiring a seek EQTD 10 o Transfer direction o 1 Read Write EQRET 10 1 Retry flag EQCLM 10 2 Clear margin flag EQMGN 10 8-23 Last margin flag EQISZ 10 24-39 Buffer increment size EQDBO 10 40-63 Driver's saved BO EQSC 11 0-15 Remaining sector count SM-0045 l.EQ-3 Field Word Bits Descr iption EQCA 11 16-27 Current cylinder address EQTA 11 28-33 Current track address EQSA 11 34-39 Current sector address EQMA 11 40-63 Current memory address EQTRY 12 0-15 Retry count EQDSP 12 16-39 DSP address or 0; used to pass DSP address to EXEC EQERR 12 40-63 Total disk errors EQRER 13 16-39 Recoverable error count EQECYL 13 40-51 Last cylinder error address EQEHD 13 52-57 Last head error address EQESCT 13 58-63 Last sector error address EQFCT 14 0-63 Beginning of 6-word a com buffer EQSTS 15 0-63 Edited status EQIB1 16 0-63 Input buffer 1 EQIB2 17 0-63 Input buffer 2 Contain error EQIB3 18 0-63 Input buffer 3 correction vector EQIB4 19 0-63 Input buffer 4 EQATO 20 0-63 lOP Disk Timeout Save word SM-0045 I.EQ-4 I.IB INTERACTIVE BUFFER TABLE - IBT The Interactive Buffer Table is STP resident and is used to manage the interactive Buffer Pool Table. HEADER a o 1 16 8 24 32 40 1///////////////1 TN ///////////////////////////////1 Figure 1.IB-1. 48 56 63 56 63 NBA BPA WPB Interactive Buffer Table (IBT) header Field Word Bits Description IBTN 0 0-23 Table name IBNBA 0 40-63 Number of available buffers IBWPB 1 32-39 Words per bit IBBPA 1 40-63 Buffer pool beginning address ENTRY o 8 16 24 32 40 o BM . 7 Figure 1.IB-2. Field IBBM SM-0045 0-7 IBT entry Bits Description 0-63 Bit map 1.IB-1 48 1.JC JOB COMMUNICATION BLOCK - JCB The first 128 words of each user field comprise the Job Communication Block. The JCB is accessible to the user. o o 1 16 24 31 //////////////////////////////1 40 48 56 63 POS (Available for scratch space) 5 CCI 16 CPR 65 66 1//////// IN 64 ///////////////1 NPF I HLM BFB I I 1//lOAP/////////////////1 FL OSP LFT CSOB 69 70 C~ 71 ACN 72 ACNl 73 P~ 74 P~l 75 //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// LOR 102 103 //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// Figure 1.JC-l. SM-0045 Job Communication Block (JCB) 1.JC~1 o 24 118 31 BOAT 119 BTIM 16 40 48 56 63 120 DIG . 127 Figure 1.JC-l. Job Communication Block (JCB) (continued) Field Word Bits Description JCPOS o 31-63 Current $CS position JCCCI 5-15 0-63 Control statement image packed 8 characters per word JCCPR 16-63 0-63 Control statement parameters, expanded to 2 words per parameter JCJN 64 0-55 Job name; bits 56-63 must be 0 JCHLM 65 16-39 High limit of user code JCFL 65 40-63 Current field length JCNPF 66 0-15 Number of physical buffers and datasets JCBFB 66 16-39 Base address of I/O buffers JCDSP 66 40-63 Base address of DSP area JCNLE 67 0-15 Number of entries in LFT JCLFT 67 40-63 Base of LFT JCSIM 68 o Simulator flag JCCSDB 68 1 CSP debug flag JCBP 68 2 JOB statement breakpoint (BP) flag JCMRF 68 3 Memory request flag. If set, dynamic field management by CAL, LOR, etc. is not allowed. SM-0045 1 .. ,JC-2 Field Word Bits Description 68 4 I/O area current status flag o User's I/O area is unlocked 1 User's I/O area is locked 68 5 I/O area previous status flag o User's I/O area is unlocked 1 User's I/O area is locked JCIA 68 6 Interactive flag JCCHG 68 7 Execute charges for trailer message JCJBS 68 8 Job statement flag (if set, JOB statement just processed) JCEFI 69 o Enable floating interrupt flag~ used by $FTLIB math routines to reset floating point interrupt flag JCCRL 70 0-63 COS revision level 70 32-63 JCACN 71 0-63 Account number (characters 1-8) JCACNl 72 0-63 Account number (characters 9-15) JCPWD 73 0-63 Password (characters 1-8) JCPWOl 74 0-63 Password (characters 9-15) JCLDR 102 0-63 Unsatisfied externals JCBDAT 118 0-63 Date of absolute load module generation JCBTIM 119 0-63 Time of absolute load module generation JCDIG 120-127 0-63 Reserved for diagnostics JCCRLS s COS revision number Deferred implementation SM-0045 1.JC-3 1.JT JOB TABLE AREA - JTA The JTA (figure 1.JT-1) for a job resides below the field for the job and is not accessible to the user. a 16 24 32 Os IN lS TSX 28 TSW 3S TSD 4S lOB 5S lOR 68- 78 USR. 40 56 4S 63 I11111111 BKP lOS 1111111111111111111111111111111111111111111111111111111111111111 20 8 XP 1111111111111111111111111111111111111111111111111111111111111111 40S 41 8 STR VM ~IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII CSTK 42a 60a 11111/1//1///1//111/111/11111111111111/1/1/111111111111//1/11111 /111///////////11 TBLL .1 TBL 61S 11111/1///1/1111111111111111111111/11111111111111111111111111111 NLE Ji//I/IIIIIIIIIIIIIII//il TSXL BlOC DTS Figure 1.JT-l. SM-0045 1.JT-l Job Table Area (JTA) FLF 8 668 16 24 IEP~PJIIIIIIII EP~ ~II 32 40 I SOT EPF I .___ ERe I11111111111111111111111I liE Mil 718 IleROIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 73 8 56 63 XPR E_p_P_ _ _ _ _ I ______E_P_A_ _ _ __ 708 72 8 48 ~/IIIIIIII/IIIIIIIIIIIIIIII/IIIIIIIIIII SID 1//111111 DID PM Ioeu Ioe JXT TID XMI OMI ,~~r--i~"'ii'T1it~~~tI-1 I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I 1008 B 2008 T 3008 VO to V7 13008 DMP 13208 CDP Figure 1.JT-1. SM-0045 Job Table Area (JTA) 1.JT-2 (continued) ° 8 16 24 32 134°8 LOP 136°8 EOP 14°°8 MSG 40 142°8 POD or EON 144°8 AREG 145°8 SREG 146°8 OTM 48 56 63 //////////////////////////////////////////////////////////////// 166°8 CCl 16728 OON 16748 JCB 16778 CHK 17°°8 ST 17018 FEFW 17028 MSK WUP RXP 17038 ACN 17048 ACN1. 17058 PWD 17068 PWD1 17078 MXM 1710 8 PFA 17118 TFS 17128 I MIM OPC PFS MRD BRF CLC 1//////////////// BSF TERM //////////////////////////////////1//1//1/////////////////////// 17408 AO F i 9ure l.JT-l. SM-0045 Job Table Area (JTA) 1.JT-3 (continued) 8 16 32 24 17508 so 17608 INS 40 48 56 63 11111111111/1111111111111111111111111111111111111111111111111/11 CSB 2000s 1111111111111111111111111111111111111111111111111111111111111111 3000 S LGF 4000s 1111111111111111111111111111111111111111111111111111111111111111 L JSQ 1//1111/1///1/11//1/111/1 4001S II///I////II//I~ --------------------,-------------MRCC RL 4002S-(W@JTADL+LE@DDL-1)~MR ADL W@JTADL+LE@DDL DPS W@JTDPS+1 LFL (W@JTLFL+1)-(W@JTJXTI-61S) JXT:r (W@JTJXT1D ' 50) RDAT W@JTRDAT+L@JTRDAT POOL W@JTPOOL+l DHN W@JTDNH+1 CS W@JTCS+LE@DNT+3 LOG Figure 1.JT-1. SM-0045 Job Table Area {JTA} 1.JT-4 (continued) NOTE The words in the word column below are shown in octal. Field Word Bits Description JTJN o 0-55 Job name; bits 55-63 must be 0 JTTSX 1 0-63 Time spent executing in CPU (cycles) JTTSW 2 0-63 Time spent waiting to execute (cycles) JTTSD 3 0-63 Time spent waiting for I/O completion JTIOB 4 0-63 Disk blocks transferred JTIOR 5 0-63 User I/O requests JTUSR 6-7 0-63 User number: 1-15 characters JTBKP 10 0-63 Breakpoint registers 10 10 10 0-15 16-39 40-63 JTXP 20 0-63 Exchange package JTVL 23 24-30 vector length JTVM 40 0-63 vector mask JTSTR 41 o Job streaming bit JTCSTK 42 0-63 Control statement file stack JTTBLL 60 16-39 Length of eSP-managed table area JTTBL 60 40-63 Address of eSP-managed table area JTNLE 62 0-15 Number of LFT entries in JTA JTFLF 62 40-63 Point to first of JTA LFT chain JTTSXL 63 0-63 Time spent executing at last disconnect JTBIOC 64 0-63 Buffered I/O request count JTBKPP JTBKP2 JTBKPI SM-0045 Breakpoint instruction parcel Breakpoint parcel address 2 Breakpoint parcel address 1 1.JT-5 Field Word Bits Description JTDTS 65 0-63 Date/time of last rollout; must be in first sector of roll dataset JTSDT 66 16-39 SDT address used by RLD in EXP JTXPR 66 40-63 Return address used by Exchange Processor JTEPX 67 0-1 Exchange Processor request word: 1 2 Error exit (bit 1 set) Normal exit (bit 0 set) JTEPC 67 2 Flag set if JTEPA has a continuation address JTEPJ 67 3 Flag set if request made by Job Scheduler 67 4 Flag set if JTA expansion is requested for additional DAT space 67 7-15 Flags from user exchange package JTEPP 67 16-39 P register from user exchange package JTEPA 67 40-63 continuation address in EXP JTERC 70 7-15 Reprieve error code JTPM 70 40-63 PDD address; used in DISPOSE processing JTIOCU 71 40-6,3 User field I/O count; includes buffer in and buffer out requests and I/O requests with DSP JTCRO 72 o Outstanding reply from DQM to CIO; must be cleared before job can be expanded or contracted JTIOC 72 40-63 Count of active I/O requests or functions JTSID 73 0-15 Source ID; 2 characters JTDID 73 16-31 Destination ID; 2 characters SM-0045 1.JT-6 Field Word Bits Descrietion JTJXT 73 40-63 JXT entry address JTTIO 74 0-63 Terminal IO JTXMI 75 0-63 Memory integral based on execution time JTOMI 76 0-63 Memory integral based on I/O wait time JTSEC 77 0 Security flag; set if CSP executing JTTLE 77 1 Time limit expired once JTDMPF 77 2 Dump-in-progress flag JTEXIT 77 3 EXIT statement flag JTEOF 77 4 End-of-file on $CS flag !JrrKIL 77 5 Job killed flag JTRRN 77 6 Job rerun flag JTIDP 77 11 Inhibit dumpjob processing flag JTEXO 77 12 Execute-only dataset open flag JTEFI 77 13 Enable floating interrupt flag JTDLM 77 14 Disable log message JTTRM 77 15 Job in termination flag JTABT 77 16 Job abort flag JTCMSG 77 17 Enable conditional messages flag JTLGFL 77 18 $LOG size exceeds I@LGUSZ JTJCBX 77 19 JCB bad flag JTSTAT 77 20 Request dataset statistics flag JTTRMl 77 21 Second pass through TRM flag JTINIT 77 23 Job initiated flag JTNRR 77 24 Not rerunnabale if set JTNRO 77 25 Disables no rerun if set SM-0045 1.JT-7 Field Word Bits Description JTIOAC 77 26 I/O area current status flag o user's I/O area unlocked 1 user's I/O area locked JTIOAP 77 27 I/O area previous status flag o user's I/O area unlocked 1 user's I/O area locked JTOSUP 77 28 Interactive output suspended (recovery) JTISUP 77 29 Interactive input suspended (recovery) JTIA 77 30 Interactive flag 77 31 Control statement skip flag JTMAC 77 32 Flag to move account number/password to JTA JTB 100-177 0-63 B registers JTT 200-277 0-63 T registers JTVO 300-377 0-63 VO register elements JTVI 400-477 0-63 Vl register elements JTV2 500-577 0-63 V2 register elements JTV3 600-677 0-63 V3 register elements JTV4 700-777 0-63 V4 register elements JTV5 1000-1077 0-63 V5 register elements JTV6 1100-1177 0-63 V6 register elements J 1rV7 1200-1277 0-63 V7 register elements JTDMP 1300-1317 0-63 Copy of exchange package for error processing JTCDP 1320-1337 0-63 Control statement ($CS) DSP JTLDP 1340-1357 0-63 Log file ($LOG) DSP SM-0045 1.JT-8 Field Word Bits Description JTEOP 1360-1377 0-63 EXU OSP; also used by OUMPJOB .1TMSG 1400 .... 1417 0-63 Last logfile message issued JTPOO 1420-1437 0-63 Permanent dataset descriptor entry used by job termination JTEON 1420-1427 0-63 ONT for EXU JTAREG 1440-1447 0-63 A-register save area for RESUME/CONTINUE only JTSREG 1450-1457 0-63 S-register save area for RESUME/CONTINUE only JTOTM 1460-1657 0-63 Save area for Task I/O JTCCI 1660-1671 0-63 80 characters of control statement being prescanned JTOON 1672-1673 0-63 2-word OON table used by RELEASE and DISPOSE JTJCB 1674-1676 0-63 Three words from user JCB starting with W@JCHLM JTCHK 1677 0-63 Reprieve checksum supplied by user JTST 1700 0-63 Reprieve status word JTFEFW 1701 0-63 Reprieve fatal error flag word 1701 1701 1701 1701 1701 1701 1701 1701 1701 1701 1 2 3 4 5 JTFE03 JTFE10 JTFE11 JTFE23 JTFE24 JTFE41 JTFE58 JTFE51 JTFE43 JTFENR 6 7 8 9 63 No OAT space No disk space SOR is full Job time limit exceeded Operator dropped user job Enter allowed on ACCESS only Error exit LFT chain pointer invalid User log size invalid Not reprievab1e JTMSK 1702 0-15 Reprieve mask JTRXP 1702 16-39 Reprieve XP address in user area SM-0045 1.JT-9 Field --- Word Bits Description JTWUP 1702 40-63 Reprieve entry address in user area JTACN 1703 0-63 Account number (characters 1-8) JTACNI 1704 0-63 Account number (characters 9-15) J'rpWD 1705 0-63 Password (characters 1-8) JTPWDI 1706 0-63 Password (characters 9-15) JTMXM 1707 0-23 Maximum amount of memory used J'rMIM 1707 24-47 Minimum amount of memory used JTOPC 1707 48-63 Number of open calls J'fPFA 1710 0-23 Permanent file space accessed JTPFS 1710 24-47 Permanent file space saved J'rcLC 1710 48-63 Number of close calls JTTFS 1711 0-23 Temporary file space used JTMRD 1711 24-47 Number of memory resident datasets JTBRF 1712 0-23 Number of blocks from the front end 1712 24-47 Number of blocks sent to the front end JTTERM 1712 48-63 Termination status o = Normal 1 = User requested abort 2 = System requested abort 3 = Drop 4 = Kill JTAO, ••• , JTA7 1740-1747 0-63 A-register save area for EXP JTSO, ••• , JTS7 1750-1757 0-63 S-register save area for EXP cJTINS 1760-1777 0-63 Reserved for installation JTCSB 2000-2777 0-63 Control statement ($CS) buffer SM-0045 1.JT-10 Field --- Word Bits Description JTLGF 3000-3777 0-63 Logfile ($LOG) buffer JTJSQ 4000 O-lS Job sequence number 4000 40-63 Length of Job Table Area JTMR 4001 1S Memory request outstanding flag ,JTRL 4001 16-39 Requested length of JTA expansion JTMRCC 4001 40-63 count of datasets waiting for JTA memory JTADL 4002-(W@JTADL+ LE@DDL-l 0-63 DOL for OPEN and DUMPJOB: up to six words long JTDPS W@JTADL+LE@DDL 0-63 Control word for Task I/O DSP save area JTLFL W@JTDPS+l 0-63 User last word before rollout 0-63 Image of JXT at rollout 0-63 Image of roll OAT JTJXTI JTRDAT JTPOOL (W@JTLFL+l)(WAJTJXTI-61S (W@JTJXTI+62 S (W@JTRDAT+307S First word of JTA memory pool W@JTRDAT+310S 0-63 JTDHN JTDBL JTDFL JTCS JTLOG SM-004S W@JTPOOL+l W@JTPOOL+l W@JTPOOL+l W@JTONH+l W@JTCS+ LE@ONT+3 0-63 Head of the ONT chain 16-39 40-63 DNT backward link NNT forward link 0-63 Control statement ($CS) ONT 0-63 Logfile ($LOG) ONT 1.JT-ll l.JX JOB EXECUTION TABLE - JXT The JXT in STP memory contains an entry for each job that has begun processing. The JXT is used to control all active jobs in the system. The JXT may contain from 1 to 63 entries; the firest entry is reserved for the operating system, itself. The JTA entry and the JXT entry for a particular job contain each other's addresses. Word 0 in both entries contains the 7-character job name. A JXT entry is illustrated in figure 1.JX-1. 0 8 0 40 56 48 ORO STCH 2 STAT 3 4 NR IEPC SOT BLO FLO I. JTA RJS CJS CP P 63 1//////// IN 1 5 32 24 16 MP DNT 6 TSX 7 lOB 8 MEM 9 EW 10 OLY 11 TL 12 LFM //////////////////////////////////////////////////////////////// 22 SUS 23 TSXI 24 lOBI. Figure 1.JX-1. SM-0045 Job Execution Table (JXT) entry 1.JX-l 0 8 16 24 25 DTI 26 LRC 27 LSC 28 LISC 29 PI 30 P2 NRR~ T~ 32 Figure 1.JX-l. 48 56 63 P3 DMR IA ~RL!..-URLM ~ SW r~~ ~URUM 40 32 JTL AUT Job Execution Table (JXT) entry (continued) Field Word Bits Description JXJN o 0-55 Job name JXSTCH 1 0-55 Job status in displayable form (7 characters) JXORD 1 56-63 Ordinal number (0-63) of the JXT entry JXS'fAT 2 0-22 Status~ JXEPC 2 23-27 Reason for abortion if the A status bit is set See Job Scheduler equates for A$ xxx in COS for abort codes. JXNR 2 28-39 Number of times the job has been rolled in JXJTA 2 40-63 Job table area address JXSDT 3 0-15 SOT offset for this job's SOT entry JXBLO 3 16-27 Backward link as a JXT offset JXFLO 3 28-39 Forward link as a JXT offset JXRJS 3 40-63 Requested job size including JTA JXCP 4 0-39 CPU priority (based on resource use) SM-0045 1.JX-2 see part 1, section 3.8.6 Field Word Bits Description JXCJS 4 40-63 Current job size including JTA JXP 5 0-7 Priority from JOB statement JXMP 5 8-39 Floating memory priority (based on JXP) JXDNT 5 40-63 Rolled immage's DNT entry address JXTSX 6 0-63 Time spent executing as of last rescheduling JXIOB 7 0-63 Disk blocks transferred as of last rescheduling JXMEM 8 0-63 Saved memory request word (J$ALLOC) JXEVW 9 0-63 Saved event word (JSAWAIT) JXDLY 10 0-63 Wake-up time in cycles (J$DELAY) JXTL 11 0-63 Time limit in cycles JXLFM 12 0-63 Last logfile message JXSUS 22 0-63 Reply word for JSSUSPK JXTSXI 23 0-63 Time spent executing in past scheduling interval JXIOBI 24 0-63 Disk blocks transferred in past scheduling interval JXDTI 25 0-63 Data and time initiated JXLRC 26 0-63 Date and time of last residence change JXLSC 27 0-63 Date and time of last status change JXLISC 28 0-63 Date and time of last I/O status change JXPI 29 0-63 Temporary storage word 2 for TRACEMP JXP2 30 0-63 Temporary storage word 2 for TRACEMP JXP3 31 0-63 Temporary storage word 3 for TRACEMP JXNRR 32 o Job rerun flag; set if job cannot be rerun SM-0045 l.JX-3 Field Word Bits Descr iption JXTRM 32 1 Job in termination flag JXSW 32 2-7 Sense switches JXDMR 32 8 Don't-mark-recoverable flag - set when a request is made to declare a job non-recoverable~ cleared when the job is connected. JXIA 32 9 Interactive flag JXLVL 32 10-12 Current procedure level JXURLL 32 13 UROLL request indicator JXURLM 32 14 System log message indicator JXURUM 32 15 User log message indicator JXAUT 32 16-39 Address of Active User Table (AUT) for interactive jobs JXJTL 32 40-63 Length of the Job Table Area (JTA) There are four temporary tables for displaying the name, SOT offsets, CPU priority, memory priority, and status for each job in the JXT. These tables, Which will be removed when a complete job display is implemented, follow the JXT and precede the MST in memory. Each table consists of a single word for each JXT entry; in each table, the initial ~ntry (for JXT ordinal zero) contains the table description is ASCII (that is, "NAME+SDO", "CPU PRI", "MEM PRI", or "STATUS"). The first table (job names and SDT ordinals) immediately follows the JXT. The SOT ordinal occupies the rightmost 8 bits of a word in this table. The remainder of the word is needed for the 7-character name. The second and third tables (CUP and memory priorities) contain floating point values in ASCII to four decimal places. Entries in these tables are updated by the Job Scheduler at the end of each scheduling interval when the priorities are recomputed. However, if there are fewer than I@AGECP is zero, the CPU priority algorithm and is either 0 or 1. I@AGECP also is o or 1; if it is 0, aging of CPU priorities is disabled and the changing memory priorities are used instead.) Similarly, if there are no unsatisfied memory requests, the memory priorities are not recomputed. The fourth table (job statuses) immediately precedes the MST. It contains copies of the JXSTCH and JXORD fields from the JXT. The appropriate entry is updated whenever the status of a job is changed by the Job Scheduler. SM-0045 1.JX-4 1.LC LINK CONFIGURATION TABLE - LCT The Link Configuration Table resides in STP memory. for each physically connected front-end. It contains an entry Figure 1.LC-l illustrates the LCT format. HEADER o 8 o 16 NM 24 40 48 56 1///////////////////////////////1 63 NA ENTRY ON o 1 CHO rli / / / / / / / / / / / / / / / / / / / / / / / / / / 1CHT 1 ///////////////1 DBS Figure 1.LC-l. CHN NID ST SBS Link Configuration Table (LCT) HEADER -Field Word Bits Description LCNM o 0-23 Table name 1 "LCT" in ASCII LeNA o 56-63 Number of active physical channels SM-0045 1.LC-l ENTRY Field Word Bits DescriEtion LCCHO 0 0-7 Channel ordinal (used with lOP) LCON 0 8 Channel configured on flag LCCHT 0 36-39 Channel type LCCHN 0 40-47 Software channel pair number LCNID 0 48-55 Number of logical IDs for channel LCST 0 56-63 Number of streams per physical channel LCOaS 1 16-39 Size of disk butfer LeSBS 1 40-63 Maximum size of segment SM-0045 1.LC-2 1.LG LOG TABLES - LGI, LGR, LGUQ 1.LG.l REQUEST WORD TO MSG - LGI FCU FCS~~/////I 10 I SUB TYP Figure 1.LG-l. 19 40 25 LEN I111111111111111111111111 Request word to MSG (LGI) Field Word Bits Description LGIFCS 0 0 System log flag LGIFCU 0 1 User log flag LGIFC 0 2 Function code LGITYP 0 10-18 Major type LGISUB 0 19-24 Subtype LGILEN 0 25-39 Length 1.LG.2 U~ RECORD IN SYSTEM LOG - LGR o 8 16 24 48 40 56 63 32 .__________________________T_I_M _____________________________ 1 ~I TYP I SUB I1111111I 2 JSQ IN Figure 1.LG-2. SM-0045 63 Record in system log (LGR) 1.LG~l LEN Field word Bits Description LGRTIM o 0-64 Time LGRU 1 o User flag; message also in $LOG LGRTYP 1 1-9 Major type LGRSUB 1 10-15 Subtype LGRJSQ 1 24-39 Job sequence number, if associated with a job, otherwise 0 LGRLEN 1 40-63 Length LGRJN 2 0-63 Jobname, if associated with a job 1. LG • 3 RECORD IN MEMORY POOL 0 8 16 0 24 32 Chain item words 40 48 63 56 1 2 L 1/////////////////1 3 R or BCW 4 TI or IAT 5 6 CI CF S 7 1D 8 T Figure 1.LG-3. SM-0045 JX JQ LV $LOG Record in Memory Pool (LGUQ) 1.LG-2 SP Field Word Bits Description LGUQL 2 0-5 Length of $LOG record LGUQJQ 2 24-39 Job sequence number LGUQJX 2 40-63 LGUQR 3 0-63 Spaces LGBCW 3 0-63 SCW for interactive message LGUQTI 4 0-63 Time LGIAT 4 0-63 Text area for interactive message LGUQCI 5 0-63 CPU TIME (integer portion LGUQCF 6 0-31 CPU time (fractional portion) LGUQS 6 32-47 Two spaces LGUQLV 6 48-55 Procedure level LGUQSP 6 56-63 Spare space LGUQID 7 0-63 Task ID LGUQT 8-n 0-63 Message text l.LG.4 . JXT address LOG JXT TABLE - LGJ The LGJ table contains a wone-word entry for each job having records placed in its user logfile ($LOG). The entries are in the same ordinal positions as their JXT entries. o RO 10· QR I/I~ / / 16 24 ////////// I IO Figure l.LG-4. SM-0045 $LOG Record in JXT Table (LGJ) l.LG-3 63 49 QA JSQ Field 'Word Bits Descrietion LGJRO 0 0 Rollout flag - Log Manager tries to write message to this job while it was rolled out LGJQR 0 1-8 Number of queue entries remaining LGJIO 0 10 I/O busy flag LGJQA 0 24-47 Address of queue entry LGJJSQ 0 48-63 Job sequence number SM-0045 1. LG-4 1.LS LINK INTERFACE STREAM TABLE - LST Eight input stream LSTs and eight output stream LSTs are contained within each LXT entry. Each LST is used only by the Station Call Processor and contains SCP working storage. Figure 1.LS-l illustrates an LST format. 0 0 STN 8 1 RSF 1 CSSC SSC 2 SBRF 3 16 1 24 32 40 1 NEXT 48 LX SDT SGN PRSE RSC //PR///////////I SBZ ~~~///////////I 56 RSCZ RSCT SBB DBZ DBB 5 /TEiw/too/// / / 1 SPR FRST 6 ///////////////1 SBL IN 7 ///////////////1 PDD OUT 8 RTN LMT 9 ///////////////1 STC sse 10 ///////////////1 1////////1 SVI 11 CSCZ 1// / / / //1 CSCT Figure 1.LS-l. SV2 SV3 Link Interface Stream Table (LST) Field Word Bits Description LSSTN 0 0-7 Stream number LSRSF 0 8-15 Right shift count LSNEXT 0 16-39 Link to next LST LSLX 0 40-63 Extension table address LSCSSC 1 0-7 Current send stream control code LSSSC 1 8-15 Next send stream control code LSSGN 1 16-39 Segment number SM-0045 1.LS-1 63 1<' ield Word Bits Description LSSDT 1 40-63 SDT address LSPRSC 2 0-23 Process received stream control code LSRSC 2 24-31 Received stream control code LSRSCZ 2 32-39 Next received stream control code maximum value LSRSCT 2 40-63 Next received stream control start LSSBZ 3 16-39 Segment buffer size LSSBB 3 40-63 Segment buffer base address LSSBRF 4 o Segment buffer ready LSPR 4 1 Outstanding PUTREQ LSTERM 4 2 Terminate for PPN, CAN, or MCL LSLOG 4 3 LOGON received LSDBZ 4 16-39 Disk buffer size LSDBB 4 40-63 Disk buffer base address LSSPR 5 16-39 Segment buffer pointer LSFRST 5 40-63 Disk buffer "first" address LSSBL 6 16-39 Segment buffer limit address LSIN 6 40-63 Disk buffer "in" address LSPDD 7 16-39 Pointer to PDD for steam request LSOUT 7 40-63 Disk buffer "out" address LSRTN 8 16-39 Return address for deferred processing LSLMT 8 40-63 Disk buffer limit address LSSTC 9 0-30 Send stream transmission word count LSSBC 9 40-63 Segment bit count SM-0045 1.LS-2 Field Word Bits Description LSSVl 10 16-39 Save Al = LIT for common reply LSSV2 10 40-63 Save A2 = LXT for common reply LSCSCZ 11 0-7 Current steam control code maximum LSCSCT 11 16-39 Current steam control code table LSSV3 11 40-63 Save A3 = LST for common reply SM-0045 1.LS-3 1.LT LINK INTERFACE TABLE - LIT The Link Interface Table is STP resident. It is used by both the Station Call Processor and EXEC and contains SCP-EXEC communication areas, working storage, and channel buffers. An LIT entry is assigned by SCP at deadstart to each channel Which is to be used by SCP for link interface cornmunica tions. Figure 1.LT-l illustrates the LIT. o INT~ICHN 8 II 16 20 63 24 32 40 46 --I~D----I----L-X------ ICHTIIIII CHO oN~1'1j7li2oNIIIIIIIIIIIIII 11111111 MSSG I11111I 111111111111111I 2 3 SGZ SZB SSGZ SSZB CBSZ CBS 4 SST I SBC I SBZ SBQH 5 DBT I DBC I DBZ DBQH 11111111111111111111111111111111 11111111 LXC I CNXT 6 7 IA~IIIIIIIIIIIIIIII ILAL LXQH CKSZ NEXT I ILAB 1111111111111111111111111111111111111111111111 9 10 11 12 13 ISSZ IERC 15 11111111 16 ILC 20 I ISAB ITE ITM ITS ITSS I ILL ILB I 1111111111111111//111/111111111111111111 18 19 I SAL ISWC 1111111111111111/111111/1/11/11/1/11/1/11/1/11 111111/1 ISSN I ISSB I ISSL 11111111/1/11111//111/1/111111111111111111111111111111//111111// 14 17 I ILWC INAD INTC IEAB ILCE I I I I I I I If/II I I I I I I I I I I I I I INMD I INFCI INDN I ~ INSN 1111111111/1111//11/111/1111/1111111/1111111111111111111/1111111 ILCP 21 . 1111111111111111/11111111111/1111111111/111111111111111111111111 . 11111111111111111/11111111111111111111111111/1111111111111111111 OA~IIIIIIIIIIIIIIII OLAL Figure I.LT-l. SM-0045 OLAB Link Interface Table (LIT) 1.LT-l o 16 8 20 24 40 32 63 46 OLWC 29 1111111111111111111111111111111111111111111111 OSSZ I OSAL I OSAB 30 11111/1/////////////////1////1/////1////////11 OSWC 31 / 32 /////////////////1////1/1//////////1/////////////////1////1////1 28 I / / / / /1 OSSN 33 OERC 34 11/////1 35 36 39 OSSB OSSL OTM OTSS I OLL 1 OTS 1 OLB 1//1///////////1/1////1///1///11/////1/1 ONAD 1// / / I / ONTC OEAB OLCE ~// /// /I /// ////I I ONMD IONFC ONON 1 It ONSN /1/1/////11///////1////1/////1///1/////1/1///////////1////1///// OLCP 40 · I OTE OLC 37 38 I //////////////////////11/////////////////1//1////1///1////1///// ///1/////1///////1/1/1///////111///1/1/1/////////////1////1///// 46 47 50 XNAD XNTC XLB XEAB XNMO XLCE I//////~///////////////I 1XNFC 1::1J: XNON I XNSN 11/1/////1//11/////////1/1///////1/1/1//////11//11///1////1///// 51 • I XLL 11/1//////11/////1/////1/1/////////1///1 48 49 1 XLC XLCP /////////1//1/11////1////1///11///////////1/1////1///11///////// ///1//////1/1////1/1/////////1/////1/////////////////1////1///// 59 I LTC ILTB ILTP 60 • ILTL /1/1////////////////111/////////11/1/////1/1/////////1/1//1///// /1/1/////1/1///1/////////////1//1////////////////////1/1//1///// 65 OLTC Figure 1.LT-1. SM-0045 OLTL Link Interface Table (LIT) 1.LT-2 OLTB (continued) o 16 8 20 66 24 32 OLTP 40 63 46 //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// 69 XONE 70 ZRO 71 XCKS 72 XLTB XLTL ///////////////1 73 STAT 74 POD Figure 1.LT-1~ Field Link Interface Table (LIT) (continued) Description LTINT o o Channel interrupt flag. Set by EXEC upon completion of 0/1, cleared by SCP. LTCHN o 1-6 Channel pair number (input channel number divided by 2). (SCP) LTCHO o 8-15 Channel ordinal (used with lOP) LTCHT o 16-19 Channel type (copied from LCCHT at deadstart) o 1 Standard channel NSC hyperchannel LTLID 0 24-39 Link 10 (SCP) LTLX 0 40-63 Extension table address (SCP) LTON 1 0 Link on flag LTCON 1 1 Channel on flag. Set by SCP when channel is turned on. Cleared by EXEC LTSGZ 1 22-39 Segment size in words (SCP) LTSZB 1 40-63 Segment size in bits (SCP) LTMSSG 2 8-15 Maximum number of subsegments in a segment (SCP) SM-0045 l.LT-3 Field --- Description LTSSGZ 2 22-39 Subsegment size in words (SCP) LTSSZB 2 40-63 Subsegment size in bits (SCP) LTCBSZ 3 16-39 Channel buffer space size (SCP) LTCBS 3 40-63 Channel buffer space base address (SCP) LTSBT 4 0-7 Total segment buffer count LTSBC 4 8-15 Free segment buffer count LTSBZ 4 16-39 Segment buffer size in words (SCP) LTSBQH 4 40-63 Segment buffer queue head (SCP) LTDBrr 5 0-7 Total disk buffer count LTDBC 5 8-15 Free disk buffer count LTDBZ 5 16-39 Disk buffer size in words (SCP) LTDBQH 5 40-63 Disk buffer queue head (SCP) LTCKSZ 6 32-39 Checksum width LTLXQH 6 40-63 Extension table queue head address LTLXC 7 8-15 Extension table entry count LTCNXT 7 16-39 Link to first active extension table (SCP) LTNEXT 7 40-63 Link to next LIT entry (SCP) LTIA 8 o Input active flag (EXEC) LTILAL 8 16-39 Input LCP absolute limit address (SCP) LTILAB 8 40-63 Input LCP absolute base address (SCP) LTILWC 9 46-63 Input LCP word count (EXEC) LTISSZ 10 0-15 Input subsegment size in words (SCP) LTISAL 10 16-39 Input segment absolute limit address (LCP) LTISAB 10 40-63 Input segment absolute base address (LCP) SM-0045 l.LT-4 Field Word Bits Description LTISWC 11 46-63 Input segment word count (EXEC) LTISSN 12 8-15 Current input subsegment number (EXEC) LTISSB 12 16-39 Input subsegment base address (EXEC) LTISSL 12 40-63 Input subsegment limit address (EXEC) LTIERC 14 0-15 Input error retry count (EXEC) LTITE 14 16-39 Input total error message count (EXEC) LTITM 14 40-63 Input total non-error message count (EXEC) LTITSS 15 8-39 Input total subsegments count (EXEC) LTITS 15 40-63 Input total segments count (EXEC) LTILC 16 0-15 Input LCP buffer word count (SCP) LTILL 16 16-39 Input LCP buffer limit address (SCP) LTILB 16 40-63 Input LCP buffer base LTIEAB 17 40-63 Input LCP extension absolute base address (SCP) LTILCE 18 0-55 Input LCP extension buffer (EXEC) LTINFC 18 56-61 Input LCPE function code LTINMD 18 62-63 Input LCPE mode (EXEC) LTINTC 19 0-7 Input LCPE network trunk control (EXEC) LTINAD 19 15 Input LCPE associated data flag (EXEC) LTINDN 19 32-47 Input LCPE destination (EXEC) LTINSN 19 48-63 Input LCPE source number (EXEC) LTILCP 21 0-63 Input LCP buffer area (SCP) LTOA 27 o Output active flag (EXEC) LTOLAL 27 16-39 Output LCP absolute limit address (SCP) LTOLAB 27 40-63 output LCP absolute base address (SCP) SM-0045 l.LT-5 add~ess (SCP) Field --- Word Bits Description LTOLWC 28 46-63 Output LCP word count (SCP) LTOSSZ 29 0-15 Output subsegment size in words (SCP) LTOSAL 29 16-39 Output segment absolute limit address (SCP) LTOSAB 29 40-63 output segment absolute base address (SCP) LTOSWC 30 46-63 output segment word count (SCP) LTOSSN 31 8-15 Current output subsegment number (EXEC) LTOSSB 31 16-39 output subsegment base address (EXEC) LTOSSL 31 40-63 Output subsegment limit address (EXEC) LTOERC 33 0-15 output error retry count (EXEC) LTOTE 33 16-39 output total error message count (EXEC) LTOTM 33 40-63 Output total non-error message count (EXEC) LTOTSS 34 8~39 Output total subsegments count (EXEC) LTOTS 34 40-63 output total segments count (EXEC) LTOLC 35 0-15 output LCP buffer word count (SCP) LTOLL 35 16-39 Output LCP buffer limit address (SCP) LTOLB 35 40-63 Output LCP buffer base address (SCP) LTOEAB 36 40-63 LTOLCE 37 0-55 Output LCP extension absolute base address (SCP) Output LCP extension buffer (EXEC) LTONFC 37 56-61 Output LCPE function code (EXEC) LTONMD 37 62-63 Output LCPE Mode Exec LTONTC 38 0-7 output LCPE network trunk control (EXEC) LTONAD 38 15 Output LCPE network associated data LTONDN 38 32-47 output LCPE network destination (EXEC) LTONSN 38 48-63 Output LCPE network source number (EXEC) SM-0045 1.LT-6 Field Word - Bits Description LTOLCP 40 0-63 Output LCP buffer area (SCP) LTXLC 46 0-15 Output LCP buffer word count (EXEC) LTXLL 46 16-39 Output LCP buffer limit address (EXEC) LTXLB 46 40-63 Output LCP buffer base address (EXEC) LTXEAB 47 40-63 Error LCP extension absolute base address (SCP) LTXLCE 48 0.... 55 Error LCP extension buffer (EXEC) LTXNFC 48 56-61 Error LCPE function code (EXEC) LTXNMD 48 62-63 Error LCPE Mode Exec LTXNTC 49 0-7 Error LCPE network trunk control (EXEC) LTXNAO 49 15 Error LCPE network associated data LTXNDN 49 32-47 Error LCPE network destination (EXEC) LTXNSN 49 48-63 Error LCPE network source number (EXEC) LTXLCP 51 0 ... 63 Error LCP buffer area (EXEC) LTILTC 59 0-15 Input LTP buffer word count (SCP) LTILTL 59 16-39 Input LTP buffer limit address (SCP) LTILTB 59 40-63 Input LTP buffer base address (SCP) LTIL'l'P 60 0-63 Input LTP buffer area (SCP) LTOLTC 65 0-15 Output LTP buffer word count (SCP) LTOLTL 65 16-39 Output LTP buffer limit address (SCP) LTOLTB 65 40-63 Output LTP buffer base address (SCP) LTOLTP 66 0-63 Output LTP buffer area (SCP) LTXONE 69 0-63 Error - all ones pattern LTZRO 70 0-63 Error - all zeros pattern LTXCKS 71 0-63 Error - checksum SM-0045 1.LT-7 Field Word Bits DescriEtion LTXLTL 72 16-39 Error - LTP limit address LTXLTB 72 40-63 Error - LTP base address LTSTAT 73 0-63 Hyperchannel status word (EXEC) LlrpOD 74 0-63 Channel POD table (SCP) SM-0045 l.LT-8 1.LX LINK INTERFACE EXTENSION TABLE - LXT The Link Interface Extension Table is STP resident. It is used only by the Station Call Processor and contains SCP working storage. Also contained in each LXT entry are eight input stream LSTs and eight output stream LSTs. An LXT entry is assigned to an active LIT entry for each front-end 10 at LOGON and deassigned at LOGOFF. o o LID IAST~I~I 2 16 8 , 24 32 34 48 40 1/////////////////1 CHN I IACT 1////////////1 CKSZ STYP 56 63 LT 1//////////////////////// RSTQ 3 ///////////////1 4 //////////////////////////////////////////////////////////////// 5 ///////////////1 6 ///////////////////////////////////////1 7 ///////////////1 8 /////////////////////1 9 ///////////////1 10 ///////1 11 ///////////////1 12 ///////////////////////////////////////1 WQH 13 ///////////////////////////////////////1 RQH 14 ///////////////////////////////////////1 SQH 15 ///////////////1 NEXT 16 17 18 AIST I LMIS I OMIS I I LMOS I ESBC SLWA ESBZ CNXT I RNSS RSIO RSGN I I RMN I RMC I RMSC RSBC //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// 22 VRMZ I 23 XMN 1/////////////1 I PRMC PRMZ RSBZ SSIO SOlD SSTN I VRMC I SNSS SSGN I RSBB SMN I SMC I SMSC SSBC //////////////////////////////////////////////////////////////// 27 SISC Figure 1.LX-1. SM-0045 ESBB I ROSC 26 ORMC SSZB 20 25 LSSZ LOSZ SZB RISC 24 LMSS I OMOS lOMAS 1//////////////////////// 19 21 LMAS I SGB RDIO RSTN AAST 1//////////////////////// AOST I Link Interface Extension Table (LXT) 1.LX-1 o 8 16 32 34 SOSC 24 28 40 48 56 63 29 //////////////////////////////////////////////////////////////// 30 ///////////////////////////////1 PAMZ 1 PAMC 31 /////////////////////1 I SSBB 32 ///////////////////////////////////////1 ISQH 33 ///////////////1 RTN 34 35 ISTN -LST 1////////111111111111111/11111111 ILS 11111111111111111111111111111111111111111111111111111/11/111/11/ 1ST 36 • SSBZ /////////11//1/1/////////////////1/////////1//////////////////// 11111111//11111111/111111/1/111111/1111/1/11111111//1/11/111/11/ 132 11/1/1111///111111111111/1//11111111//11 OSQH 133 //1//1//111//1////1/////1//1///1/////11///1//1/1/1///////1/1//// 134 OSTN 1///1///////1////////11/1/1////11 OLS 135 1/1///////11//////////////////////1////////1/1///////1/1///1/1// CST 136 ·• //////////1////////////////1//////1///////////////1///////////// 11111/1/1111/1////1/////////11/1//////1//////1/1/1/1/1/////1/11/ 232 RLTP 235 SLTP 238 OPSV 239 111111//1/1/1/111/1///11//1/111////11/1///11/11/1///111/11//1/// 240 Figure 1.LX-1. SM-0045 SSEG Link Interface Extension Table (LXT) 1.LX-2 (continued) Field --.-. Word Bits Description LXLID o 0-15 Link ID LXCHN o 34-39 Channel pair number LXLT o 40-63 LIT address LXIAST 1 o Interactive request received flag LXSTYP 1 1-2 Station Type o 1 2 Batch only Interactive only Both LXIACT 1 3-18 Interactive message count LXCKSZ 1 32-39 Checksum width (0, 8, 16, 32, or 64) LXRSTQ 2 0-63 Interactive restart Q control word 2 2 2 0-15 32-47 48-63 LXAIST 3 16-23 Current active input streams LXAOST 3 24-31 Current active output streams LXAAST 3 32-39 Current total active streams LXLMIS 5 16-23 Logon maximum active input streams LXLMOS 5 24-31 Logon maximum active output streams LXLMAS 5 32-39 Logon maximum total active streams LXLMSS 5 40-47 Logon maximum subsegments LXLSSZ 5 48-63 Logon subsegment size LXLDSZ 6 40-63 Maximum output dataset size (in 5l2-word blocks) LXOMIS 7 16-23 Operator maximum active input streams LXOMOS 7 24-31 Operator maximum active output streams LXOMAS 7 32-39 Operator maximum total active streams LXNRM LXRSQT LXRSQH SM-0045 Number of messages Q Tail Q Head 1.LX-3 Field Word Bits Description LXSGZ 8 22-39 Segment size in words LXDRMC 8 40-63 Deferred received message code LXSZB 9 16-39 Segment size in bits LXSSZB 9 40-63 Subsegment size in bits LXSLWA 10 8-31 LWA+1 of segment LXESBC 10 32-63 Diagnostic echo segment bit count LXESBZ 11 16-39 Diagnostic echo segment size LXESBB 11 40-63 Diagnostic echo segment address LX~H 12 40-63 Waiting SOT queue head address LXRQH 13 40-63 Receiving SOT queue head address LXSQH 14 40-63 Sending SOT queue head address LXCNXT 15 16-39 Link to next active LXT entry for this channel LXNEXT 15 40-63 Link to next available or active LXT entry LXRDID 16 0-15 Received destination identifier LXRSID 16 16-31 Received source identifier LXRNSS 16 32-39 Received number of subsegments LXRMN 16 40-47 Received message number LXRMC 16 48-55 Received message code LXRMSC 16 56-63 Received message subcode LXRSTN 17 0-7 Received stream number LXRSGN 17 8-31 Received segment number LXRSBC 17 32-63 Received segment bit count LXRISC 19 0-63 Received input stream control bytes SM-0045 1.LX-4 Field Word Bits Description LXROSC 20 0-63 Received output stream control bytes LXVRMZ 22 0-7 Verify received message code maximum value LXVRMC 22 8-31 Verify received message code table address LXPRMZ 22 32-39 Process received message code maximum value LXPRMC 22 40-63 Process received message code table address LXXMN 23 0-7 Expected message number LXRSBZ 23 22-39 Received segment buffer size LXRSBB 23 40-63 Received segment buffer base address LXSDID 24 0-15 Send destination identifier LXSSID 24 16-31 Send source identifier LXSNSS 24 32-39 Send number of subsegments LXSMN 24 40-47 Send message number LXSMC 24 48-55 Send message code LXSMSC 24 56-63 Send message subcode LXSSTN 25 0-7 Send stream number LXSSGN 25 8-31 Send segment number LXSSBC 25 32-63 Send segment bit count LXSISC 27 0-63 Send input stream control bytes LXSOSC 28 0-63 Send output stream control bytes LXPAMZ 30 32-39 Process acknowledged message code maximum value LXPAMC 30 40-63 Process acknowledged message code table LXSSBZ 31 22-39 Send segment buffer size SM-0045 1.LX-5 Field Word Bits Description LXSSBB 31 40-63 Send segment buffer base address LXISQH 32 40-63 Input LST queue head address LXLST 33 16-39 Pointer to active LST address LXRTN 33 40-63 Return address for active LST LXISTN 34 0-7 Input stream number LXILS 34 40-63 Input stream LST address LXIST 36 0-63 Input LST table LXOSQH 132 40-63 Output LST queue head address LXOSTN 134 0-7 Output stream number LXOLS 134 40-63 Output stream LST address LXOST 136 0-63 Output LST table LXRLTP 232-234 0-63 Receive 232 233 234 0-63 0-63 0-63 235-237 0-63 235 236 237 0-63 0-63 0-63 LXOPSV 238 0-63 Save area for op requests LXSSEG 240 0-63 "Special protocol" segment LX RONE LXRZRO LXRCKS LXSLTP LXSONE LXSZRO LXSCKS SM-0045 ~ LTP Receive - all ones pattern Receive - all zeros pattern Receive - checksum Send - LTP Send - all ones pattern Send - all zeros pattern Send - checksum 1.LX-6 1. MP MEMORY POOL - MP Memory pool areas are surrounded by header and trailer words that control the allocation and deallocation of the areas. A memory pool is depicted in figure 1.MP-l. o o 8 16 ~I//////////////I 40 63 ID SIZE ~//////////////I 10 SIZE n~l~~////////////I ID SIZE ID SIZE '=ST ST n ST m ~//////////////I Figure 1.MP-l. Memory Pool Field Word Bits Description MPST O,n,etc. o Status of the memory area: o 1 MPID O,n,etc. 16-39 Available In use Memory pool identification: 01010101 OxOxOxOx MPSIZE SM-0045 O,n,etc. 40-63 Pool 1 Pool x Size of the memory pool l.MP-l 1.MS MEMORY SEGMENT TABLE - MST The MST in STP memory contains a one-word entry for each segment of memory that has been allocated by the Job Scheduler plus additional entries that describe free segments. MST entries are stored in ascending order according to the beginning address of the segment (MSADDR). Any free space between two allocated segments is consolidated and is represented by a single entry stored in the MST between entries for the two allocated segments. The last entry in the table is always followed by a zero word. To provide for the case Where every allocated segment is surrounded by free segments, the MST must have twice as many words in it as the maximum number of allocated segments, plus two more. o 16 TYPE 40 SIZE Figure 1.MS-l. 63 ADDR Memory Segment Table (MST) entry Field Word Bits Description MSTYPE o 0-15 Contains 0 if the segment is free; otherwise, it contains the JXT ordinal of the job to which the segment is allocated. MSSIZE o 16-39 Number of words in the segment. is always a multiple of 1000S_ MSADDR o 40-63 STP-relative address of the first word in the segment. This is always a multiple of 1000S- SM-0045 1.MS-l This 1.PD PERMANENT DATASET TABLE - PDS The PDS in STP resident contains an entry for each active permanent dataset. A PDS entry indicates how a dataset is accessed and, if multiple access exists, how ~any users are accessing the dataset. The PDS is used to control the release of OAT entries for permanent datasets. Figure 1.PD-l illustrates the PDS. HEADER FULL O· . 8· .. . . ~I//////////////////////////////////////I 40 63 PDPDE ENTRY ... UAR/ENT o P'.!. ~~'f . tJSR DSC 1//////////////////////// MRR \:UNQ Figure I.PD-l. Permanent Dataset Table (PDS) HEADER Field Wo,:d Bits Description PDFULL o o PDS full indicator; i.e., datasets currently being accessed PDPDE o 40-63 Number of permanent datasets currently being accessed: i.e., number of entries in table Field -Word Bits Description PDUNQ 0 0 Unique access flag PDUSR 0 1-8 Number of users currently accessing dataset PDMRR 0 9 Multiread access requested PDUAR 0 10 unique access requested PDENT 0 11 System directory flag ENTRY SM-0045 1.PD-l ENTRY (continued) Field Word Bits DescriEtion PDDSC 0 12 ... 39 Dataset Catalog pointer 0 0 12-35 36-39 PDDCP PDDCE SM-0045 DSC page number DSC entry number l.PO-2 1.PI PERMANENT DATASET INFORMATION TABLE - POI The POI (figure 1.PI-I) is a i-word STP-resident table generated during system startup for use by the permanent dataset manager. a 32 40 1///////1 16 a OVP Figure 1.PI-l. HSP 63 DNT Permanent Dataset Information Table (PDI) Field Word Bits Oeser iption PlOVP a 0-15 Number of overflow pages PIHSP a 16-31 Number of hash pages PIDNT a 40-63 DNT for DSC SM-0045 1.PI-l 1.PM PERMANENT DATASET DEFINITION - POD A PDD is a parameter list that accompanies a Permanent Dataset Management request. The PDD illustrated in figure 1.PM-l is used for save, save input, save output, access, access spooled, load, load input, load output, and PDN requests. 24 SG~Ifji~ ~II\-I////I 1 32 ~~NRLi'=EXO DN SOT 10 USR2 TXT 1//////// ED RT FM OJB 8 SID 9 1//////// DID 10 JSQ DC TID _ IR 12~l{1 13 NRR TXL IA f~~ ENT SF DFR INIT FL NA TL WT 15 MN 16 ~ JCN 1//////// CL 1// / / / / / / SYS TPD~I JSP I JPL "";[TPR JCR I PR RD 14 20 SQJ USRI 7 18 BPG BUF 6 17 63 1//////// PDN2 5 UQ~ 56 FC I NPG 3 4 52 48 ST I PDNI 2 40 LSD I TPB OLM I RJST !2}~ ~ I11111111 TPV TPN 1//TPF//////////////TPC7iTPM7/TP2//TPP/~PH//////////////// ///////////////////////////////////1//////////////////////////// ///1//////////////////////////////////////////////////////////// 24 25 //////1////////////////////////////1 ACS SM-0045 OJSQ DSZ Figure 1.PM-l. 1.PM-l I FEN FPP POD Format o 8 16 24 32 26 CRT 27 ACT 28 TOM 29 MOD Figure 1.PM-l. 40 48 52 56 63 POD Format (continued) Field Word Bits Description PMSG o o Normal completion message suppression indicator PMERR o 1 Error message suppression indicator Pt-1WAIT o 2 WAIT flag for a disposed dataset PMNRLS o 3 No release of dataset on DISPOSE PMAQR o 4 Acquire flag for accounting PMTP o 5-6 Tape dataset (online/staged) PMTCS o 7-8 Tape dataset character set PMEXO o 9-10 Execute only PMLSD o 16-39 Temporary SDT address for load input/output PMST o 40-51 Return status PMFC o 52-63 Function code (table 1.PM-l) PMDN 1 0-55 Local dataset name PMPDNl 2 0-31 Permanent dataset name; characters 1-8 PMNPG 2 32-47 Number of pages PMBPG 2 48-63 Beginning page number PMPDN2 3 0-39 Permanent dataset name; characters 9-15 PMBUF 3 40-63 Buffer address SM-0045 1.PM-2 Field Bits Description PMIO 4 0-47 User identification PMSQJ 4 48-63 Job sequence number for SOT requests PMUSRI 5 0-63 User PMUSR2 6 0-56 User number; characters 9-15 PMTXT 7 0-23 Address of optional text field PMFM 7 24-39 Format designator; number~ FMCD=CD FMCB=CB FMBD=BD FMBB=BB characters 1-8 Character/deblocked Character/blocked Binary/deblocked Binary/blocked PMRT 7 40-51 Retention period; 0-4095 days PMED 7 52-63 Edition number (0-4095) PMOJB 8 0-55 Originating job name PMSID 9 0-15 Source IDi 2 characters PMDID 9 16-31 Destination IO; 2 characters PMDC 9 32-47 Disposition code; 2 characters DC1N=1N DCST=ST DCSC=SC DCPR=PR DCPU=PU DCPT=PT DCMT=MT Job dataset Dataset to be staged Scratch dataset Print dataset Punch dataset Plot dataset Magnetic tape dataset PMJSQ 9 48-63 Job sequence number PMTID 10 0-63 Terminal 10: 1-8 characters PMSF 11 0-63 Special forms PMUQ 12 o unique access required PMENT 12 1 Enter in System Directory SM-0045 1.PM-3 Field Word Bits Description PMIR 12 2 Immediate reply requested PMTXL 12 3-10 Number of words of text PMNRR 12 11 Job rerun flag; set if job cannot be rerun (input entries only) PMINIT 12 12 Job initiate flag; set if job has been initiated PMIA 12 13 Interactive flag PMDFR 12 14 Deferred disposition indicator PMNA 12 15 No abort flag. If set, processing will continue even if an error is encountered. PMFL 12 16-31 Field length/512 (input datasets only) PMI'L 12 32-55 Time limit (input datasets) PMPR 12 56-63 Priority (input datasets) PMRD 13 0-63 Read permission control word PMWI' 14 0-63 write permission control word PMMN 15 0-63 Maintenance permission control word PMJCN 16 0-55 Job cl'ass name PMCL 17 0-55 GL parameter from JOB statement PMSYS 18 o System job PMJSP 18 1-8 JOB statement priority PMJCR 18 9-24 Job class rank PMOLM 18 25-48 Size of $OUT in 5l2-word block PMRJST 18 49-55 Job status flag PMTPD 19 0-1 Tape density PMTPL 19 2-4 Tape label type SM-0045 1.PM-4 Field Word Bits Description PMTPF 19 5-6 Tape format PMTPR 19 7-14 Tape recovery options PMTPB 19 15-32 Tape maximum block size in bytes PMTPC 19 33 Tape cataloged dataset PMTPM 19 34 Tape online maintenance access PMTP2 19 35 Tape second device request PMTPP 19 36-38 Tape parallel device count PMTPH 19 39 Tape hold device assignment PMTPV 19 40-63 Tape pointer to label definition table PMTPN 20 0-5 Tape noise block size in bytes PMFPE 24 36-63 First DSC page/entry for dataset PMFPP 24 36-59 First DSC page for dataset PMFEN 24 60-63 First entry for dataset PMACS 25 0-15 PMDSZ 25 16-47 Number of accesses (load saved datasets only) Size of dataset as reflected by DSC DAT bodies (used only When a pseudo access is performed during the recovery of rolled jobs) PMOJSQ 25 48-63 Originating job sequence number PMCRT 26 0-63 Creation time in cycles (load request only) PMACT 27 0-63 Time of last access in cycles (load request only) PMl'DM 28 0-63 Time of last dump in cycles (load request only) PMMOD 29 0-63 Time of last modification in cycles (load request only) SM-0045 1.PM-5 1.PR PROCEDURE FILE STACK TABLE The Procedure File Stack Table is JTA-resident and serves as a stack for the nesting of control statement datasets. The F$PRC and F$RTN calls add entries to and delete them from this stack. ~T 16 o M/////////////I RTN 1 ///////////////1 DNT 7 ///////////////1 ONT Figure 1.PR-1. 40 63 I ,1///////////////////// I LVL DSP nsp Procedure File Stack Table Field Word Bits DescriEtion PRABT 0 1 RTN abort flag PRRTN 0 16-39 RTN return address PRLVL 0 40-42 Current stack level (0-7) PRONT 1-7 16-39 $CS ONT address (STP relative) PROSP 1-7 40-63 $CS JTA save area address (STP relative) SM-0045 1.PR-l I.PT POOLTABLE- PT The Pool Table is an STP-resident table used for memory pool management. It is illustrated in figure l.PT-I. HEADER o o 1640 58 /////////////////////////////////////////////////////////1 MAX ENTRIES I SIZE ///////////////1 BASE ///////////////1 ///////////////1 • ///////////////1 • ///////////////1 • ///////////////1 ///////////////1 n ///////////////1· Figure I.PT-l. pool Table HEADER Field Word Bits Description PTMAX o 58-63 Maximum valid memory pool number in system Field Word Bits Description PTSIZE l-n 16-39 Size of the memory pool PTBASE l-n 40-63 Base address of the memory pool ENTRY SM-0045 I.PT-l 63 1.PU ?HYSICAL UNIT TABLE - PUT This EXEC-resident table is used for working storage by the disk driver. There is one entry for each disk drive in the system. The PUT is illustrated in figure 1.PU-l. o .EJR ACT~I 38 LUT43 46 \( I II II II I II III I I I II I I I I I I I I II II III ICH I; I· 1 CPO 4 63 LCY I TPC AU FCT 2 3 58 11111// NTD RSP ~I I / / / / I I / I I / I / I I / / I I 1/1I I I I 1//I / I / / / I I I I I NTK I NSC NCY 5 ///////////////////////////////////////////////////LS~~ 6 EST 7 LIT 8 OFD I LIC REC RET Figure 1.Pu-l. ES OFV physical Unit Table (PUT) Field Word Bits Description PUACT 0 0 Disk active flag PUUP 0 1 Unit up PUERR 0 2 Error PURSV 0 3 unit reserved PURM 0 4 Recovery mode PUICH 0 38-42 Input channel number PULUT 0 43-45 Last unit number PULCY 0 46-57 Last cylinder PUCPD 1 40-51 Cylinders per disk PUTPC 1 52-57 Tracks per cylinder PUAU 1 58-63 Blocks per allocation unit (sectors per track) SM-0045 1.PU-l Field Word Bits Description PUFCT 2 0-63 Last function PURSP 3 0-63 Last response PONTO 4 0 Next transfer direction PUNCY 4 40-51 Next cylinder PUNTK 4 52-57 Next track PUNSC 4 58-63 Next sector PULS 5 56 Last margin late strobe flag PUES 5 57 Last margin early strobe flag PUOFD 5 58 Last margin offset direction PUOFV 5 59-63 Last margin offset value , PUEST 6 0-63 Edited status 6 6 6 6 1 2 16-39 40-63 PULIT 7 0-58 Estimated latest time of last function completion for lost-interrupt detection PULIC 7 59-63 Hardware input channel number PURET 8 0-39 Time of last retry PUREC 8 40-63 Retry count PUERRE PUCEF PULSS PUFSS SM-0045 Error flag Channel error flag encountered Subsystem status, last retry Subsystem status, first error 1.PU-2 +~~f gR~?~ ~?~r~p~ T~~~~ ~ ?f~ This table is resident in both STP and EXEC. It is used by th,e general queuemariagel1\ent'routines CLRQ, ENQ, andOEQ. I" :1 . - l6 Q QIJ?' 0 NE or BL I 'TPB 1 40 ' 1 6.3 I ' or LE FL PROC J ~ ~M CNT I q~ RSV 3 Figure 1.QC-l. o (QC~) Queue Control Table header 16 40 63 o ///////////////1 BL 1 (~llli1!11/;/1111 PSZ . n 11//1/1%1/1//1111111///II/II/II/ / /// /1// // II/II/III1,/,1/1///1/1/ ; .-' ,)1, ,'" ,,/ ,/ fe' ;,,,, ,: i" " :/ .'./ ; .,): . ,", .,' FL " I , :.' .:' • , , J?AD " ,'; .... : ,; I .;' .. ;' ,;" :.' /' ,I ' ; . ' ;" Queue Control Table entry ije:l\P~~ -----Field Word Bits Description ,Qq,QJp ,",. \,: .!; 0 0-15 Queue QP~ 0 16-39 Initial number of entries in queue qCSL 0 16-39 Backward link ,qC;LE 0 40-63 Initial length of each queue entry Q;C~L 0 40-63 Forward link QCTP:e 1 0-15 Task parameter block address QCPg()C 1 16-39 Queue processor address "~. i. S~-OQ~5 /: ////1//////////////////////////////////////////////////////1//// Figure 1.QC-2. ."':.~' .' 1.QC-l ~D (2 ASCII charac1:,ers) QCQSP 1 40-63 External queue status pointer (links to STP-resident SCT table) QCQM 2 0-7 Queue maximum QCQL 2 8-15 Current number of items in the queue QCCNT 2 16-63 Total items ever queued QCRSV 3 0-63 Reserved for expansion Field Word Bits DescriEtion QCBL 0 16-39 Back ward link QCFL 0 40-63 Forward link QCPSZ 1 16-39 Packet size QCPAD 1 40-63 Packet address ENTRY SM-0045 1.QC-2 1.QD QUEUED DATASET TABLE - QDT The Queued Dataset Table is an STP-resident table that describes the multitype attributes for a dataset that has been disposed. This table is managed by PDM and EXP. The number of entries in the QDT must be equal to the SOT entry count. HEADER o 22 12 24 36 60 40 63 I1111111111111111111111111111111111111111 NAM ENTRY SERRIIIIIIII USR Figure l.QD-l. I1111I ODC PDC Queued dataset table (QDT) QDT HEADER Field Word Bits Description QDNAM o 0-23 ASCII name of table, i.e., "QDT" Field Word Bits Description QDSERR o 0-4 STARTUP entry deactivation flags QDT ENTRY QDDWN QDCRS QOCAT QDIDA o o o 1 Down device encountered Cross allocation found Catastrophic error in DSC entry Inconsistent multi type allocation o o 3 QDUSR o 12-21 Number of users who have disposed the dataset with no release QOOOC o 22-30 Outstanding dispose count QDPDC o 36-63 DSC entry of permanent version o o 36-59 60-63 QDPDP QDPDE SM-0045 2 DSC page number DSC entry number 1.QD-l ROLLED INDEX - R"J 1 ------_._-------~10B 1. RJ rl~he RJI table contains entr ies for f;:CiCh de.f. ined JXT entry descr ihing the job assigned to the JXT ent.ry and controlling the recovery of jobs from mass storage entries. Entry zero fields (used for index o 7 o 13 16 3 40 I DN'!' 63 MSIZ ,---------------------------OLDV ////1//////1//////1/1///////////////111/11/////1 JX1' 48 ------,-----------~----------~~ II/I / 1// /// / 1// I / I / / / II/I NJXT 1 2 val~dation) OAI I R.JI 1/////1////11/11//11////1////11/////////11//1/ 4 1111111111111111/1///11/////////1/1///////11//111///1///11111//1 5 //////////1//111/1//1//////111111///111///1///11//1/11/11/1///// Figure 1.RJ-1.. Rolled Job Index (RJI) entry zero fields. Field Word Bits Descripti0t! RJNJXT o 0-15 Number of JXT ente ies i.n the last Deadstarted system RJMSIZ o 40-63 Memory size at last Deadstart RJOLDV 1 0-63 Device name containing index for $ROLL dataset RJOAI 2 48-63 First (or only) AI in $ROLL index RJLJXT 3 0-6 Length of JXT entry in old system RJLDNT 3 7-12 Length of DNT entry in old system RJLRJI 3 13-18 Length of RJ index entry in old system SM-0045 1.RJ-l Other entry fields o o 16 32 48 63 -----------------------------------------------------------DPHI 1 DPH2 2 DAI NRCV~I//////////////~//////////////////////////////I 4 SID TID 5 IN 6 DATE Figure 1.RJ-2. JSQ Rolled Job Index (RJI) other entry fields Field - Word Bits Description RJDPHI 0 0-63 Word 0 of job roll DAT partition header RJDPH2 1 0-63 Word 1 of job roll DAT partition header RJDAI 2 0-63 First AI word from roll DAT (1-4 Als) RJNRCV 3 0 Job irrecoverabale flag RJSID 3 16 Station ID of job origin RJJSQ 3 48-63 Job sequence number RJTID 4 0-63 Terminal ID of job origin RJJN 5 0-63 Jobname RJDATE 6 0-63 Date/time (system generated) SM-0045 1.RJ-2 1.RQ REQUEST TABLE - RQT The Request Table is an STP-resident table primarily used for disk queue management. The RQT is illustrated in figure 1.RQ-l. HEADER o 16 o 20 24 32· 40 63 1//////////////////////////////////////// TN FQL 1 I FQH FQT ENTRY TD . RER . 0 ~~ . THR 1////1 se 1 2 ~. TID 1//////////////////////// MA DA NBK SBK BUF TRW 3 4 UNT BLK ///////////////1 Figure 1.RQ~1. FLK Request Table (RQT) HEADER Field - Word Bits Description RQTN 0 0-23 Table name; "RQT" in ASCII RQFQL 1 0-15 Free queue length RQFQT 1 16-39 Free queue tail RQFQH 1 40-63 Free queue head SM-0045 1.RQ-l ENTRY Field Word Bits DescriEtion RQTD 0 0 Transfer direction RQRER 0 1 Reread flag RQTHR 0 2-18 Streaming threshold RQUNT 0 24-31 Unit number RQTID 0 32-39 Requesting task ID RQSC 1 0-15 Sector count RQDA 1 16-39 Disk address RQMA 1 40-63 Memory address RQNBK 2 0-15 Block count RQSBK 2 16 .... 39 Starting block RQBUF 2 40-63 Buffer address RQTRW 3 0-63 Task reply word 3 3 3 0-23 24 25-39 RQDNT 3 40-63 DNT address (STP relative) RQBLK 4 16-39 Backward link RQFLK 4 40-63 Forward link RORET RQRCL RQJXT SM-0045 Caller's return address Recall reply flag JXT offset for job-related requests 1.RQ-2 I.SBU SYSTEM BILLING UNIT TABLE - SBU The SBU table is an STP-resident table which contains the values obtained when system billing units are calculated for system resources. 0 63 0 TSX 1 TSW 2 TSD 3 TWJ 4 lOB 5 lOR 6 MXM 7 MIM 8 oPC 9 CLC 10 MRD 11 PFA 12 PFS 13 TFS 14 BRF 15 BSF Figure 1.SBU-l. SM-0045 System Billing unit Table (SBU) 1.SBU-l Field Word Bits Description SBUTSX a 0-63 Time spent executing in CPU SBUTSW 1 0-63 Time waiting to execute SBUTSD 2 0-63 Time waiting for I/O SBU'rWJ 3 0-63 Time waiting for JXT SBUI0B 4 0-63 Disk blocks moved SBUI0R 5 0-63 Physical I/O requests SBUMXM 6 0-63 Maximum memory used SBUMIM 7 0-63 Minimum memory used SBUOPC 8 0-63 Open calls SBUCLC 9 0-63 Close calls SBUMRD 10 0-63 Memory resident datasets SBUPFA 11 0-63 Permanent file space accessed SBUPFS 12 0-63 Permanent file space saved SBUTFS 13 0-63 Temporary file space used SBUBRF 14 0-63 Blocks received from front end SBUBSF 15 0-63 Blocks sent to the front end SM-0045 1.5BU-2 1.SC SUBSYSTEM CONTROL TABLE - SCT This table is resident in both STP and EXEC. 0 0 1 SSID 15 I 40 34 CHN I 28 I STAT ///////////////1 2 ~/////////////I UP 3 63 FL PSZ CIP OSZ COP RSV Figure l.SC-l. Subsystem Control Table (SCT) Field --- Word Bits Description SCSSID 0 0-15 Subsystem 10 in ASCII SCSTAT 0 28-33 Subsystem Status (STP read only) 0 0 0 31 32 33 SCCHN 0 34-39 Input channel number SCFL 0 40-63 Forward link to another SCT SCPSZ 1 16-39 Input pocket size SCCIP 1 40-63 Input pocket address SCUP 2 0 Subsystem up flag (STP use) (0 = DOWN, 1 = UP) SCOSZ 2 16-39 Output pocket size SCCOP 2 40-63 Current output pocket address SCRSV 3 0-63 Reserved for expansion SCIR SCRST SCDOWN SM-0045 Input ready flag Subsystem restart flag Subsystem down flag (0 = UP, 1 = DOWN) 1.SC-l 1.SO SYSTEM OATASET TABLE - SOT An SOT entry is created in System Task Processor (STP) resident memory for each dataset that is spooled to or from a front~end system. For staged datasets that are submitted as jobs to the CRAY-l, the first control statement (the JOB statements) must be cracked to obtain job scheduling information. o o 12 7 16 32 24 OC / AIO~fllllllllllllll P/'"2 NBK·· POS~I 48 40 56 58 60 63 1//////// ONT . I I1111111I I DC SBK OAT BUF ·1///////////////////////////1 ACS SZ //////////////////////////////////////////////////////////////// 7 //////////////////////////////1 QDT 1//////////////////////// //////////////////////////////////////////////////////////////// PON 10 WAIT~TRA TR 11 12 ID 13 USR 14 USRN· 15 TXT JXO 16 I TL - 18 RO 19 WT 20 MN 21 OJB . ~IT PR JSQ OJSQ SF .... - 26 ·ORPH OLM 1- LST - -IRJST -JCN 1//////// CL - 1//////// Figure I.S0-1. SM-0045 I TID ~I~///////I27 EO DLY OlD 23 24 RT FL TSB SID TXL FM 17 22 NRR 1~1t/ UQ ENT I.S0-1 SOT entry o 7 12 16 24 32 40 111111111111111111111111111111111111 29 48 JSP I· QF Figure 1.S0-1. AUT FLP BLP QC JCR I IIOPPII YSIIIIIIIIIIIIIIIIIIIIIIIIIIIIII LK~I 56 58 60 63 SOT entry (continued) ENTRY: Field Word Bits oescription SOONT o 0-63 DNT area SOAlO 1 o Active IIO 5 DOC 1 1-2 Open/close status (binary) 1 2 3 SOP 1 3 Type of processing, used by Oisk Queue Manager o 1 sone 1 16-31 In Out Inlout Read Write Oisposition code (2 characters) DCIN=IN OCST=ST DCSC=SC DCPR=PR DCPU=PU OCPT=PT DCMT=MT Job dataset Dataset to be staged and made permanent Scratch dataset Print dataset Punch dataset plot dataset Magnetic tape dataset SDOAT 1 40-63 OAT address SDNBK 2 0-15 Number of blocks to be read or written SOSBK 2 16-39 Starting block number SDBUF 2 40-63 I/O buffer address SOPOS 3 o Permanent dataset flag SM-0045 1.S0-2 Field Word Bits Description SDACS 3 1-11 Dataset access flags SDRDA 3 1 Read access flag SDWI'A 3 2 write access flag SDMNA 3 3 Maintenance access flag SDSZ 3 40-63 Dataset size in 512-word blocks SDQDT 7 31-39 Multitype flag/QDT entry index SDPDN 10 0-63 1-15 character permanent dataset name 10 11 0-63 0-55 SDWAIT 11 59 WAIT flag for a disposed dataset SDTRA 11 60 Transfer request issued flag SDTR 11 61 Transfer request issued flag SDUQ 11 62 Unique access flag SDENT 11 63 Enter system directory flag SDlD 12 0-63 User ID: SDUSR 13 0-63 Characters 1-8 of user number SDUSRN 14 0-55 Characters 9-15 of user number SDTXL 14 56-63 Test field length in blocks SDTXT 15 0-23 Location of text area SDFM 15 24-39 Format designator: SDPDNI SDPDN2 Characters 1-8 of PDN Characters 9-15 of PDN FMCD=CD FMCB=CB FMBD=BD FMBB=BB SM-0045 1.SD-3 1-8 characters two characters Character/deblocked Character/blocked Binary/deblocked Binary/blocked Field Word Bits Description SDRT 15 40-51 Retention period (0-4095 days) SDED 15 52-63 Edition number (0-4095) SDJX 16 0-15 JXT offset SDFL 16 16-31 Field length/5l2 SDTL 16 32-55 Time limit SDPR 16 56-63 Priority SDTSB 17 0-63 Time submitted SDRD 18 0-63 Read permission control word sowr 19 0-63 Write permission control word SCMN 20 0-63 Maintenance permission control word SOOJB 21 0-55 Originating job name SDDLY 21 56-63 Postpone delay count SDS1D 22 0-15 Source 1D: SDD1D 22 16-31 Destination 1D: SDOJSQ 22 32-47 Originating job sequence number SDJSQ 22 48-63 Job sequence number SDT1D 23 0-63 Terminal 1D: SDSF 24 0-63 Special forms SDNRR 25 o Job rerun flag: rerun SD1N1T 25 1 Job initiation flag: been initiated SDOLM 25 10-33 Size of $OUT in 5l2-word blocks SDLST 25 34-57 Pointer to current LST address SM-0045 1.SD-4 two characters two characters eight characters set if job cannot be set if job has Field Word Bits Description SDRJST 25 58-63 Status flag set by recovery of rolled job o 1 2 3 4 5 6 7 8 Never initiated Rerun by system recovery Job not recoverable or rerunnable Job statement error Roll in error-rerun Roll in error - not rerunable Class error - fits no class Class error - no class cl Class error - doesn't fit cl SDJCN 26 0-55 Job class name SDCL 27 0-55 CL parameter from JOB statement SDIA 28 o Interactive job, if set SDOPP 28 1 Operator raised priority to 15, if set SDORPH 28 2 Orphan job, if set SDSYS 28 3 System job, if set SDJSP 28 40-47 P parameter from JOB statement SDJCR 28 48-63 Job class rank SDAUT 29 40-63 AUT pointer (used for interactive only) SDLK 30 o Lock flag SDQF 30 1-6 Queue flags 30 30 30 30 30 30 1 2 3 4 5 6 SDQC 30 7-15 Queue count; used in queue head only SDBLP 30 16-39 Backward link pointer 5DFLP 30 40-63 Forward link pointer SDI SDO 5DE SDQ SDR 5DS SM-0045 Input Output Execution Request Receiving Sending 1.5D-5 1.ST SYSTEM TASK TABLE - STT The System Task Table (STT) is an EXEC-resident table used by EXEC for scheduling and controlling tasks. The table has three parts: a header, a part containing a parameter area for each task, and a part containing the exchange packages for each task. The STT is illustrated in figure 1.ST-l. HEADER o 7 8 12 RTS~ 16 24 30 36 40 44 ~I//////////////////////////////////////////I 3 63 1//////////////////////////////////////// TN 2 52 DEF AID I APB 1/////////////////////1 AXP //////////////////////////////////////////////////////////////// 4 BPF ENTRY (PART A) SUS ROY o " // / / / 1 I~C 2 TIME 3 NEe 4 RTQ 5 CNT I ID I ///////////////////////////////////////1 PRI UJXO BO UJTA UXP UTS LPMC 6 ENTRY (PART B) 0 /////////////////1 PC 1 /////////////////1 BA 1///1 MDE 2 /////////////////1 LA II 3 ///////////////1 I A3 4 ///////////////////////////////////////1 A4 5 ///////////////////////////////////////1 AS 6 ///////////////////////////////////////1 A6 7 ///////////////////////////////////////1 A7 XA I AO VL 1 FLG 8 SO 9 Sl 10 S2 11 S3 Figure 1.ST-l. SM-0045 'Ii ....--=' Al A2 System Task Table (STT) 1. ST-l o 12 30 S4 13 S5 14 S6 15 S7 7 8 12 16 Figure 1.ST-l. 24 36 40 44 52 System Task Table (STT) (continued) HEADER Field Word Bits Description S'rTN 0 0-23 Table name; "STT" in ASCI I S'rR'rS 1 0 Request task scheduler flag STAID 1 44-51 Active task ID s'rAPB 1 52-63 Active task parameter block address STDEF 2 0-29 Defined task flags STAXP 2 52-63 Active exchange package address STBPF 4 0-63 Breakpoint flags ENTRY (PART A) Field Word Bits DescriEtion srfSUS 0 0 Task suspend bit S'fRDY 0 7 Task ready request STPRI 0 8-15 Task priority STID 0 16-23 Task ID STCNT 0 24-63 Task startup count S'rBO 1 40-63 BO save area ST'rlME 2 0-63 Cumulative execution time S'fNEC 3 0-63 Count of normal exits from task STRTQ 4 0-63 Task time delay queue control word SM-0045 1.ST-2 63 Field Word Bits Description S1'U.JXO 5 0-12 User job execution table offset STUJTA 5 13-36 User job table area S'rUTS 5 37-51 User time slice S1'UXP 5 52-63 User XP address within EXEC S'fLPMC 6 0-63 Last performance monitor call ENTRY (PART B) Field Word Bits Description STPC 0 18-39 Program counter STAO 0 40-63 AO STBA 1 18-35 Base address STAl 1 40-63 Al S1'LA 2 18-35 Limit address srrMDE 2 37-39 Mode flags STA2 2 40-63 A2 srfXA 3 16-23 Exchange address STVL 3 24-30 Vector length S'rFLG 3 31-39 Interrupt flags STA3 3 40-63 A3 STA4 4 40-63 A4 STA5 5 40-63 AS S'rA6 6 40-63 A6 STA7 7 40-63 A7 STSO 8 0-63 SO SM-0045 1.ST-3 Field Word Bits Description STSI 9 0-63 SI STS2 10 0-63 82 STS3 11 0-63 S3 STS4 12 0-63 S4 STS5 13 0-63 S5 STS6 14 0-63 S6 STS7 15 0-63 S7 SM-0045 I.ST-4 1.TB TASK BREAKPOINT TABLE - TBPT The TBPT table is an EXEC-resident table used by EXEC for interactive debugging using breakpoints. Figure 1.TB-l. illustrates the TBPT. HEADER o o 16 24 40 63 --------------------------------------------------------------NM SCXP 11111111111111111 IDLE 1 EN'1'RY o INST ADR2 Figure 1.TB-I. ADRl Task Breakpoint Table - TBPT HEADER Field Word Bits Descri}2tion TBNM a 0-23 Table name; "TBP" in ASCII TBSCXP a 40-63 Station control word address TBIDLE 1 0-63 Idle flag; invokes alternate part of task scheduler. Field Word Bits Descri}2tion TBINST a 0-15 Instruction replaced by breakpoint TBADR2 a 16-39 Address of breakpoint used to reset first breakpoint TBADRl a 40-63 Address of breakpoint ENTRY SM-0045 1.TB-l LOADER TABLE DESCRIPTIONS 2.1 2 INTRODUCTION A relocatable binary program consists of a single record composed of a series of tables. Nine types of tables are currently defined: Acronym BRT DIR DMT OPT PDT SMT TXT XRT I I Table t~~e (octal) Name Block relocation table Directory (BUILD) Debug map table Duplication table Program description table Symbol table Text table External relocation table Reserved for user 15 10 7 13 17 11 16 14 12 The first table in a relocatable module is the program description table (PDT). The relocatable code, itself, is contained in one or more text (TXT) tables. Each table has a prefix word that contains the table type in the leftmost four bits and the table word count in the next 24 bits. The word count serves as an offset to the beginning of the next table. SM-0045 2.1-1 2.BRT BLOCK RELOCATION TABLE - BRT o we 15 1 2 ~Jf-~-==~~==-=-1~ QWA BI wc-~ ~ Word 0 0 32~38 1,2, ... WC-l 7,39 SM-0045 I I Block Relocation Table - BRT Bits 0-3 4-27 0-6, 32-38 QWA 1,2 ... n --"':::'-";"~-------I ~~··-++-i i'---____ BI 1,2 ... n ...1,2, WC-l Q1,2 ... n 7'--+T-- _____. _._ _ Figure 2.BRT. Field TT WC BI 0 - 1,2, ... WC-l 8-31, 40-63 Descri~tion Table type; 15 Table word count A relocation quantity to be added to the QWAs to obtain the addresses of the fields to be modified. Block index; specifies a block base address to be added to the relocation field as the relocation address. Relocation mode: 0 Word address relocation is performed on relocation field. 1 Quarter word address relocation is performed. Word address relocation is generally used to relocate the address in memory read and store instructions. Quarter word address relocation is generally used to relocate addresses in branch instructions. Quarter word address; indicates the parcel address of a field relative to the block BI to be modified. QWA is composed of a 22-bit word address and a 2-bit field specifying the parcel. Parcels are located within words as follows: 2.BRT-l o N-l N .... ... ~ N 3 N -------- -------- ........ .. ..... . 1 N 2 -------- ........ . ...... . ........ .. ... ... The rightmost bits of the parcel indicate the rightmost bits of the field to be relocated. The relocation is 22 bits wide. Relocation across a word boundary occurs if parcel 0 is specified. SM-0045 2.BRT-2 2.DIR DIRECTORY - DIR (BUILD) BUILD is an operating system utility program for generating and maintaining library datasets. BUILD generates a directory file consisting of a one word header fo 11 owed by one va ri,ab 1e- 1ength entry for each program in the library dataset. A program record's entry may have any length from 3 to 66048 words. O~~~DU~~~~ ____~____________4 -__________~______~ Header 1 ~~--------~------~------~----4-____~____~____~~ 2 I__~~____________________~~_________________________ I I 3~~~_ _~______~~____~~_ _~ Entry 1 I Entry 2 SM-0045 2.DIR-l I Entry n I Word Bits Description TT DWC 1D o o o 0-3 16-39 40-63 Tab 1e type: lOs Directory's word count lD01' in ASCII. The 01 indicates the BUILD revision level, thus specifying the directory forma~. TYPE 1 BvC XL 1 0-3 4-24 25-39 40-54 55-63 0-63 0-3 Entry type: 1 Entry's word count, 66048 maximum Number of external names, 32767 maximum Number of entry names, 32767 maximum Number of block names, 511 maximum 8-character name of program module Entry status: 1 Load module flag (LDR set and used) 1 EL BL FN STAT LM 1 1 3 4 FWC 3 4-30 FWA 3 31-63 2 3 Program module's maximum word count, 134 x,10 6 (an approximate value for information only) Program module's location, 17 x 109 maximum Any of the three sets of names (block, entry, or external) may be null. Each name is 1 to 8 ASCII characters, left justified with zero fill. No blank characters are used. SM-0045 2.DIR-2 Block names represent FORTRAN references to BLOCK DATA subprograms and labeled common. Entry names correspond to names of main programs and subroutines and to names of any labeled common blocks that are initialized by DATA statements. External names represent references to entry names in other programs. SM-0045 2.DIR-3 2.DMT DEBUG MAP TABLE - DMT o 1 2 3 4 • I :~~ i~~~~~~N~:~~~__~_BL_E~Nn~~~ Figure 2.DMT-l. Fi el d TT WC OVF ONAM CBF BNAM BLEN SM-0045 Debug map table - DMT Word Bits Description a a 0-3 4-27 1 a 2 3,5,7 .. WC-2 3,5,7 .. WC-2 4,6,8 .. WC-l 0-63 Table type; 7 Table word count Overlay flag; set if overlays exist Overlay name in ASCII Common block flag Block name in ASCII Length of block in words a 1-63 40-63 2 .DI~T-l 2.DPT DUPLICATION TABLE - OPT 28 32 40 ~~ we -~~~l I :I WC-l NDUP Figure 2.DPT. INC 1,2 ... n Word o o 1,2, ... SM-0045 Bits 0-3 4-27 0-7 WC-l NDUP 1,2 ... n 1,2, ... WC-l 1,2, ... BI 1,2 ... n WC-l SWA 1,2 ... n I I , I [INC±- Field TT WC 63 1,2, ... WC-l 8-31 32-38 40-63 n I BI n IJ SWAn I Duplication Table - OPT Description Table type; 13 Table word count Increment between stores of the source word. No duplication occurs if a zero increment is specified. Number of times the word at SWA is duplicated. NDUP must be nonzero. Block index; specifies the block whose base address is added to SWA in obtaining the word to be duplicated. Source word address; the address of the word that is duplicated. Duplication is performed before relocation or external linkage in the load process. 2.DPT-l 2.PDT PROGRAM DESCRIPTION TABLE - PDT 28~~ 16 o we 1-.....1.-.----_ _ .___ ..._ 41Lf2 p6 BL 63 ~_~__.~ __E_L_ _+-~_ _ _ I I PGMN 1 2 3 4 BLKLI 5 Blocks .. _ - - - - - - - - - - - - - - - - 1 BL-l BL BL+l BL+2 BL+3 BLKN ~BL.KD ~~,-..L ~~If0l....c...i.;_n_ _B_LK~Ln'----_ _ _ - I ENTNI Entry names BL+EL-2 BL+EL-l BL+EL BL+EL+l ENTVm External names BL+EL+XL I EXTN BL+EL+X~+lr--------------__-------H-D-R~~-----------------------I WC-l HDRq Figure 2.PDT-l. SM-0045 Program Description Table - PDT 2.PDT-l Header words Field TT we XL EL BL PGMN AF Word o o o o o 1 2 Bits 0-3 4-27 28-41 42-55 57-63 0-63 o FE 2 1 ORG PRGL BLKN 1!t2 ... n BLKD 1,2 ... n 2 16-39 40-63 0-63 35 2 3,5,7 .. . 4,6,8 .. . Description Table type; 17 Table word count Word count for external names Word count for entry names Word count for block information Program name Absolute flag; set to 1 if code has no BRT or XRT tables. Fatal error flag; set to 1 if fatal compile/assembly errors occurred. The loader ignores the binary record. Origin of absolute blocks Program length in words Block name Reserved for dynamic common block indicator; not used by COS loader. Length in words of named common block Entry name ENTN 1 ,2 ... m ~~~~~+4, 40-63 0-63 BL+2,+5, 55 Primary entry flag. If this bit is set, this entry is the primary entry of the current load. The Loader transfers control to the first encountered primary entry. 56-62 Block index; specifies the block containthe named entry. Associated with the block is a block address used to modify the entry value when it is used to satisfy externals of the same name. The 7-bit BI field used in all table entries defines a relocation quantity as follows: o None 1 Negative to the program block 2 Positive to the program block 3 Positive to common block 1 BLKL12 , .•• n 4,6,8 ... PE 1,2 ... m BI 1,2 ... m +8 ... BL +2, +5, +8 •.• . Q1,2 ... m SM-0045 BL+2,+5, +8 ... 63 127 Positive to common block 125 The Q field determines the relocation mode of the entry va'lue. If the bit is set, the entry value is a parcel address and the block address is justified before relocation. If clear, relocation is performed with a word address. Note that if BI=O, the entry value is not modified. 2.PDT-2 Description ENTV 1 2 EXTN 1,2 ... p Entry value. This is a 64-bit quantity associated with the entry name. For satisfying externals, an entry relocation quantity is determined by adding a BI block address to the entry value. External name. A name is t through 8 characters, left justified with zero fill. The string must not include the space character. Blank common is indicated in the tables either by a zero word or by the name II. PDT header data. See figure 2.PDT-2. 0-63 BL+3,+6, , .•. m+ 9 0-63 BL+EL+l, +2 ... HDR 1,2 ... q BL+EL+XL+l 0-63 through WC-l ----------------- D D M M [), D 1 D [), [), 0 M 1 H M C 0 M t·1 I [), 1 I I H S 4 [), [), [), 5 C A 6 7 6 L 2 1 / y y Date and timp. of compilation S S -------- 6 N y / [), [), COS revision 1evel COS assembly date N y [), [), 0 0 [), [), i I 7 0 -~.. ~ 8 0 ..• 0 9 0 10 0 11 C T 0 E S I rJ N<20 I I ... 0 I G H I y [), 'R C H [), 9 7 6 ... 0 ------------ [), P Y R C R A E A R C - - -1 - Processor name and version Processor level (Julian date or modification level) Reserved for future use - hardware dependencies, etc. 0-80 characters of user comment left justified, blank filled Figure 2.PDT-2. SM-0045 PDT header data 2.PDT-3 2.SMT SYMBOL TABLE - SMT A relocatable file may contain symbol table information for each program unit in a compilation. The information is in table type 11. A type 11 table consists of two parts: a subroutine table and one or more common block tables. Subroutine table The subroutine table contains information about the subroutine block, the common block(s) referenced by the subroutine, and the local symbols. Figure 2.SMT-l illustrates the basic format of the subroutine table; for more detail, refer to the figures named in figure 2.SMT-l. o header (figure 3) CML symbol descriptors (figures 4 and 5) CML+SYL dimension descriptors (figure 6) auxil iary data WC-l Figure 2.SMT-l. SM-0045 Subroutine table 2.SMT-l Common block table The common block table contains information about a specific common block referenced within a subroutine and the symbols that the common block contains. In a symbol table there is one common block table for each common block named in the subroutine table. The final word of the common block table, field THC, gives the common block table checksum. Figure 2.SMT-2 illustrates the basic format of the common block table. o header (figure 7) CML symbol descriptors (figures 4 and 5) CML+SYL dimension descriptors (figure 6) auxil iary data WC-l table checksum Figure 2.SMT-2. SM-0045 Common block table 2.SMT-2 o 4 16 10 WC SYL OIL SN 3 • t CML-~ 1~ _______________________c_NA_M_n______________________~ Figure 2.SMT-3. Field Subroutine table header Word Bits Description TT WC BI o o o 0-3 4-27 32-38 CML DBF o 39-46 1 o SYL DIL PL PEA SN CNAM 1 CNAM n 1 1-16 17-31 32-39 40-63 0-63 0-63 Tabl e type; 11 Table word count Block index. This is an index into the subroutine table common block name list (the same list as contained in the PDT tab 1e) . Length in words of named common block Dynamic block flag o Static 1 Dynamic Symbol block length Dimension block length Prologue length (parcel) Primary entry address (parcel) Subroutine name Name(s) of common block(s) referenced by the named subroutine SM-0045 1 1 1 2 3, ... , CML-l 2.SMT-3 Symbol descriptors Words CML through CML+SYL+l contain descriptors of local symbols. Each descriptor (figure 2.SMT-4) may be 3 through 6 words long, depending on the symbol length. In addition, a dimensioned variable symbol points to a group of words in the dimension block for its dimension information. 49 SI S2 EL ure 2.SMT-5 SNAM Figure 2.SMT-4. Field SL ST SM-0045 Word SI SI Bits 0-1 2-6 Symbol descriptor format Description Symbol name length-l in words Symbol type o Unknown 1 Program (externa 1 ) 2 Entry poi nt 3 Label 4 Integer 5 Real 6 Comp1 ex 7 Logical 8 Character 9 Bi t (Boo1 ean) 10 Fi 1e 11 Poi nter 12 DP integer 13 DP real 14 DP complex 15 Structure 16 Address 2.SMT-4 63 Field Word Bits Description CL 51 7-10 Symbol class o Constant 1 Register 2 Norma 1 3 Stack 4 Based pointer S Based descriptor DA 51 11 AM 51 12 EQ 51 13 PSI 51 14-29 NO ASM 51 30-32 33 OBI EL SNAM SM-0045 SI 52 34-48 49-63 0-63 53-56 0-63 51 SI Dummy argument (parameter). If nonzero, the symbol is a dummy argument. Argument mode o Address 1 Va 1ue Equivalence. If non-zero, the symbol is equivalenced. Parent symbol index. If non-zero, the index is within SYL of the top parent. Number of dimensions Array storage mode o By column 1 By row Dimension block index Element length (in bits) Symbol class-dependent information; see figure 2.SMT-S. Class Figure o 2 .St4T -Sa 1 2.5MT-Sb 2-5 2.5MT-5c Symbol name. 1-4 words (32 character maximum) in 8-bit ASCII, left-justified, null filled to end-of-word. 2.SMT-5 Symbol class-dependent information The contents of word S2 of the symbol descriptor are determined by the class of the symbol. Class type may be found in field CL of the subroutine table, word CML, bits 7-10. Classes are as follows: o Constant value Register 2 Normal 3 Stack 4 Based pointer 5 Based descriptor 1 Figure 2.SMT-5a, b, and c describe the formats that word 2 of the symbol descriptor can take, based on the symbol class. o 63 SVAL Figure 2.SMT-5a. Word CML+l for class a symbols Field Word Bits Description SVAL CML+l 0-63 The value of the symbol I RT Figure 2.SMT-5b. Field RT SM-0045 Word Bits CML+l 34-37 I RN Word CML+l for class 1 symbols Description Register type 1 A 2 B 3 S 2.SMT-6 4 T 5 V 6 Special Field RN o Word Bits CML+1 38-47 10 3 B1 I Register number or subtype. For register types 1 through 5, RN contains a register register number. For register type 6, RN contains one of the following values, right justified with zero fill: o Vector length register 1 Vector mask register 2-31 Channel address register 32 P register 63 34 SSL Figure 2.SMT-5c. Field Description Word Bits B1 SSL CML+1 CML+l 3... 9 10-33 BO CML+1 34-63 BO Word CML+1 for class 2-5 symbols Description Block index Symbol storage length; words occupied in storage Bit offset; offset in bits from the block base or from the parent symbol base Dimension descriptors The dimension descriptor portion of the subroutine or common block table contains a dimension descriptor for each dimensioned variable symbol (ND10). Each descriptor consists of an n-word entry, 'where n is the dimension of the variable. Figure 2.SMT-6 illustrates a dimension descriptor entry. SM-0045 2.SMT-7 63 DO 01 On ~~~4+h4~+-------------------~~~-----------------, LOn ~~~~~~--------~--------~~~------------------ Figure 2.SMT-6. Field Word Bits LDE 00,01, ... ,On 10 LD I 00,01 , ... ,On 11 LD 00,01, ... ,On 12-35 Dimension descriptor entry format Description Lower dimension expression. If LOE is non-zero, the lowe~ dimension field (LD) contains an index into the dimen~ sion blJock of the expression definition required to evaluate the lower dimen~ sion. (See description of LD field.) Lower dimension indirect. If LDI is non-zero, the lower dimension contains an index into a symbol list of the symbol that contains the lower dimension value. (See description of LD field.) Lower dimension. The contents of LD depend on the values of LDE and LDI. If LDE=O and LOI=O then LO is the lower dimension value. If lOErO t , then lO consists of the following subfields: 12 20 I ACCl I 35 DIMI ACCL The length in half words of the access function DIMI Index into OIL of the dimension expression t NOTE: Cray Research software does not support lOErO or UOErO SM-0045 2.SMT-8 Field Word Bits Description If LOItOt, then LO consists of the following subfields: 1213 35 ~ B1 BI DSI UDE 00,01, ... ,On 38 UDI DO,Dl, ... ,Dn 39 UD 00,01 , ... ,On 40-63 0 DBF 1111 ~J Ww ~ wc I SYL Block index Dimension symbol index Upper dimension expression. (Same as LDE, for upper dimension.) Upper dimension indirect. (Same as LOI, for upper dimension.) Upper dimension. The contents of UD depend on the values of UDE and UDI. The alternative formats for UD are the same as for LD. 16 4 OIL 32 39 47 CML CNAM Figure 2.SMT-7. Field Word Bits TT WC BI CML OBF 0 0 0 0 1 0-3 4-27 32-38 39-46 0 SYL OIL BS CNAM 1 1 1 2 1-16 17-31 40-63 0-63 t OSI ~ Common block table header format Description Table type; 11 Word count Block index Common block length Dynamic block flag 0 Static 1 Dynamic Symbol block length Dimension block length Block size Name of common block NOTE: Cray Research software does not support LDItO or UDItO SM-0045 2.SMT-9 63 2.TXT TEXT TABLE - TXT 0 28 4 : 1 ~ we 16 32 63 40 BI 19 LA TXTW 1 I 1 ,I ! • wc-~ t TXTW D I Figure 2.TXT. Word Bits BI 0 0 0 0-3 4-27 32-38 Q 0 39 LA 0 40-63 field TT we TXTW 1,2 ... n 1,2 ... n SM-0045 0-63 I Text Table - TXT Description Table type; 16 Table word count Block index; specifies the block into which the text will be loaded. Relocation mode of the entry name; this field is always o. Relative load address in block BI. LA is always specified as a word address. Text words to be loaded into the program field in contiguous locations starting at an address determined by adding LA to the base address indicated for block BI. 2.TXT-l 2.XRT EXTERNAL RELOCATION TABLE - XRT o : 4 6 28 14 34 63 144~" 1~-rl;C_- _·- _" ~_-·~. . Ll__ .-7'!-"_.. -+_L.....L-+I·_ _ _ _ _ _B"_A.!.--_ _ _ _-; B I I I I i WC-1 Ln i i BAn Figure 2.XRT External Relocation Table - XRT Field TT WC BI 1,2 ... n Word 0 1,2 ... n Bits 0-3 4-27 6-12 Q1,2 ... n 1,2 ... n 13 XI 1,2 ... n 1,2 ... n 14-27 L 1,2 ... n 28-33 BA 1,2 ... n 1,2 ... n 1,2 ... 0 34-63 Description Tab 1e type; 14 Table word count Block index; defines a block address to be added to a BA in obtaining the field to be relocated (linked). Q flag; indicates attribute of the field to be linked. Q is set if the field requires a parcel address. Q is 0 if a word address is desired. The loader adjusts the entry values in links where the respective Q flags do not match. External index. This is an index into the externals list of the PDT. The entry value corresponding to the entry name that matches the named external in the PDT table is used to relocate the field. Length in bits of the relocation field. If L=O, the relocation field is assumed to be 64 bits, otherwise, it is the length specifield by L. Bit address of the low order bit in the field to be relocated. Relocation is performed in 2 s complement arithmetic and relocation will span at most only one word boundary. 1 SM-0045 2.XRT-l READERS COMMENT FORM COS Table Descriptions Internal Reference Manual SM-0045 Your comments help us to improve the quality and usefulness of our publications. Please use the space provided below to share with us your comments. When possible, please give specific page and paragraph references. NAME ______________________________________ JOB TITLE _____- . . . - - - -_ _ _ _ _ _ _ _ _ __ FIRM _______________________________________ C:11=li~'t' RESEARCH. INC. ADDRESS _______----------___________________ CITY _ _- _ _ _ _ _ _ _ STATE _ _ ~ ZIP _____ C') C -I ,.,... oz C) -I :I: CJ) !: z m FOLD ----------------------- ""II --- -----~ NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY CARD fiRST CLASS PERMIT NO 6184 ST PAUL. MN POSTAGE WILL BE f'AID BY AI")DRESSEE c: ..... O!'Y' RESEARCH, INC. Attention: PUBLICATIONS FOLD 1440 Northland Drive Mendota Heights, MN 55120 U.S.A. ----------------------------------------~ STAPLE READERS COMMENT FORM COS Table Descriptions Internal Reference Manual SM-0045 Your comments help us to improve the quality and usefulness of our publications. Please use the space provided below to share with us your comments. When possible, please give specific page and paragraph references. NAME ________--____________________________ JOBTITLE _____________~----------______________ FIRM ________~__________------------------- ADDRESS ____________________----__________ CITY _ _.--___- _ _ _ STATE ~_ _ ZIP _ _ __ RESEARCH. INC. () c .... » roZ C> -4 ::I: en !: z m FOLD - - - -----~ IIIIII NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY CARD fiRST CLASS PERMIT NO 6184 ST PAUL. MN POSTAGE WILL BE PAID BY AlfORESSEE RESEARCH. INC. Attention: PUBLICATIONS FOLD 1440 Northland Drive Mendota Heights, MN 55120 U.S.A. ----------------------------------------1 STAPLE
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.3 Linearized : No XMP Toolkit : Adobe XMP Core 4.2.1-c043 52.372728, 2009/01/18-15:56:37 Create Date : 2013:06:29 14:16:35-08:00 Modify Date : 2013:06:29 14:47:49-07:00 Metadata Date : 2013:06:29 14:47:49-07:00 Producer : Adobe Acrobat 9.55 Paper Capture Plug-in Format : application/pdf Document ID : uuid:fb72a85b-ae00-8747-a1a0-003387e56165 Instance ID : uuid:5dbe36b7-e3e8-2a47-9669-34c52e3ebd01 Page Layout : SinglePage Page Mode : UseNone Page Count : 209EXIF Metadata provided by EXIF.tools