GY30 3012 4_3704_and_3705_Program_Reference_Handbook_Jun1976 4 3704 And 3705 Program Reference Handbook Jun1976
User Manual: Pdf GY30-3012-4_3704_and_3705_Program_Reference_Handbook_Jun1976
Open the PDF directly: View PDF .
Page Count: 312
Download | |
Open PDF In Browser | View PDF |
IBM 3704 and 3705 Program Reference Handbook GV30-3012-4 IBM Corporation, Publications Center, P.O. Box 12195, Research Triangle Park, North Carolina 27709 Programs supported by this handbook: Program Name Network Control Program/OS, Version 1 (V1M2) Network Control Program/VS, Version 2 (V2M1) Network Control ProgramNS, Version 5 (V5MO) Emulation Program fV3MO) Handbook Reference NCP1 NCP2 NCP# EP f! Summary of Amendments for GY30-3012-4 Previous changes in this manual include: • Support for Network Control ProgramNS, Version 5. (Includes NCP 3.2, NCP 4.0, and SDlC/BSC Path Function.) • Support for Emulation Program V3MO. • Additional Network Commands. • NCP exception responses. • 2848/2260 line character codes. • EBCDIC line character codes. • Interface addressing. f New information in this manual includes: • Support for Network Control ProgramNS. Version 5. • Support for Emulation Program B3MO fold base and new base) • Type 4 channel adapter • Type 3 communications scanner. Fifth Edition (June 1976) This edition is a major revision of, and obsoletes the previous edition, GY30-3012-3. Refer to the Summary of Amendments for the changes to this edition. Vertical bars throughout the manual show where changes have been made. f 't Changes are periodically made to the information herein; before using this publication in connection with the operation of IBM systems, consult the IBM System/370 Bibliography, GA20·0001 and associated Technical Newsletters for the editions that are applicable and current. Requests for copies of IBM publications should be made to your IBM representative or to the IBM branch office serving your locality. This manual has been prepared by the IBM Systems Communications Division, Publications Center, Department E01, P.O. Box 12195, Research Triangle Park, North Cerolina 27709. A form for reader's comments is provided at the back of this publication. If the form has been removed, comments may be sent to the above address. Comments become the property of IBM. @Copyrlght International Business Machines Corporation 1974, 1975, 1976 ( Preface L..j This handbook provides the System Programmer and IBM Program Support Representative ,... with reference information about the Network Control Program (NCP) and Emulation Program (EP). It is designed to provide quick access to often·used diagnostic and debug information. For a more comprehensive knowledge of a subject, refer to the publications listed under Related Publications. Old balJfJ EP modules support the type 1 channel adapter. the type 1 communication scanner or up to four type 2 communication scanners. New bIISe EP modules support the type 4 channel adapter and the type 3 communication I - _~scanner in the 370511. Additionally, support fs provided for multiple type 4 channel ...,adapters and multiple-subchannel access (MSLA). This hand,book consists of 18 sections. Sections 1 through 17 contain reference information. Section 18 is an Index. to NCP and EP Reference Material. This index. in addition to providing page numbers to information in this handbook, points to other IBM publi· cations containing reference information. Related Publications IBM 3705 CommunicatioM Contrail.,., Network Control Program, PLM, Venion 1, SY3tJ.3003. IBM 3704 end 3705 CommunicatioM Contrallers, Network Control Program/VS, PLM, Venion 2, SY30-3007. IBM 3704 and 3705 Communications Controllers, Network Control Program/VS, PLM, Verrlon 4, SY30-3013. IBM 3704 and 3705 Communications Controllers, Emulation Program, PLM, SY30-3001. (old base) IBM 370511 Communkations Controller, Emulation Program, PLM, SY30-3031. (new base} . " NCP/rCAM Network Ussr'. Guide, GC30-3009. GuidelD Usifl/l the IBM 3704 Control Panel, GA27·3086. Guide ID UsIng the IBM 3705 Control Panel, GA27·3087. IBM 3704 and 3705 Communications ControllITS, Network Control Program, G""eration and Utilities, Guide and Reference Manual, GC30-3000. L::tMBM 3704 and 3705 Communications Controllers, Network Control Program/VS, . . . .Genoration and Utilities, Guide and Ref8lTNlCtl Manual, GC30-3007. IBM 3704 and 3705 Communications Controllers, Notworlc Control Program/VS, Generation and Utilities, Guide and Ref""""", Manual (for OS/VS and OOS/VS VTAM ~,GC30-3008. .- IBM 3704 and 3705 Communications Controllen;, Emulation Program, Generation and .. Utilities, Guide and Refsrence Manual, GC30·3002 . . f! Contents - SECTION 1: DATA AREA RELATIONSHIPS • . • . . U NCP Control Block Relationships for BSC/SS Lines NCP#Control Block Relationships for SOLe links . . . NCP Control Block Relationships for Switched aSC/55 Lines NCP Control Block Relationships for Switched SOLe Links NCP Pointers to the eca . . . . . . . . :l' NCP Halfward Direct Addressable Pointers . . ~ Locating the NCP Address Trace Table . . . 5 5 6 6 . . Control B lock Relationships for NCP Line Trace NCP Control Block Relationships for BHRs . . EP Control Block Relationships· Type 2 Scanner EP Control Block Relationships· Type 1 Scanner . 9 Adapter Control Block for NCP . Adapter Control Block for NCP# 10 SECTION 2: DATA AREA LAYOUTS " liIACB WACB ATB BCB BCU BH BHO BHR BHS BST BLU BTU BUE CCB CCB CCB CCB CGP CHB CHB r;"jCHB CHCB CHVT CIE COB COB COE i .. ~RP . m d . Tbl. CTB CUB CYABARSW OAE OIA ~ ORS WOVB 3 4 . . " Address Trace Block. 12 13 Bit Control Block Block Control Unit . Buffer Prefix . . . Block Handler Driver Table Block Handler Routine Extension to 15 17 1B ova 19 Block Handler Set . . . Block Handler Set Table . Basic Link Unit for NCP# . Basic Transmission Unit . Switched Backup Extension to DVB Character Control Block for EP, PEP Character Control Block for EP, PEP (DUMMY) Character Control Block for EP, PEP ILine Test) Character Control Block for NCP . . Cluster General Poll Extension to oVB Channel Control Block (NCP1, NCP2) . Channel Control Block (NCP#) . . . Channel Control Block Extension for Secondary Channel Adapter . . . . . . . . . Channel Control B lock for EP, PEP. Channel Vector Table . . . . . Call·ln Extension to DVB. . . . Channel Operation Block (NCP1, NCP2) Channel Operation Block (NCP#) Call-Out Extension to DVB 21 Check Record Pool . . . . . Command Table. . . . . . Communications Line Timer and RAS Control Table. Common Physical Unit Block Barswap Table . . . . . . . Device Addressing Extension to DVB Device Input Area . . . . Display/Refresh/Select Table. Device Base Control Block. . 70 22 23 24 26 27 34 35 40 4B 49 53 56 58 60 61 62 66 69 73 74 75 78 79 60 81 82 iii ECB ECDDT EBCDIC Character Oecode Displacement Table. HWe Extended Halfword Oirect Addressables 99 ICE IDDT IDE IDL lOB LCB LCST LGT LGT LKB LLG LNVT LNVT LTCB LTCB LTS LTS LUB LUV LXB OLLTCB OLLTLAB OLLTaCB OLTTCB PCB PCF PIU PIU PIU PIU PSB aCB ace ace RVT RVT SCB SGE SGT SID SIT SOT SOT spe SVT TND ICE Routine Address Table. 90 92 93 94 95 B6 Event Control Block. Interface 0 isconnect 0 ispatcher Table. Identification list Entry Identification List Header. Input/Output Block. Line Line Line line Control Block Control Selection Table . Group Table for PEP. EP Group Table for NCP 99 ( Link Control Block .. Logical Line Group Control Table Line Vector Table (for Type 1 Scanner) Line Vector Table (for Type 2 Scanner) Line Trace Control Block . Line Trace Control Block (NCP #) . line Test Control Block (NCP1, NCP2) Line Test Control Block (NCP#) Logical Unit Block Logical Unit Vector Table. link XID Control Block Online Line Test Control Block Online Line Test Lookahead Buffer. Online Line Test QCB Control Block for NCP# . Online Terminal Test Control Block Panel Control Block. PCF State Vector Table Path Information Unit (FIDOI Path Information Unit (FID1) Path Information Unit (FID2) Path Information Unit (FID3) Physical Services Block. Queue Contra I B lock for EP Queue Control Block for Input Queues Queue Control Block for Work Queues Resource Vector Table . Resource Vector Table (NCP#) Station Control Block Switched Line Group Entry Switched Line Group Table Send ID . Sub-Area Index Table Service Order Table for SSC/SS Lines. Service Order Table for SOLC SDLC/BSC Path Control Block Sub-area Vector Table for NCP#. Time and Data Control Slack Trace Table (CAl Channel Adapter Trace Table. Trace Table (Line) Trace Table (EP, PEP) Trace Control Table (EP, PEP) TVS Time Value Select Table UCDDT USASCII Character Decode Displacement Table iv B7f~ . 105 106 107 III 113 114 115 ' 116{' 117 \ 120 . / 121 123 126 127 132 134 135 136 137 138 142 145 148 151 154 157 159 161 ( 162 163 164 167 168 169 170 17~\ : I 17 173 ./ 174 176 177 179 180 1s:t 1 1 185 ' .i .." !.,J Unassigned Subchannel Control Block. WU WU Translate Table . XDA Word Direct Addressable Storage Byte Direct Addressable Storage. XD8 XDH Halfword Direct Addressable Storage 186 187 188 191 197 SECTION 3: BTU COMMANDS AND MODIFIERS 203 SECTION 3.1: NCP CHANNEL. 209 SECTION 4: NCP#NETWORK COMMANDS. 211 SECTION 5: SDLC COMMANDS AND RESPONSES 219 SECTION 6: EP COMMAND CODES. 221 SECTION 7: BTU RESPONSES 223 System Response Byte . Extended Response Byte 22~ SECTION 8: NCP# EXCEPTION RESPONSES 231 SECTION 9: 3704 and 3705 I NSTR UCTION SET 233 SECTION 10: INPUT/OUTPUT (EXTERNAL) REGISTER FUNCTIONS. 237 " 'fill ~ "~ 223 SECTION 10.1: Modem Lead • . 241 SECTION 11: INTERFACE CONTROL WORD (lCW) . 243 SECTION 12: NCP AND PEP ABEND AND EP HARDSTOP CODES 253 SECTION 13. LINE CHARACTER CODES. 261 ASCII Character Code (Even Parity) ASCII Character Code (Odd Parity) . Baudot Character Code. BCD Character Code 1 . BCD Character Code 2 . Correspondence Character Code 1 Correspondence Character Code 2 EBCD Character Code . EBCDIC Character Code IT A2 Character Code KAT AKANA Character Code Data Interchange (TWX) Character Code 1 Data Interchange (TWX) Character Code 3 ZSC3 Character Code 261 262 263 264 265 266 267 268 269 270 271 272 273 274 SECTION 14: EXAMPLES OF POLLING AND ADDRESSING 275 1030 Polling and Addressing 2740 Polling and Addressing Telegraph Terminals. 275 276 277 Models 33 and 35 Teletypewriters BSC Terminals 278 279 SECT10N::;5: MDR RECORD FORMATS 281 SECTION 16: EP STORAGE MAP. 291 SECTION 17: INTERFACE ADDRESSING 293 SECTION 18: INDEX TO NCP AND EP REFERENCE MATERIAL. 297 ~d\ f {) vi Figures '~ 'w 1. 2. 3. 4. 5. 6. 7. 8. ~ R 10. II. NCP Control Block Relationships for BSC/ss Lines NCP# Control Block Relationships for SOLC Links NCP Control Block Relationships for Switched BSCISS Lines NCP Control Block Relationships for Switched SDLC Links. NCP Pointers to the CCB NCP Halfword Direct Addressable Pointers Locating the NCP Address Trace Table. Control Blocks Relationships·for NCP Line Trace NCP Con'tTol Block Relationships for·BHRs . EP Control Block Relationships - Type 2"Scanner EP Control Block Relationships - Type 1 Scanner 3 3 4 5 5 6 6 vii f) t: ( (0 C (; (/ SOT ACB " ( g> LGT A ci" ::l .. 0 !: --,I BeB I I I L __ -,I » ii "a CD c· ~ ::l" '-a" " S > Ii if i !;- ~. r---., I !-Optionalcontrol L__ .J block Figure 1. NCP Control Block Relationships for BSCISS lines. '" ~ l! PlU '!lCo ~ '" ." ~3 it'" ~ g iF 5. g- o o "" /.'~igure 2. NCP#Co[l~I\Block Relationships for SOLe Links. /""". /"""'. "f' 0"' Basic Call· Configurat ion DVBl~lIo"" If ( cca Vector Table SGT 800 dialpon SGESSGP COESGTP SIDIOPTR ,>- t"\)+ 1'\( Lca SGT I lCBACBP SGELCBP LC/: SGElCBP DVBICall·'n' ( DVBPTR Call·inwith 10 Exchan g' CIEIDl CIEIDPTR r ID V IOBlCB ( Hardware 10 10L 10 10 10 10 ACB·2 ACB !Hne} J\( L _L ~ Lca lCBACBP lJ Aca{U""D IOBlCB Lca'7 Call·inwith Multiple Terminal Figure 3. NCP Control Block Relationships for Switched BSC/SS Lines. Figure 4. NCP Control Block Relationships for Switched SOLe Links Data Area Relationships 3 ( f; ( Figure 5. NCP Pointers to the eea 4 3704 and 3705 Program Reference Handbook X'0700'r'=--- ACB ACB CCB CCPOHl CCBLlNK CCPQH2 CSPQHl CSPQH2 TIMH2 'Figure 6. NCP Halfword Direct Addressable Pointers ~ Address shifted right two bit positions. Figure 7. Locating the NCP Address Trace Table Data Area Relationships ----.., I I LTCB{Recl I I CCTHD8UF thetransmitleg'$ LTC8foH For a duplu .....line. lha feCIIi .. 18II'$LTCB. ~~L~Tceilx~m;~"~~~~1~::=l Figure 8. Control Block Relationships for NCP Line Trace ~ ~ ( lOST OFFSET V 1\ taHs ISH" '-. Point 3 ~ BHR ceB tPT18H IBH.Rext8nsion tPT2BH tPT3BH C~(81oc:khandlerdrivertablel t8HR 7 '-.... 7 eN FLG tBHR eN FLG eNT FLG -........ IBHS "tPARAM PARAMBYTE r- --- ~ " ~ (Block handler driver table' eNT FLG tPARAM f7P~~~ t BHR '-.... J Figure 9. NCP Control Block Relationships for BHRs Handboo~ eNT FLG { tPARAM (~¢~~M ( '-..... J 3704 and 3705 PrQgram Reference -........ " taHS - 8HR$ have either a pointer to I parameter list or I byte paremeter Inthelrentrv in thIBHD. 6 ~t8lOCkhandlerdrivertable) tBHS tBHSET eNT FLG r ~ 1'-..... J , Figure 10. EP Control Block Relationships' Type 2 Scanner Figure 11. EP Control Block Relationships· Type 1 Scanner Data Area Relationships ( Section 2: Data Area Layouts The following conventions are used in this section: • Various versions of the network control program are referred to in the following manner: NCP1 - Network Control Program/OS, Version 1 (for OSIMFT and OS/MVT TCAM users) NCP2 - Network Control ProgramNS, Version 2 (for OSNS TCAM users) NCP# - Network Control ProgramNS, (for OSNS and DOSNS VT AM users. latest version) NCP - All versions of the network control program. If a field or bit is not used by all versions of the NCP, the version or versions that use it are shown in parentheses after the field or bit description. For versions not listed, the field or bit is unused. • The displacement of each field from the beginning is given in both decimal and hexadecimal notation (hexadecimal in parentheses). The displacements in the direct addressable areas (XDA, XDB, and XDH) are given in absolute, hexadecimal notation since these are always in a fixed location of storage. • If a single field has dual uses with different labels according to the use, the displacement is listed only once, and a broken line followed by the word "or" is inserted between the different labels. • The contents of some fields are designated as shifted addresses. This means that in 3705 configurations larger than 64K, the storage address is shifted right two bit positions before being placed in the data area. Shifted addresses are always in field with a defined length of two bytes. If the controller has less than 64K bytes of storage, the address is not shifted. • Pointers or addresses contained in fields with a defined length of four bytes occupy the last 18 bits of the field. (Only the last 16 bits are significant if controller storage is less than 64K.) Often byte 0 and the first six bits of byte 1 of these fields are used for other purposes, such as for flags. In cases such as these, the four-byte field is shown as follows: 8(8) XYZISKEP Task entry point (last 18 bits) XYZMCBAD Major control block displacement. 9(9) -,-Task - XYZSCHED - - - - -, di~p~tching Priority. • Labels shown in parentheses are equated in NCP and EP code to the defined label for a field. Equated labels are most frequently used in the direct addressable areas. • One field in every queue control block IOCB) is labeled "major control block displacement". This field contains the offset to the beginning of this aCB from the beginning of the control block that contains the aCB. For example, the DVIMCBD field contains the displacement from the beginning of the device base control block IOVB) to the beginning of the device input OCB. • Bit patterns or hex values within a field are defined in a byte expansion table following the formatted data area. The bytes within a field are numbered from zero origin . .FQr ex~mgJe. if the first byte in a two-byte field has a unique definition, it is referred 1 • ~~sf~¥~'~te expansions that are not identified are reserved. Data Area Layouts 9 ADAPTER CONTROL BLOCK Prograril: NCP Size In bytes: 9O(6A) for NCP1; 92(5C) for NCP2, NCP#. Created by: NCP generation. Pointer to ACB: LCBACBP field in LCB, or ACB vector. The ACB vector is located by doubling the line address, then adding X'800". Function: Contains line control information and the status of I/O operations for BSCISS lines. 3('3)Ret'Y count fori ·2(·2) dial-out. " \0(0) 136(24) I Address of dial-out line for auto call Input/Output Block (lOB) Character Control Block (CCB) ( 10 3704 and 3705 Program Reference Handbook ADAPTER CONTROL BLOCK ACB (SDLC) Program: NCP# Siz. in bytes: 92(SC) Created by: NCP generation. Pointer to ACB: LKBACBP field in LKB. If it is a duplex link, LKBACBP points to the receive leg AeB, and lXBXACBP in the receive leg's ACB points to the transmit leg's ACB. The ACB vector (or BAR vector) is located by doubling the line address, then adding X'SOO'. Function: Contains line control information and the status of I/O operations for SOLe links. 1 1 ·3(.3) Dial retry count. ·2(·2) BAR address for dial-out line. 0(0) 1 Link XIO Siock (LXB) 36(24) Character Control Block (eCB) Data Area Layouts 11 ADDRESS TRACE BLOCK ATB Program: NCP Size in bytes: 32(20) Created by: NCP generation. Pointer to ATB: SYSATBP field in HWE. Function: Governs the operation of the address trace function executing in level 1. 0(0) ATBPRMS Addresses of trace variables (16 bytes). Parameter 1 4(4) Parameter 2 8(8) Parameter 3 12(C) Parameter 4 16(10) 18112) ATBFRST ATBPREV Address of first entry in trace table Address of last entry used in trace table (CXTATPF). (Shifted address.) (CXTATPL). (Shifted address.) 20(14) 22(16) ATBLAST ATBCNTR Address of last entry in trace table. Number of interrupts processed. (Shifted address.) 24(18) ATBPRCT 125(19) ATBCTL No. of variables in each trace entry. Address trace control byte. 28(1C) 26(IA) ATBLVLS' Program levels r 7 (IB) Reserved to be traced. 30(1 E) ATBIN ATBBR Prototype input instruction. Prototype branch instruction. ·Indicates a byte expansion follows. Byte ExpansioM Off1etIField Nom. 26(IA) ATBLVLS Bit Petternl Hex Value X'BO' X'40' X'20' X'10' i:2· Contents Program levels to be traced. Level 2. Level 3. Level 4. Level5. 3704 and 3705 Program Reference Handbook BCB BIT CONTROL BLOCK Program: Nep, EP '..iJ Size in bytes: 16(10) Created By: NCP and EP generation. Pointer: CCBBCB field in CCB(NCP) or CYACHENO field in CHVT(EP). Function: Contains control information for the type 1 scanner. One 8eB is created for each line connected to a type 1 scanner. . 0(0) 2(2) BCBACB ACB address INCP) or CCB address (EP). BCBLlNK Pointer to next 8CB. 4(4) 7(7) 6(6) BCBSCF Sec. control BCBL2 Bit service routine address. BCBPOF Parallel data tid. field. 8(8) BCBVCT High byte of 10(A) 9(9) BCBLCPCF* LCD and PCF BCBSOF Serial data field (10 bits, left justified). PCF vector table addr. 14(E) BCBSYNC (BSC) Sync character. 12(C) BCBMASK* Transmit/receive mask 15(F) BCBSHIFT Start-stop shift count. BCBBMASK* (SS) Transmit break mask. *Indicates a byte expansion follows. Byte Expansions Bit Patternl . Off..t/Fleld Name HexValua Contents LCD and PCF. 9(9) BC~LCPCF 100 • 101 • 110_ 011 • 111. .... .... .... .... .... ...x xxx. .... •• -X LCD field (bits 0-2). Start-stop. BSC. Dial. SOLC Feedback check PCF (See ICW for PCF expansion_) PCF change bit: 1 = same PCF 0- newPCF Data Area Layouts 13 BCB Bit Patternl I OffootlFieId Name 12(C) BCBMASK 14(E) BCBBMASK I 15(F) BCBSHIFT HoxVallIO Con1ents Transmit/receive mask. X'OlOO' X'OIOO' X'OI00' X'OOCO' X'0060' X'0060' X'OI00' X'OI00' X'0300' SOLe esc EBCDIC. eSCUSASCIi. Start-stop 9/6. Start-stop8!5. Start-stop 9n. Start-stop 1On. Start-stop 10/8. Start-stop 11/8. Transmit break mask. (SS) X'10' X'20' X'20' X'40' X'40' X'7E' X'8O' Start-stop8!5. Start-stop 9/6. Start·stop 9n. Start-stop 1On. Start-stop 10/8. SOLC Flag mask Start-stop 11 /8. Start-stoP. shift count No stop-bit error. Stop-bit error encountered (55). Character service not requested . Character service requested • 0 •.• 1. .. .... .... .... .... .... .... .... .... .0 .. .1. . · .0 . ..1 . · ..0 ..• 1 .... 0 ... .... 1. .. .... .... .... .... .... xxx . ••• X .0 .• •.0 . . . 1. .. .0 ... 1 .... .... · , .. x.,. .... 14 . .xx No character overrun/underrun. Character overrun/underrun occurred . No modem error. Modem error enoountered (OSR, CTS, TTY) . carrier detect lead not up. Carrier detect lead up (required if receiving), No frame detection . Store data character• 00 not store data character. Character is not a pad • 00 not send start bit (SSI . SOLC stop shift count Ones counter Last line state 1 = Mark o=Space NRZI control 1 =NRZI 0= NotNRZI Reserved - Character bits 00 = SOLC 8 bit 3704 and 3706.Program Reference HaOdbook BCU BLOCK CONTROL UNIT Program: NCP .",; Size in bytes: 20(14) control bytes plus BTU Located in: Dynamic buffers. Created by: Built by channel IOCS when a block is received from the host (NCP1, NCP2). Built dynamically by internal routines (Nep#). Function: To request work. Buffer Prefix 0(01 BCBUFCHN Buffer prefix chain field. (Shifted address.) Event Control Block 4(41 15 (51BCUESTAT' BCUSTAT' Block status 6(61 BCUECHN ECB chain pointer. Event status flags. flags. 8(81 10(AI BCUECHN(BCUBKLNGI BCUWaC8 Set time interval, as specified by SETIME macro. Address of waiting task's input aCB. or BCUTCNT BCU text count. Work Area 12(CI -----l BCURVTE Address of RVT entry (last 18 bits). BCUREDS BCUFLAGS' Record descriptor. Critical text flags to channel output, 16(101 18(121 BCUTDSP BCUSSP Get byte/put byte displacement Subtask sequence pointer for suspended value. sessions. 20(141 See "Basic Transmission Unit (BTU)" for format. (Variable in length) .", *Indlcates a byte expanSion follows. Data Area Layouts 15 BCU Byte Expansions Bit Pattern! Offset/Field Name Hex Value 4(4) BCUSTAT 1 ... . 1 .. 5(51 BCUESTAT 1 ... . 1 .. 13(01 BCUFLAGS 1 ... .1. . .. 1. Contents Block status flags. Block enqueued. Buffers in block are counted . Event status flags. Event is satisfied. Task is to be dispatched . Critical text flags to ~hannel output. Clear data in release blocks. Replace-session·initiation-information restart mode. Check mode for replace·session-initiationinformation. f ( ( " 16 3704 and 3705 Program Reference Handbook BUFFER PREFIX BH Program: NCP ~ize in bytes: 4(4) Located in: The beginning of each buffer. Created by: Any routine that uses the LEASE macro to get a buffer. Pointer to BH: Variable, (~~unction: ~ Chains buffers in a BCU and points to the beginning of the text data within single buffer. 0(01 2(21 BHBUFCHN* Pointer to next buffer in this chain. (Shifted addressl. 3(31 BHOFFSET* Offset to beginning Text data count (for of text in this buffer only), BHDATCNT* this buffer. ~see the block control Unit (BCU) for labels used In the first buffer of a BCU. Data Area Layouts 17 BLOCK HANDLER DRIVER TABLE BHD Program: NCP Size in bytes: 8(8) per entry; total size of table is variable. Created by: NCP generation. Pointer to BHD: BHS Function: Defines the block handling routines that are to be executed for a particular block handler. Entry Format 0(0) BHDRTNP Pointer to block handling routine (last 18 bits) . . . BHDci-' 1 Entry etl byte 1. 4(4) BHDPARMP Pointer to parameter list (last 18 bits). . . BHDc:i·' Entry ctl byte 2 '1 *Indicates a byte expansion follows. Byte Expamions OffsetIFieid Name Bit Patternl Hex Value 0(0) BHDCl 1. .. . 1. . Contents Entry control byte 1. End of table (last entry). User BHR . Receive control if command is in error. ... 1 Entry control byte 2. 4(4) BHDC2 1. .. .1. . .. 1. 1. .. .1. . 7(7) BHDPARMB 1 ... .1. . . . 1. ... 1 1. .. . 1. . ...1. Receive control for Reacl. Receive control for Invite . Receive control fOT Write. Receive control for Disconnect. Receive control in terminator-subtask for Read 1/0. Byte parameter (for date/time). Date desired. Calendar form of date desired . Julian format of date desired. Gregorian format 1 of date desired . Gregorian format 2 of date desired. Time desired. Date/time stamp first ~_Io~ of message. (~ ~c' -..:",,::'!j ( 18 3704 and 3705 Program Reference Handbook BHR BLOCK HANDLER ROUTINE EXTENSION TO DVB Prognm: NCP >J.ize in bytes: 24{IB) Located in: DVB Created by: NCP generation. Pointer to BHR: DVBBHRO field in OVB. _ Function: Associates block handler routines with a device. Q rO-(O-)~**~------------------------------------------1 BHRBHST Pointer to BHS (last 18 bits). BHRCTL* BHR control flags. Point 3 QCB (BHRBH3Q) (See aCB for Input Queues for all bit definitions.) 4(4)** 616)** BH31ECB BH3LECB Pointer to last BCU queued. (Shifted address.) Pointer to first BCU queued. (Shifted address.) B{B)** BH3STAT 19 (9)** BH3PRKEY Task and queue Protection key. 10(AI** BH3L1NK Pointer to next OCB in chain. (Shifted address.l- status. 12(C)** ...... J.- _.. BH3TSKEP Task entry point lIast 18 bits) . BH3MCBO Major control block displacement. 13{D) BH3SCHED Task d.isp,atching Priority. 16{10)** 18{12)** BH3SAVE BH3LUNK Pointer to previous acB on the queue. {Shifted address.l Address of save area pushdown list. (Shifted address.) 20(14r** BH3BHSET . . . -.. \'.. ---. J BH set (or BHR) address (last 18 bits) . BH3BHRST BHR status bits. 21(15) BH38HSET BHR scheduling bits. * Data Area Lavouts 19 BHR Offset/Field Name 0(0) BHRCTL Bit.Patternl Hex Value Contents BHR control flags. 1. ..... . . 1. . .. 1. ... 1 1 ... Execute 8HR -If a 8HR was specified as dynamic, specified initially as inactive, or deactivated by operator control, this bit will be off. Point 1 . specifies point 1 BHR execution . Point 2 - specifies point 2 BHR execution . Point 3 - specifies point 3 BHR execution . Point 3 - Block Handler Routine queue control block exists for device. This aCB is created by defining PT3EXEC=YES or BHEXEC=:ALl. For dynamic block handlers that have a point 3, there must be a point 3 BHRQCB. f ( 20 3704 and 3705 Program Reference Handbook BLOCK HANDLER SET Program: NCP Size in bytes: 12(C} Created by: NCP generation. Pointer to BHS: BSTBHSPT field in BST. Function: Points to the block handlers that are to be executed for the block handler set. O(O} BHSPl Pointer to point 1 block handler driver table (BHD). 4(4) BHSP2 Pointer to point 2 BHD. 8(8} BHSP3 Pointer to point 3 SHO. Data Area Layouts 21 BLOCK HANDLER SET TABLE BST Program: NCP Size In bytes: 4 bytes per entry; table can contain up to 256 entries. ~'I Created by: NCP generation. Pointer to BST: SYSBST field in XDA. Function: Points to block handler sets (one entry per BHS). 0(0) BSTBHSPT Address of BHS (last 18 bits). (For the first entry, bytes 1·3 contain zeros.) BSTCTL* BH R control flags. (For the first entry. this byte contains the count of BH set pointers in the table.) *Indicates a byte expansion follows. Byte ~; ',- E~nsions Bit Patternl Offset/Field Name HexValU8 Contents 1. .. .1. . . . 1. ... 1 Point 1. Point 2 . Point 3 . 0(0) BSTCTL BHR control flags. Execute. ( 22 3704 and 3705 Program Reference Handbook BLU BASIC liNK UNIT Program: NCP# ;."J Size in bytes: PIU + 6 bytes Function: This is the SOLe transmission block SOLe line Control PIU 3(3) Path I nformation Unit (See PIU 0-1~2 for desaiption.) SOle Line Control Block Check Character (Bec) (2 bytes) ·Indicates byte expansion follows. Bit Patternl Offset/Field Name 2(2) Hex Value 0111 1110 Function Indicates beginning or end of BLU. Control"'" Format xxx. Receive count sequence. Poll/final bit . •• • X xxx. Send sequence count. •• •X O=lnformation transfer BLU . "~IIForm8t Receive sequence count. x~x. ...x xx .. ..01 Poll/final bit . OO==Receive ready (RR) 01=Receive not ready (RNRl 10=Reject Supervisory BLU "NS" Format xxx. xx .. ..•. x ••.. .•.. .•11 Non sequenced command or response Poll/final bit Nonsequenced format Note: See Section 5 for descriptions of SO LC commands and responses. Data Area layouts 23 BASIC TRANSMISSION UNIT BTU Program: NCP Size in bytes: 14{E) control bytes + variable length text. Located in: BCU Created by: The host access method (NCP1, NCP2) or an internal NCP routine (NCP#). Pointer to BTU: None. The starting byte is at displacement 20(14) into the BCU. Function: Contains information for either a request for 110 or for a control operation; or a response for the same. 20(14)** 22(16) BCUSID (BCHSID) Source name. BCUOID (BCHOID) Destination name (resource 10). 24(18) 26(lA) BCUSRES (BCHSRES) BCUseQ (BCHSEQ) Request tag or sequence number identifying this BTU. 28(lC) BCUCMD* (BCHCMD) Command 29(10) BCUMOD (BCHMOD) Command modi~ 27(18) BCULRES (BCHLRES) System response. See Section 7 Extended response. for responses. 110 operation. See Section 7. 30(lE) BCUSFLAG* (BCHSFLAG) Function flags. Contains status of 31(lF) BCHBDUF* BTU flags. fiers. See Section 3 fora list of the BTU com- mands and their modifiers. 32(20) 34(22) BCUTLEN (BCHTLEN) Text length. Text field. (Variable length.) * Indicates a byte expansion follows. **Displacements represent the offset into the BCU. ( 24 3704 and 3705 Program Reference Handbook Byte Expansions Offset/Field Name , '.wi 2B(IC) BCUCMD (BCHCMD) Bit Pattern/ Hex Value X'OO' X'OI' X'02' X'03' X'04' X'OS' X'06' x'or X'OB' ~ x'n' Anya;ther 30(IEI BCUSFLAG (BCHSFLAG) ... 1 31(IF) BCHBDUF Null. Read (R). Write (W). Online test (T). Restart (V). (NCP1, NCP2) Invite (I). Contact Ie). (Modifier byte must be zero.) Disconnect (0). Control (Z). Unsolicited response. Invalid. . 1 .. •. 1. .•. 1 Function flags. Checkpoint select (control commands) or start of header. Header prefix . Suppress Invite (control commands) or leading graphics. First block of message . Transparent data. Positive acknowledgement . Negative acknowledgement . Alternate acknowledgement . .1. . .. 1. Suppress write response . Selective text return 1. .. . 1 .. .. 1. ., Contents Command. (See Section 3 for descriptions.) ,... BTU flags. Data Area Layouts 25 SWITCHED BACKUP EXTENSION TO DVB BUE Program: NCP Size in bytes: 4(4) Located in: OVB Created by: NCP generation. Pointe'to BUE: OVBBUO field in OVB. Function: Contains control information for devices that Can be contacted over a separate line when the current line fails . .---__.--_______--,f 1(1) BUEPLCBP Primary LCB inter. *Indicates a byte expansion follows. Byte Expansions Offset/Field Name ::~:,::I BUEFLAGS 1. .. Contents ~O~(~O~)--~--------t----------+'F~I.-g~b-y~te--------------------~ . 1 .. .. 1. ... 1 26 Service seeking skip when the device is on a multipoint line. Error occurred in dialing out. Invite pending remembrance . Back up in progress. 3704 and 3705 Program Reference Handbook t~ CHARACTER CONTROL BLOCK CCB (EP, PEP) !'togram: EP, PEP Size in bytes: 38(26) for each start-stop line. 44(2C) for each BSe line. Located: SLVL5 Created by: NCP and EP generation. - Updated by: LCP, ICP_ Pointer to CCB: LNVT Referenced by: LCP, ICP, CHVT. Function: Contains current information on the physical operation of a line. One eea is generated for each line specified. 0(0) CCBOATA (CCBSUB1) Data Buffer 0 4(4) CCBOATAl Data Buffer 1. 10(A) 8(8) CCBSVLNK CC8S0LNK Data service queue forward chain Status out queue forward chain pointer. pointer. 12(C) CCBSU8CH Multiplexer sub· channel address. 13(0) CC8BTLCO Type 1 LCD for 14(E) 15(F) CCBSTAT* CCBSENSE* Final line status byte. Final line sense byte. set PCF line use. 1------***CCBCFLG* Configuration Flags 16(10) CCBCMD Current command for eCB. ~ I 17(11) CCBLRI* Line request information, 5 bits. 18(12)** CCBCSTAT 21(15) CCBSVSTC* 22(16) CCBCLOCK Service/status flag byte. Timer control 20(14) CCBCAC* Character ad· 24(18) CCBACADR I 19(13)** CCBCSENS Current sense (See Section 6.) dress counter. W Current status. field. 26(lA) CCBOPT* CCB option byte 1. Autocall address. * Indicates that a byte expansion follows. **For byte expansion of CCBCSTAT, refer to CCBSTAT. For byte expansion of CCBCSENS, refer to CCBSENSE. ***EP having a type 4 CA and NCP#with PEP. 23(17) CCBTMADR Timeout routine displacement into branch table. 27(lB) CCBOPT2* Option byte 2. Data Area Layouts 27 CCB (EP, PEP) 28(1C) CCBSTMOO' Set mode byteOutput X'46' 29(10) CCBLCD' Line control definition (LCD) field. (High 4 bits contain line control definer; low 4 bits contain 0.) Start/Stop Extension 3O(1E) CCBLRC 55 longitudinal redundancy 31(1F) CCBSSC' S5 control flags byte. check byte. 32(20) (Note 1) CCBPEPFL' PEP flags 34(22) CCBLGT SS line group table pointer. -CCBSScX'--l S5 control flags extension 36(24) 38(26) CCBL2 CCBCHAD R (Note 2) Channel control block pointer Level 2 interrupt address. "'Indicates that a byte expansion follows. Note 1: CCBPEPFL is a halfword when EP is used having a type 4 CA and NCP#. Note 2: Used with EP having a type 4 CA and NCP#. Binary Synchronous Extension 3O(1E) CCBBCC BSC block check characters CCBBCC1 BSC block check character 1. 3i(1'F! CCBBCC2 BSe block check character 2. 32(20) CCBPEPFL' PEP flags. 36(24) CCBL2 Address of current level 2 character 34(22) CCBSYN BSC EBCDIC or USASCII Syn character. 35(23) CCBEOT BSC EBCDIC or USASCII EOT character. 38(26) CCBFLGB1' Flag byte 1- 39(27) CCBFLGB2' Flag byte~terminal type. service routine. 40(28) r-CBL2A1 . status. 42(2A) 1.ost datarouting. Indicates a byte expansion follows. 28 CCBDLCOM eeB address if dual communications feature is installed (2701 emulation only) . 3704 and 3706 Program Reference Hanclbook { CCB (EP, PEP) Binary Synchronous Extension EP having a type 1 CA, and NCP# 3O(IE) CCBBCC sse block check characters -------:- "3iTiF)----- 1 32(20) CCBPEPFL* PEP flags. Unused for EP standalone CCBBCC2 BSC block check 34(22) CCBSYN BSC EBCDIC or USASCII Syn 35(23) CCBEOT BSC EBCDIC or USASCII EOT character 2. character. character. 36(24) ~ CCBBCCI BSC block check charac1er 1. CCBL2 Address of current level 2 character service routine. 39(27) CCBFLGB2* Flag byte 2- 3B(26) CCBFLGB1* Flag byte 1- terminal type. status. 42(2A) 40(2B) CCBL2Al Lost data routing. CCBDLCOM cca address if dual communications feature is installed (2701 emulation only). ·Indicates a byte expansion follows. Binary Synchronous Extension (type 2 scanner) EP having 8 type 4 CA, and llicp# 3O(IE) CCBBCC ~ _ _ !.S£~~~e~~~~e~ ___ 31(IF) CCBBCC1 CCBBCC2 BSC block check BSC block check character 1. character 2. 32(20) '- CCBPEPFL* PEP flags. 34(22) CCBSYN BSC EBCDIC or USASCII Syn character. 36(24) 35(23) CCBEOT BSC EBCDIC or USASCII EOT character. 38(26) CCBL2 CCBCHADA Address of current level 2 character Channel control block pointer I service routine. .~ 38(26) CCBFLGB1* Flag byte 1- status. 40(28) CCBFLGB2* Flag byte 2terminal type. CCBL2Al Lost data routing. 42(2A) CCBDLCOM CCB address if dual communications feature is installed (2701 emulation only). -Indicates a byte expansion follows. ~ Data Area Layouts 29 Station Select Feature Extension (type 2 scanner) . CCB (EP, PEPI EP having a type 4 CA, and NCP # : 46(2EI CCBSAOR 47(2FI CCBGAOR Poll or select Group selection address address Binary Synchronous Extension (type 3 scanner) f" EP having a type 4 CA, and NCP# 3O(TEI 'CCBTBUF First extended buffer address 32(201 34(221 CCBPEPFL * PEP flags. 36(241 CCBL2 Address of current level 2 character service .routine. 40(281 CCBFLGB'* 1411291 CCBFLGB2* Flag byte 1Flag byte 2terminal type. status. 44(2CI CCBOLCOM CCBBBUF Second extended buffer address 38(261 CCBCHAOR Channel control block pointer 42(2AI CCBBCNT Second buffer count 46(2EI CCBCAB* CCB address if dual communications Channel adapter feature is installed (2701 emulation only). flags 48(301 CCBIS Index save byte I ~,.; 43(2BI CCBTCNT First buffer count 47(2FI CC8BUFSZ Buffer size (Reservedl ·Indicates a byte expansion fol.lows. f~· 30 3704 and 3705 Program Reference Handbook CCB (EP,PEPI Station Select Feature Extension (Optional) i-o 44(2C) - CCBSADR 45(2D) CCBGADR' Station selection Group selection address and station address. poll address. These two addresses differ in bit position 2. Wlndieates that a byte expansion follows. Byte Expansions Bit Patternl Offset/Field Name 14.(E) CCBSTAT 15(F) CCBSENSE Hex Value Contents Final line status byte. X'OO' X'OI' X'02' X'04' X'OS' X'OC' X'OD' X'OE' X'10' X'20' X'40' X'4C' Reset status byte. Set UE. SetUC. Set DE. SetCE. SetCE, DE. Set CE, DE, UE. Set CE, DE, UC. Set CU busy. Set control unit end. Set SM. Set CE, DE, SM. X'SO' Set attention. X'OO' X'OI' X'02' X'04' X'OS' X'10' X'20' X'40' X'SO' Reset sense byte. Time-out Set lost data. Set overrun. Set data check. Set equipment check. Set bus out parity check. Set intervention required. Set command reject. 1 ..... .. Set interface disconnect flag. Set data end flag . Final line sense byte. Line request information. 17(111 ~ CCBLRI I " .... 1 .. . .... .yxx y=buffer (0 or 1I xx"'number of bytes requested from or presented to the channel. 20(141 CCBCAC Character address counter. x'or ResetCAC. .... 1. .. Set BSC inhibit store flag . X'B8' X'4S' Set data service (buffer 0) + data end. Set data service (buffer 1) + data end. Set SVI and SVO bits. ServicelStatus flag byte. :ill (151 ~CBSVSTC X'CO' Data Area Layouts 31 CCB (EP, PEP) Bit Patternl Offset/Field Name 26(IA) CCBOPT Hex Value Contents eeB option byte 1. 1 ... .1. . Auto call option installed. Long disable time-out. .. X. Dualcom interface A==O .. 1. ... 1 Not unit exception on EOT(lBM 88) . Ring option installed . ~__ \ '! - B=I(BSC). 1 ... .x . . .. 11 27(IB) CCBOPT2 28(IC) CCBSTMOO Switched line installed. Duplex line installed; O=half, l=full . Type 2 scanner highest interrupt priority . eeB option byte 2. 1 .... Channel decode IBM type 1 and type 2 EOB. . 1. . . . 1. ... 1 Trace active for this line . Channel decode IBM type 3 ETX . 2702 or 2703 . 1 ... . 1 .. 58 no OeD security monitor. World Trade telegraph . .. 1. ... 1 Not long line quiet time-out (25.6 seconds). cIBM modem flag (option I, SS only). ~, Set-mode byte, Output X'46'. Type one scanner low bit service priority. 1. .. . 1 .. .. 1. Diagnostic Wrap mode. Data terminal ready, Binary sync clock. ... 1 1 ... . 1 .. .. 11 External (data set) clocking. Data rate select. Oscillator select . Line control definition (LCD). 0000 0010 0011 0100 0101 Olio 0111 1100 1101 1111 32 r 55 9/6 (1 start, 6 data, and 2 stop bits). SS 8/5 (TTY 1· 83B3, lISA). Autocall LCD. SS 9n (IBM type 1). SS IOn. SS 1018 (2848). SS 11/8 (TTY2 . TWX models 33/35). sse EBCOIC. BSC USASCII. Feedback check. 3704 and 3706 Program Rbference Handbook CCB (EP, PEP} " W OffsetlField Name 31(IF} CCBSSC W Bit Patternl Hex Value 000. 001. 010. 100. 110. ... 1 1 ... . 1 .. .. 1. Contents Start-stop control flags byte. TTY2 type line. 2848 type line. TTYl type line. IBM type 1 lin•• IBM type 2 line. Bypass LRC (IBM type 1 and 2); not upshift (TTY 1 and 2). Not immediate end (no line quiet pad check). L.ower case remember . Not text in (IBM type 1 and 2); not Figs H (TTY2). ... 1 .., 32(20} CCBSSCX (SS) 32(20} (BSC) CCBPEPFL 33(21} (SS) 38(26} CCBFLGBI Start-stop control flags extension. .... ... 1 Half duplex link on which break is allowed. Byte 0 PEP Flags. Reserved. BVte 1 x ... .... O=NCPACB. I=EP CCB. CCB flag byte l·statu •. 1 ... . 1 .. .. 1. ... 1 Channel priority. EIB mode . Not new sync . Interrupt mode. 1 ... . 1 .. .. 1. ... 1 38(27} CCBFLGB2 1 ... . 1 .. .. 1. "" , I 1 ... . 1 .. . ~ 1. ... 1 45(2D} CCBGADR 46(2E} CCBCAB Not text out (IBM type 1 and 2); not first character (2848 and TTY). EIB data check. EIB overrun. Code B selected . ITB mode . CeB flag byte 2·terminal type. Dualcom installed. Station select installed . ASCII transparent. Transparent mode, wait for second write. Second write accepted . Multipoint address remember flag . No trailing pad check . Group selection address. Multipoint address difference bit . .. 1. .•.. x ... .1 .. .. 1. ... 1 Sync monitor latch 1=Syncs detected in inbound CA transfer. O=Non-sync character detected in inbound data. OLE remember latch ASCII monitor control latch . EBCDIC monitor control latch . :..; Data Area Layouts 33 CHARACTER CONTROL BLOCK (DUMMYI CCB (EP,PEP) , \ Program: EP, NCP2, NCP3 Size in bytes: 10 (OAI Located: SLVL5 Created by: NCP and EP generation. Updated by: ICP. Pointer to Dummy CCB: CHVT (Pointer has low order bit on). Referenced by: ICP, CHVT. &.:..' ~" Function: Used to handle sense, test 110 sad 1/0 NOP to a subchannel within the highlow range of subchannel addresses. but to which no line has been assigned. 8(81 10(AI CCBSVLNK CCBSOLNK Status out queue forward chain pointer. Data service queue forward chairi pointer. 12(CI 13(01 14(EI 15(FI CCBSUBCH Multiplexer sub- CCBBThCD Type 1 LCIl for:set Final line status channel address. PCF line use, byte. 16(101 CCBCMD Current command for CCB (See section 6.l CCBSTAT CCBSENSE Final line sense byte. 17(111 CCBLRI Line request information:. f \. ( 34 3704 and 3705 Program Reference Handbook CHARACTER CONTROL BLOCK (Line Tort) CCB (EP,PEP) Program: EP,PEP Size in bytes: 38(26) for each start~stop line. 44(2C) for each BSC line. Located: SLVL5 Created by: NCP and EP generation. Updated by: LCP,ICP. Pointer to CCB: LNVT Referenced by: LCP, ICP, CHVT. Function: Contains current information on the physical operation of a line. One eea is generated for each line specified. 0(0) CCBOATA Receive Data Buffer 4(4) 6(6) CCBTLINK CCBTBAOR Return Unk Address Save Area Transmit Buffer. Address 10(A) 8(81 CCBSVLNK CCBSOLNK Data service queue forward chain pointer. Status out queue forwa~ chain pointer. 12(C) CCBSUBCH Multiplexer sub- channel address. 16(10) CCBCMD CUffant command for eeB. 13(0) CCBBTLCD Type 1 LCD for 14(E) CCBSTAT* 15(F) CCBSENSE* Final line status byte. Final line sense byte. set PCF line use. 17(11) CCBLECS* Line Error Check. 18(12)** CCBCSTAT 19(13)** CCBCSENS Current status. Current sense (See Section 6.) 20(14) CCBCAC Buffer Index. 21(15) CCBTEST 22(16) CCBCLOCK Active Test Function Timer control 24(18) CCBACADR 23(17) CCBTMADR Timeout routine displacement into branch table. field. 26(IA) CCBOPT* CCS option byte 1. Autocall address. ·Indicates that a byte expansion follows. "'·For byte expansion of CCBCSTAT, refer to CCBSTAT. 27(IB) CCBOPT2* Option byte 2. For byte expansion of CCBCSENS, refer to CC8SENSE. Data Area Layouts 35 CCB (EP, PEP) 28(IC) CCBSTMOO* Set mode byteOutput X'46' 29(10) CCBLCO' ~,\ Line control defini- tion (LCD) field. (H iSh 4 bits contain line control definer; low 4 bits contain 0.) Start/Stop Extension 3O(1E) CCBLRC SS longitudinal 32(20) CCBSSCX* SS oontrol flags 33(21) CCBPEPFL' PEP flags redundancy check byte. 34(22) 31(IF) CCBSSC* SS oontrol flags byte. CCBLGT 55 line group table pointer. extension. 36(24) CCBL2 Level 2 interrupt address. Binary Synchronous Extension 3O(IE) CCBBCC SSC block check characters - - CCBBcCl - - 31(iF) - - BSC block check character 1. 32(20) CCBPEPFL* PEP flags. 34(22) CCBSYN BSC EBCDIC or USASCII Syn character. 36(24) CCBL2 Address of current level 2 character 38(26) CCBFLGB1* Flag byte 1- service routine. 4O(2B) stetus. CCBBCC2 BSC block check character 2. 35(23) CCBEOT BSC EBCDIC or USASCII EOT character. 39(27) CCBFLGB2* Flag byte 2terminal type. { 42(2A) CCBL2Al lost data routing. CCBOLCOM CCB address if dual communications feature is installed (2701 emulation only). "Indicates a byte expansion follows. ( 3B 3704 and 3706 Program Rafaranca Handbook CCB IEP, PEP) Station Select Feature Extension (Optional) • 44(2C) CCBSADR Station selection address and station poll address. These two addresses 4512D) CCBGADR* Group selection address. differ in bit posi· • (~ tion 2 . *Indicates that a byte expansion follows. Byte Expansions Bit Patternl Offset/Field Name 14(E) CCBSTAT "- 15(F) CCBSENSE ~ 17(11) CCBLECS Hex Value Contents X'OO' X'OI' X'02' X'04' X'OS' X'OC' X'OD' X'OE' X'10' X'20' X'40' X'4C' X'SO' Reset status byte. Set UE. Set UC. Set DE. Set CEo Set CE,DE. Set CE, DE, UE. Set CE, DE, UC. Set CU busy. Final line status byte. Set control unit end. Set SM. Set CE, DE, SM. Set attention. Final line sense byte. X'OO' X'OI' X'02' X'04' X'OS' X'10' X'20' X'40' X'80' 1 •... .1 .. .. 1. ... 1 Reset sense byte. Time-out Set lost data. Set overrun. Set data check. Set equipment check. Set bus out parity check. Set intervention required. Set command reject. .... .... l .•• .... 1. .. .... .1. . .... .. 1. .... ... 1 ~ 21(15) CCBSVSTC X'88' X'48' X'CO' Reserved for interface disconnect Data check Transmit mode Receive mode Normal compare set SWap 3 set SWap 2 set Swap 1 set ServicelStatus flag bvte. Set data service (buffer 0) + data end. Set data service (buffer 1) + data end. Set SV 1 and SVO bits. Data Area layouts 37 CCB (EP, PEP) Offset/Field Name 26(IA) CCBOPT BitPatteml Hex Value CCB option byte 1. 1 ... . 1 .. Auto call option installed. long disable time.out . ..x. Dualoom interface A::::O B=1 (BSC). Not unit exception on EOT(lBM 55) . Ring option installed . Swltched line installed . .. 1. ... 1 .... 1 ... .x . . .. 11 27(IB) CCBOPT2 1 ... . 1 .. .. 1. ... 1 1 ... . 1 .. .. 1. ... 1 28(IC) CCB5TMOD 1 ... . 1 .. .. 1. ... 1 .... 1 ... . 1 .. .. 11 29(10) CCBlCD Contents 0000 0010 0011 0100 0101 0110 0111 1100 1101 1111 ~~:e; ~=~~~~~:;~~:~~;f~~i'oritY. ~ CCB option byte 2. Channel decode IBM type 1 and type 2 EOB. Trace active for this line . Channel decode IBM type 3 ETX . 2702 or 2703. SS no OeD security monitor. World Trade telegraph. ~. Not long line quiet time-out (25.6 seconds) ~• IBM modem flag (option 1,55only) . 5et mode byte, Output X'46'. Type one scanner low bit service priority. Diagnostic Wrap mode . Data terminal ready . Binary sync clock . External (data set) clocking . Data rate select . Oscillator select. Line control definition (LCD). 55 9/6 (1 start, 6 data, and 2 stop bits). 55 8/5 (TTY 1 • 83B3, 115A). Autocall LCD. 55 9n (IBM type 1). 5510n. 55 10/8 (2848). 55 11/8 (TTY2· TWX models 33/35). BSC EBCDIC. BSC U5ASCII. Feedback check. (, ( 3B 3704 and 3705 Program Reference Handbook Data Area Layouts 39 CHARACTER CONTROL BLOCK CCB .(NCP) ........m: NCP Size in byllls:. 56(38) Created by: NCP generation. Pointer to CCB: Follows lOB in ACB for BSC/SS lines. Follows LXB in ACB for SOLC lines. Function: Contains line control information. 36(24) CCBL2 Address of current level 2 character service routine. 40(28) 38(26) CCBSTATE· Pointer to character service state address table. Initiallv. CCBSTATE contains the address of the beginning of the state address table. The masks shown in the byte expansion are applied tathe low-order byte of CCBSTATE by the character service routines. They change the valud'of CCBSTATE so that it points to the entry in the state address table that contains the address of the routine to handle the line state indicated. 42(2A) CCBTACBor CTBACB Pointer to the next ACe in the timer chain. 44(2C) CCBlWORKor CTBWORK Timer work entry for this ACB. 46(2E) CCBLINK Pointer to next ACB in level 2·3 chain. CCBTIME· Time-out interface. CCBTOCMO Time-out command. 48(30) CCBBCC CRC check ch.racter (BSC). or CCBBCB BCe address, if type 1 scanner. CCBTOREM Time-out remembrance. 50(32) CCBBAR Line address, if type 2 scanner. or r···· . CCBLRC LRC character (SS). -Indicates a byte expansion follows. r CCBCASE Case history (SS). { ~.. 40 3104 Ind 3706 PrOgrem Refarance Handbook CCB (N!=PI 54(36) 52 (34) CCBLGPT Pointer to line group tabte for CCBCNTS Character countlbuffer count field. group. CCBCHAR Buffer character count. l······· CCBCUT Buffer. maximu~ for a receive operation. 58(3A) 56(38) CCBSTAT1' Current operational status of the line. CCBENDI Line status at completion of a level 2 operation. The level 2 routine moves the status from CCBSTAT1 to CCBENDI at the end of an operation. 60(3C) CCBOATA" Address of the data byte bt!ing sent or received (last 18 bits) . . . CCBNCFL' Flags for control CCBEN02 Record descriptor flags moved from operations between lOB commands. CCBSTAT2at end of a level 2 operation. 64(40) CCBSTART Current buffer address (last 18 bits). - CcBOFSEr At start of a receive - - -CCBFLAGS' - . _.General Flags. operation, set to the offset into the buffer of the first data char· acter (SS/BSC only), .1 after first character is received, set to zero, indicat,ng that data was stored. 68(44) CCBRXLAT Address of receive translate decode table. CCBCPCNT Poll cycle count (SOLC). 69(45) CCBCPRAT Conuct poll rate (SOLC). 70(46) CCBTXLAT High·_ byte of 71(47) CCBSTAT2 Record descriptor transmit translate flags. If any bit in decode table address. this field Is on. it (The low-order byte indicates that the· of the address is the corresponding char· character to be aCler was scanned. translated) . ._--------CCBPASCT Pass counter-number of BLUs sent (SOLCI •. _r orCCBNEXT Buffer for next to be trlnsmitted. CCBRBLUC' BLUcommand field received for lovel3 (SOLC). (.I • _ ~ ·Indl","", a byte expansion follows. ."Typo 3 scanner .....iva-Addr... of one charmer beyond tho lISt character received. Typo 3 soannor tronsrnit-:-Addms of the next buffer in the write chlin (zoro if nono). Date Area Layouts 41 CCB (NCP) 72(48) CCBHOBUF , , , , , , 'r/" ' , , ' , Address of first buffer in a block (last 18 bits). I CCBBUFCT Buffer.maximu":, for CCBTYPEC* Oial control flags. a receive operation. 76(4C) 80(50) CCBSMSOF* Set mode. control flags, 79(4F) CCBFSTSV 7B(4E) CCBERTRY CCBL3 Address of next level 3 routine to be executed. B1(51) CCBXTPCF Transmit turn around. LCOIPCF, Text error retry CCBCTL* Control flagslline type. T CCBRSPON* Control flags. 84(54) Save area for current status. limit. 82(52) 86(56) CCBESTAT Expected ending status of the level CCBTYPE* Line type. CCBL2REM Save area for eCB L2. (SOLC) 'S7i5i) "2 operation. CCBNEGPO CCBICCCT Initial control BSC negative character count. poll wait timeout , , , , , , , , or CCBVTABO Vertical tab delay (number of idles sent after a verti·cal tab; SS only) 88(58) CCBCRTN Number of print positions carriage 89(59) CCBLCNT Length of print line (SS only), will return in time 'OO(5A) CCBLTCRP Number of data positions since last carriage return. 91(5B) CCBNTCRP Net carriage return value. it takes to send one idle character (SS only). I orCCBAFLO orCCBCFLO Received secondary station address SO LC/BTU com' (SOLC). mand field. Received orCCBLNRP Last N(R) processed (SOLC). orCCBPOLLI Poll interval· f maximum poll rate (SOLC) orCCBXTICH Character position of ITB mode transparent text (BSC only), f 42 ;1704 and 3706 Program Reference Handbook (NCP) Byte Expansions Offset/Field Name 3S(26) CCBSTATE Contents Pointer to character service state address table. State masks used by SSC character service X'OO' Receive not text. X'02' Receive. phase. X'04' Receive Bec. X'OS' Receive first not text. X'OS' Receive end pad. X'OA' Queue received sub-block. X'OC' Receive text. X'OE'. Receive intermediate BCC. X'10' Transmit not text. X'14' Transmit BCC. X'lS' Transmit syn insertion. X'18' Transmit end pad. X'lA' Transmit initial. X'l C' Transmit text. X'l E' Transmit intermediate BCe. X'20' Receive idle. X'22' Receive enable. X'24' Receive OLE in text. X'26' Receive disconnect. X'28' Receive OLE in not text. X'28' Transmit OLE in not text. X'2A' Receive transparent text. X'2C' Receive first transparent text. X'2E' Receive OLE in transparent text. X'30' Transmit Diagnostic. X'32' Transmit Dial. X'34' Transmit OLE in text. X'3S' Transmit syn insert-transparent. X'3A' Transmit transparent text. X'3C' Transmit first transparent text. X'3E' Transmit OLE in transparent text. State masks used by start-stop character service X'OO' Receive control. Receive lost data. X'02' X'04' Receive LRC. X'OS' Receive response. X'OE' Line turnaround. X'lO' Transmit ctl. w/repetition. X'12' Transmit pad. X'14' Transmit LRC. X'lS' Transmit reply. X'lA' Transmit ctl. w/address. X'l E' Line turnaround. X'24' Receive first character, MTA. X'28' Receive post sense byte. Post the ACB queue. X'2A' X'2C' Receive line quiet test{l). X'2E' Receive line quiet test(2). X'32' Receive line quiet test(3). X'34' Transmit carriage idles. X'3S' Transmit 1030 text idles. X'38' Transmit reset pad flag. X'3e' Transmit sub·block end. X'3E' Transmit break. Data Area Layouts 43 GCB (NCP) Offset/Field Name Bit Pattern/ Hex Value Contents State masks used by SO LC character service X'OO' RCV idle. X'OE' Shoulder tap time-out. X'IE' Shoulder tap time-out. X'20' ReV idle. X'22' Enable. X'26' Disconnect. X'2E' Shoulder tap time-out. X'3E' Shoulder tap time·out. ~ State bits and definitions OLE mask. l=OLE encountered. O=No OLE encountered X'10' Transmit/Receive mask. l=Transmit. O=Receive. X'04' CTL or text out test mask. l=SS state is receive reply. O=SS state is receive control. X'02' Send EOA mask. 1=5end pad in place of EOA. X'20' [ [ ~ O=Send EOA. X'OI' 46(2E} CCBTIME The bits in position 0 of both bytes of CCBTlME are used together for time-out control. When these bits have different values in the two bytes of First flag mask. l=First non SYN or OLE. O=No first non SYN or OLE. Time-out interface. CCBTlME, a new timer command is present. 56(38} CCBSTATI Byte 0 ... 1 ... .1 .. .. .. .. 1. ... 1 ... .. ... .... CCBCMPCO .... 1 ... Byte 1 ,1 .. .. 1. ... 1 Current operational status of line. Exceptional ending flags passed between levels 2 and 3. Character ovJrrun/underrun. Format erro (abnormal line control sequence for a receive operation). Stop bit error (start·stop only) . Abort frame (SOLC). Seven ones in a row have been received. Data check (VRC, LRC, or CRC error) . Block overrun occurred (SOLe). Line quiet time-out (SS only). Reset command in process. Invalid OLE sequence (BSe only). Transmit length check. (BSe/SS) ~ Completion codes indicating how the I/O operation end~. Status masks are the same a"hose for IOBSTAT+l (BSC/SS lines) or LXBSTATC (SOLC links!. 44 3704 and 3705 Program Reference Handbook Offset/Field Name 61(30) Bit Patternl Hex: Value Byte 1 CCBNCFL 1. .1. .. 1. .. 1 65(41) CCBFLAGS (III 1. . 1. ... 1 1. .1 .. Reseive~ 71(47) CCBRBLUC ~ RRRP RRRP RRRP RRRP SSSO 0001 0101 1001 0011 1001 0101 OOll 0001 0111 0111 0011 0001 0111 0001 1111 1001 0111 P=PoillFinal RRR=N(R) SSS=N(S) 73(49) CCBTYPEC 1 .1. .. 1. .. 1 . 1 .. Set mode control flags. CCBSMSDF Se,:vice priority (type 1 scanner). 1"'low priority. O",high priority. Diagnostic mode . Data terminal ready bit . l=synchronous line. O=start·stop line. l=modem clocking. 0=3705 clocking. Data rate select bit (World Trade modems). l"'high speed_ O"'low speed. Oscillator select bit 1. Oscillator select bit 2 . Control flags/Line type. . 1. .. 1. i.iJ C Fie~.~ - BLU 50Le I format S format RA cmd/resp. 5 format RNR cmdlresp. 5 format REJ cmd/resp. N5 format SNRM cmd. NS format SDRM cmd. NS format 51 M cmd. NS format NSA resp. NS format RQI resp. NS format ROl resp. N5 format CMDR resp. l-Poll (c~dl - Final (re~p) Recv seq count Send seq count Dial control flags. Switched line. Line has auto dial unit (switched only). Recognize ring Indicator lead . Line has DC telegraph loop . 1"'Generate answer tone after call· in. O=Answer tone is automatic . Not NRZI mode. 80(50) W ""'" Contents Flags for control operations between lOB commands. Command initialization delay required. Special ender procedure when no command is up. Send TTD bit . Send WACK. (Bits 4-7 reserved). General flags. Tab preceded CR/LF (55). No time-out (SSCI. Initial time-out interval (SOLe}. Control mode indication. l=control mode is response to text. O=control mode if from polling or addressing. Post ACB to the queue after turnaround . One character of break signal received (SS). Next event is ITS (SSC). line is in diagnostic mode. OlL T active (SOLe) .. 1. .. 1 82(52) CCBCTL Byte 0 Control flags. Control Flag Definitions for Replies Send NAK reply/delay after autodial. 1 ... Send ACK reply. .1 .. Alternating ACK bit for esc (valid only if .. x. bit 1 is also onl. 1=send ACK 1. O=send ACKO. Data Area Layouts 45 CCB (NCP) Bit Pattern! Offset/Field Name Contents Last text reply was WACK (BSC). TTO received when ACK outstanding Last reply outstanding (SS). Hex Value ... 1 .... Expected receive alternate ACK bit (BSC) . l==ACKl expected reply. O=ACKO expected reply. .... x ... Control Flag Definitions for Polling Operations SOLe poll wait 1=wait 0::::"0 wait or Service seeking skip bit. l==Terminate if at end of service order table. O==Continue service seeking . SD LC transm it leg busy. Service seeking polling, or single poll. Service seeking. Orderly link stop, x . .. .... .1 . . · .1 . · .. 1 1:::End run when both transmit and receive legs idle. (SO Lei SDle receive leg busy, · ... x... o ••• • •• l=Cannot poll now (primary). (Always on if secondary.) O=Can poll now. SDle poll loop cor.trol x l==At end of list no active station found O=Active station found in list Control Flag Definitions for Enable/Dial Operations 1... .1 . . · .x . Abort enable dial. Abort when level 2 processing ends. Duplex enable second pass through under (SOLC). l=Second pass through enable end. O=First pass through enable end. · .. 1 .... Send ENQafter to. (8Its4·7 reserved). Control Flag Definitions for Text Operations I )1 . .. .... Insert data before text. (Bits '·7 reserved). Control Flag Definitions for Multiple Terminal Access MTA retry in process. (Bits 1·3 reserved). 1. .. 1 ... MTA line enabled. Phase bits: .xx. 8'OO'=ldle. S'Ol'=Receive text. B'10'=Receive text reply. B'11'=Receive control. Phase bits for SO LC operations: 8'OO'=No command active. 8'Ol'=SOLC I·format sent or SOLC RR-sent. B'10'=SOLC RNR ..ent. 8'11'=SDLC NS-command sent. Special phase bits for ID exchange: 8'OO'=No command active. B'Ol'=Receive 10 phase. B'10'=Receive 10 reply. 8'11'=Connect and Command Reject. Leading graphics being sent . .. 1. Sub·blocking occurred . ... 1 c ( 46 3704 and 3705 Program Reference Handbook CCB INCP) Bit Pattern/ Offset/Field Name Hex Value Contents CGBTYPE Byte 1 Line type x ... 1=Line is on a type 3 scanner. O=line is not on a type 3 scanner. Duplex adapter . l=Line has 2 line adapter addresses. 0=1 line adapter address. .x .. •• X • .... Half duplex ACB or duplex transmit leg AGB. l=Half duplex leg or duplex transmit leg AGB. O=Duplex receive leg ACB. or Duplex adapter transmit leg ACB. l::Transmit leg. Q=Receive leg. or SS IWTTY) strip FIGS/LTRS NGP#. l==Strip F IGS/LTRS in received text. ... 1 .... Use data set new sync feature IBSG/SDLG). Half duplex link on which break is .... x ... .... . 1 .. ... • •X • .... .. .x allowed (55). Line type bit . l=BSG. Q=start-stop, SDLe (see bit 7) . Remote station can receive error message IBSG). Time-out valid reply for negative poll J I (start-stop). Point-ta-point contention bit (BSC/SOLC) . l=poinHo-point contention secondary station (BSC). O"'poinHo'point contention primary station. 1=SOLC secondary station. O=SOLC primary station. World Trade shift bit (55), l=upshift on space character (WTTY only). O=no upshift on space. SO LC link bit NCP#. l=Line type is SOLC (Bit 4=0). O=Line type is not SOLe. or SIS IWTTY) strip FIGS/L TRS. INGP2j 1=Strip FIGS/LTRS in received text. Q=Leave FIGS/LTRS in received text. Data Area Layouts 47 CLUSTER GENERAL POLL EXTENSION TO ova CGP Program: NCP Size in bytes: 16(10) Located in; oVB Created by: NCP generation. Pointer to CGP: OVBCLSO field in OVB. Function: Contains information necessary to reinitiate suspended sessions of general polled devices. ( 0(0)' CGPRVTE Pointer to RVT entry. 4(4)' CGPSSC Suspended sessions count. S(S)" r CGPSSS 1'6(6)" (Reserved) ~spende~ ses- sions serviced. Cluster Suspended Sessions ace (See aCB for Work Queues for all bit definitions.) 10(A)' S(S)" CGPIECB Pointer to first BCU queued. (Shifted address.) 12(C)' 113(0)' CGPPRKEY CGPSTAT CGPLECS Pointer to last BCU queued. (Shifted address.) 14(E)' CGPLINK Task and queue Protection key. Pointer to next aCB in chain. (Shifted address.) status. .. ... Actual position depends on other extensions present. ~.. ( 48 3704 and 3705 Program Reference Handbook CHB (NCP1,2) CHANNEL CONTROL BLOCK PrOgram: NCP1, NCP2 Size in byte.: 128(80) '..J Created by: NCP Generation Pointer to CHB: CHSVH2 field in XDH Function: Contains the parameters and control fields used by the type 2 channel adapter 110 supervisor. CHB Prefix -24(-18) CXCAWQ Channel work aCB. (For format, see Queue Control Block for Work Queues.) -16(-10) CXCAHQ Channel hold ace. (For format, see Queue Control Block for Work Queues.) -8(-81 CXCAECB Event control block for leasing buffers. (For format, see Event Control Block.) 0(0) CHBSTATE* 1(1) CHBTRIG* Channel adapter outbound state 2(2) (Reserved) . Channel trigger field. CA select byteindicates current primary CA. field. 4(41 3(3) CHBCASEL* 6(61 CHBXR50 CHBXR51 Save area for external register X'50', Save area for external register X'5,', 8(BI 10(AI CHBXR52 CHBXR53 Save area for external register X'52'. Save area for external register X'53'. 12(CI 14(EI CHBXR54 Save area for external register X'54'. * Indicates a byte expansion follows. CHBXA55 Save area for external register X'55'. Data Area Layouts 49 (NCP1,21 16(101 Save 18(121 ~rea CHBXR57 for external register X'57'. CHBXR5C Save area for external register X'5C'. 20(141 CHBIM1SV· Save area for input manager's linkage register to CXCACIM1. 24(18) fi CHBIM3SV Save area for input manager's linkage register to CXCACIM3. 28(1CI CHBECBAD Address of ECB for leasing buffers. 32(201 CHBEQSV Address of the complete BTU to be passed to the system rOl:lter. f 36(24) CHBEQSVN Address of the last buffer in the BTU to be enqueued. 40(281 CHBBSVS Address of the first buffer on the save chain. 44(2C) CHBBSVE Address of the last buffer on the save chain. 48(301 CHBICFB Address of the first buffer in the CW chain. 54(36) 52(341 CHBICPS CHBICFE Pointer to the input CW chain (CIC). Address of the first CW on the input CW chain (CICI. 56(38) 58(3AI CHBICLE CHBLEXCW Address of the last CW on the Address of last executed CWo input CW chain (CIC). 62(3E) 60(3CI CHBRNBS CHBLBCNT Number of data bytes in one NCP Data count for last inbound buffer used. buffer (shifted left two bits). 66(42) CHBRNBAL 64(401 CHBRCNT Original data count in last CW executed. NCP generated buffer lease count for inbound data. 67(431 CHBBLC Current buffer lease count (same as CHBRNBAL except during slowdown, when this field equals one). 6B(44) CHBCOMSV Save area for linkage register for CXCACOM. 72(481 CHBHQBS Address of the last outbound BTU given to the channel adapter output initiator. ( 50 3704 and 3705 Program Reference Handbook ...nts (NCP1.2) 7614C) CHBWOAD Address of the channel work QCB. 80(50) CHBHOAD Address of the channel hold QCB. 84154) CHBOCFB Address of the first buffer on the output CW chain (CaC). 88(58) 9015A) CHBOCPS CHBOCFE Pointer to the output CW chain Address of the first CW on the output (CDC)' CW chain (CDC). 9415E) 9215C) CHBOCLE CHBWKA Address of the last CW on the output Save area. CW chain (CDC). 96160) 98162) CHBHBAL CHBHBS Host buffer size in bytes. 99163) CHBOCR Number of host buffers allocated per read list. Number of host buffers remaining or use by the output CW chain ICOC). 100164) 102(66) CHBPADl CHBP1PT Pointer to start of access method 103167) (Reserved). Number of bytes in access method pad O. pad O. 104168) 106(6A) CHBPAD2 CHBP2PT pad 1. (Reserved). pad 1. 108(6C) 11016E) CHBDLAY CHBATTO NCP generated value for attention delay in tenths of a second. 112(70) First attention time·out interval. 115(73) 114172) CHBSSICF CHBATT2 Second attention time·out interval. 116174) 107(6B) Number of bytes in access method Pointer to start of access method (Reserved). CA-inoperative flag for level 1 only. (R eserved). 120(78) CHBERPSV Save area for channel error recovery procedure. 124(7C) CHBSCBA Address of secondary channel adapter extension, if present. Zero if not present. Data Area Layouts 61 INCP1,ZI Control Word Chain Area"'· 0(0) CHBCOCWS Variable length area for Out CW chain (COC). CHBCICWS Variable length area for In CW chain {CIC}. it. If the secondary channel adapter extension to the CHB is present. this area (Control Word Chain Area) follows the extension. ***Offset depends on length of CHBCOCWS. ( Byte Expansions OffsetiFieid Name 0(0) CHBSTATE Bit Pat1Bml Hex Value Contents Channel adapter outbound state field. Attention needs to be presented to host. Attention delay active. (Reserved) . 1 ... . 1 .. . .x . ... 1 Allow attention time-Qut. 1 ... .x . . .. 1. Attention has been presented. (Reserved) . coe is active . ... 1 Channel work queue is active . 1(1) Channel trigger field. CHBTRIG 1.,. Next BTU has been rejected because of .1 .. .. 1. ... 1 SIOVtodown mode indicator. Switch-in-progress flag. slowdown. Reject the next BTU because of slowdown . 1 ... Terminate flag. . 1 .. Secondary Read pending flag • SWitch Read pending flag. Type 2 channel adapter 1. Type 2 channel adapter 2. ... 1 3(3) CHBCASEL 62 X'OB' X'OO' 3704 and 3706 Program Reference Handbook ~~ CHANNEL CONTROL BLOCK '..J CHB (NCP#) Program: NCP# Size in bytes: 128(80) Created by: NCP Generation Pointer to: CHSVH2 field in XDH Function: Contains the parameters and control fields used by the type 2 and type 3 channel adapter I/O supervisor. -48(-30) CXCAXHO PIU exception queue (for format, see acB for input queues). -32(-20) CXCAIO Channel intermediate aCB (for format, see aCB for work queues). -24(-181 CXCAHO Channel hold aCB (for format, see aCB for work queues). -16(-10) CXCAECB Event control block for leasing buffers (for format, see Event Control Block.) -8(-8) XXCXTCHB Dump identifier. Characters "XXCXTCHB" : 010) ;"~bHBCASEL 21>1 CHBSEL CHBCNO' Channel condition flags. Channel adapter select bit. X'OOOS' type 2 CA-posltion 1. X'OOOO' type 2 CA·position 2. 5(5) 4(4) CHBSS(CF 6(6) CHBICNO' Condition flags on entry. Reserved. Channel adapter inoperative flag for level 1 use only. 8(8) 10(A) Reserved. 12(C) Reserved. Reserved. 14(E) CHBRSX j15(F) CHBWSX Next Read Start command expected. 16(10) Next Write Start command expected. 18(12) CHBXR50 CHBXR51 Save area for external register X'50'. Save area for external register X'51'. 20(14) 22(16) CHBXR52 CHBXR53 Save area for external register X'52'. Save area for external register X"53'. 24(18) 26(IA) CHBXR54 CHBXR561 Save area for external register X'54'. Save area for input from external register X'56'. 30(1 E) 28(1C) CHBXR550 Save area for output to external register X'5S'. CHBXR56 Sa.,. area for external rogimcX'56'. -Indicates a byte expansion follows. Dati Area Layouts 63 CHB INCP#) 32(2U) ( 1 34(22) { CHBXR57 CHBXR5A Save area for external Save area for external register X'5A' register X'57'. 36{241 381261 Reserved. CHBXR5C Save area for external register X'5C', 401281 CHBLESV Save area for CXCALEAS. 44(2C) CHBBCWSV Save area for CXCABCWS. 481301 CHBBFXSV Save area for CXCABFIX. 52(34) CHBIBTUA Address of first buffer of current PIU. 561381 CHBIPBF Pointer to last inbound buffer. 6O(3C) CHBIBUF1 Address of first buffer on inbound CW chain. 64(40) CH81BUFN Address of last buffer on inbound CW chain. 6B(44) CHBCBTU1 Address of a complete PIU passed to path contr.ol. 7214B) CHBCBTUN Address of ~ast buffer of PIU to be enqueued. 76(4C) 7914E) CHBICWA Address of inbound CW area. CHBICW1 Address of first CW on inbound CWchain. 82(521 80(501 CHBICWN CHBLEXCW Address of last CW on inbound CW chain. Address of last 64(54) e~ecuted CWo 861561 CHBLBCNT CHBRCNT Data count for last inbound buffer. Original data count in last 88(58) CHBMLCNT Number of executed CW. 9015A) ,89(59) CHBBTUCT Number of PIUs enqueued. CHBCLCNT Current buffer buffers to lease for inbound transfer. lease count. 9215C) 9415EI Reserved. CHBSKPCT Number of PIUs to skip for retry. ( 96(60) CHBIQBS Address of last outbound block given to CXCAOUT. 100(64) 54 102(66) CHBOFFST CHBDATCT Temporary area for buffer data offset. Temporary area for buffer data count. 3704 and 3705 Program Reference Handbook (NCP#) 104(68) 106(6A) CHBOCW1 Address of first on output chain. CHBOCWN Address of last CW on output chain. c:w lOB(SC) ~I I 110(6E) CHBFHAC CHBRHAC System generated host Read buffer size. Host Read buffer size work area. 114(72) 112(70) CHBRCCW Number of host Read CCWs per channel transfer unit work area, CHBFCCW System generated number of host Read CCWs per channel transfer unit. 11B(76) 116(74) CHBVPAD VTAM Pad size. 'if CHBDLAY NCP system generation value for attention delay in tenths of a second. 120(78) I 122(7A) CHBHWM CHBATTO Attention delay First attention time-out interval. PIU counter, 124(7C) Reserved .) Control Word Chain Area·· .. 0(0) CXCAOCWA Variable length area for Out CW chain (COC). CXCAICWA Variable length area for In CW chain {CICI. **'f the secondary channel adapter extension to the CHB is present, this area (Control Word Chain Areal follows the extension. ***Offset depends on length of CHBCOCWS. Byte Expansions Offset/Field Name 0(0) CHBCND 6(6) CHBICND Bit Pattern/ Hex Value Byte 0 1 ... .1. . ... 1..... .... 1. .. ~I Byte 1 .1 .. .. 1. 1 ... •1 .. .. 1. ••• 1 ..,I 4(4) 1 ... Contents Channel condition flags. Attention status required. Attention delay active. Inhibit attention time-out . Attention has been presented . Slowdown mode BTU rejected. Slowdown mode indicator . Switched in progress flag. Secondary Read pending . Switch Read pending Terminate flag . Set if more than 16 interrupts occur in 100 milliseconds on a secondary channel adapter . Data Area Lavouts 55 Ext. SECONDARY CHANNEL ADAPTER (NCP1,2) Program: NCP1, NCP2 Size in bytes: 12S(80) Created by: NCP generation ( Pointer to CHB extension: CHBSCBA field in CHB. Function: Contains the parameters and control fields used by the type 2 channel adapter 110 supervisor when switching primary and secondary channel adapters. 0(0) (Reserved) 4(4) 6(6) CHBSXR50 Save area for external register X'SO', S(S) CHBSXR51 Save area for external register X'Sl', 10(A) CHBSXR53 CHBSXR54 Save area for external register X'53', Save area for external register X'54', 12(C) 14(E) CHBSXR55 CHBSXR56 Save area for external register X'55'. Save area for external register X'S6', 16(10) lS(12) CHBSXR57 CHBSXR5C Save area for external register X'S1'. Save area for external register X'SC', 20(14) 22(16) CHBSICV CHBSOCV Value of secondary CA's INCWAR. Value of secondary CA's OUTCWAR. 24(1S) 26(lA) CHBSSINA Address of an In CW for reading CHBYRPR Address of Out CW for response BTU indicating that the old secondary is now the primary. switch commands. 2S(lC) 30(lE) CHBYRSR CHBSSATA Address of Out CW for response BTU indicating that the old primary is now the secondary. Address of Out ()N for response BTU indicating that attention time-out has expired on the primary CA. 32(20) CHBSBPT Pointer to secondary channel adapter buffer. 56 3704 and 3705 Program Reference Handbook CHB Ext. (NCP1,2) 36(24) (Reserved) 40(28) CHBSINCW In CW with zero count override for switch commands. 44(2C) Area for building CW to transfer pad before response BTU 1. 48(30) CHBPRCW Out-stop CW with no chaining for response BTU 1. 52(34) Area'for building CW to transfer pad before response BTU 2. 56(38) CHBSRCW Out-stop CW with no chaining for response BTU 2. 60(3C) Area for building CW to transfer pad before response BTU 4. 64(40) CHBSARCW Out-stop CW with no chaining for response BTU 4. 68(44) CHBSRSPl Response BTU 1 . indicates that the old secondary is now the primary. 182 (52) CHBSRSP2 Response BTU 2 - indicates that the old primary is now the secondary. 96(60) (Reserved) 1110(6E) CHBSRSP4 Response BTU 4 - indicates that_a~ention time-out has expired on the primary CA. 124(7C) (Reserved) Data Area Layouts 67 CHCB (EPIPEP) CHANNEL CONTROL BLOCK Program: EP/PEP Size in bytes, 104(68) + CHVT Created by' EP/NCP# goneration Pointeno, CHCBADlat X710'forCHCBl (Type 114 CA),CHCBAD2 at X712'for CHCB2 (Type 2/3 CAl Function: Contains the queues, CHVT and other data unique to a particular channel adapter. 0(0) CASEl' Channel Select Bits & PEP Flags 2(2) 4(4) TERMADR 1 DDCCBADR Terminator Address 6(6) aCBFlAGS' EP Flags 7(7) Dynamic Subchan CeB Address 8(8) ACCOUNT Active aCBTIO Test I/O Control Command Count 10(A) 12(C) PDSOFRST PDSOlAST Priority Data SVC Out Queue Priority Data SVC Out Queue First Pointer Last Pointer 14(E) 16(10) PEDSOFST Priority Extended Data SVC Out Queue First Pointer 18(12) PEDSOlST Priority Extended Data SVC Out Queue Last Pointer 20(14) DSOFRST Data SVC Out Queue First Pointer 22(16) DSOlAST Data svc but Queue Last Pointer 24(18) EDSOFRST EDSOlAST Extended data SVC Out Queue Extended data SVC Out Queue First Pointer 26(lA) Last Pointer 28(lC) DSIFRST Data SVC in Queue First Pointer 30(lE) 68 DSllAST Data SVC in Queue Last Pointer 32(20) EDSIFRST EDSllAST Extended Data SVC In Queue First Pointer Extended Data SVC In Queue Last Pointer 3704 and 3705 Program Reference Handbook ( CHCB (EP/PEP) 34(22) 36(24) SOFRST Status Out Queue First Pointer 38(26) SO lAST Status Out Queue Last Pointer 40(28) PSIFRST PSI lAST Poll Data SVC I n Queue Last Pointer Poll Data SVC In Queue First Pointer 42(2A) 44(2C) SNOFRST Sense Out Queue First Pointer 46(2E) SSFRST Stacked Status Queue first Pointer 50(32) TIOClOCK 1 51(33Reserved ) TIO Clock 54(36) SAVE63 Output X'S3' Save Area 58(3A) SNOlAST Sense Out Queue Last Pointer 48(30) SSlAST Stacked Status Queue Last Pointer 52(34) SAVE62 Output X'S2' Save Area 56(38) SAVETERM Terminator Address Save Area 6O(3C) Reserved Reserved 62(3E) Native Subchannel eGB (42 Bytes) J 104(68) Channel Vector Table (CHVTI *Byte expansion follows Byte Expansions Offset/Field Name Bit Patternl Hex Value Definition 0(0) CASEl byte 0 1 ... .... PEP FLAG - bit on indicates that EP is busy or a eGB is queued indicating pending .x .. .... No PI flag - bit on indicates that a PI is 6(6) . QCBFlAGS ... 1 .... .... •• •X byte 1 .1 .. .... EP operation. not required to give control to the queue scanner. Select control bit - Same as bit 0.3 of Out 67. Bit is always on. CA Select bit - Same as Bit 0.7 of Out 67 . Bit off indicates CA no. one. Bit on indicates CA no. two. Set PI - Same as bit 1.1 of Out 67. Bit is always on. byte 0 .... .1. . Panel command flag . Data Area Layouts 59 CHANNEL VECTOR TABLE CHVT (EP/PEPI Program: EP/PEP Size in byt..: Variable, depending on the number of subchannels specified. I.ocated: At location X'68' in the Channel Control Block (CHCBI Croated by: EP and NCP generation. Rafennced by: Level 1 and level 3 routines. Function: Allows the level 3 routines to find a line's CCB when only the subchannel address is known. Allows levelt routines to initialize and reset the 3705 hardware defined during generation. 2 thru n 0(01 CYACHVT Subchannel addre.... n+l CYACHEND Addr... of the associated LNVT entry for each of the line edapter interfaces (each add..,s oceuplas 2 bytes.1 If _n, It point. to an active LNVT entry. If odd, it points to an inactive (dummy) CCB. n+3 X'OOOI' Delimiter CHVTPTR Pointer to the naxt CHVT or the first CHVT If thl. is tho last. "n=thl numbor of line edapter interfaces multiplied by two (21, plus ona (1). ( 80 3704 and 3706 Program Reference Handbook CALL·IN EXTENSION TO OVB CIE Program: NCP Size in bytes: Variable. Located in: DVB Created by: NCP generation. Pointer to CIE: DVBDIAL f.ield in ova. Function: Contains optional data required for servicing calls originated by a terminal on a switched line 0(0)'" CIEMTAP Pointer to MTA list (last 18 bits). Included only if the device type is multiple terminal access. or CIEIDL Pointer to 10 list (IOU (last 18 bits). Included only if 10 verification is used on the associated line. CIEFLAGS* Flags. The bit definitions in this field must be identical to those in the COEFLAGS of the call-out extension (COE). 4(4)** CIEIDCT 5(5)** CIEIDPTR Pointer to the 10 to be sent. Count o,f send 10. * Indicates a byte expansIon follows. **These fields are present in the CtE only if sending of the control unit's identification is required for this device . ... Actual position depends on other extensions that are present. The CIE follows any polling"addressing, or input extensions to the DVB. Byte Expansion Offset/Field Name 0(0) ClEF LAGS Bit Pattern/ Hex Value 1. .1. .. 1. ... 1 . 1 .. .. 1. ... 1 Contents Flags. Send hardware 10 is required. Receive hardware ID is expected . Dial digits are resident . Call·in device (This bit is always one for CIE), A dial request is pending for this device . Disconnect with end of call has been receiVed, Set Mode is required at telephone connection with this device to set up proper physical line characteristics. Data Area Layouts 61 CHANNEL OPERATION Bloe~' COB (NCP1.2) Program: NCP1. NCP2 Size in bytes: 12B(80} (1 Created by: NCP generation. Pointer to COB: CHSVH2 field in XDH. Function: Contains the parameters and control fields used by the type 1 channel adapter I/O supervisor. COB Prefix (' -24(-lB) CXCAWQ Channel work aCB. (For format, see Queue Control Block for Work Queues.) -16(-10} CXCAHQ Channel hold aCB. (For format, see Queue Control Block for Work Queues.) -8(-8} CXCAECB Event control block for leasing buffers. (For format, see Event Control Block.) 2(2} O(O} COBCND' Channel condition flags. 4(4} COBICND Value of condition flags on last entry. 6(6} COBXR77 Save area for external register X'77'. B(B} COBXR60 Save area for external register X'60'. lOlA} COBXR61 Save area for external register X'al'. COBSR621 Save area for input from external reg- ister X'52'. 12(C} . 14(E} COBXR620 Save area for output to external COBXR63 Save area for external register X'63', register X'S2' . Indicates a byte expansion follows. ( 62 3704 and 3705 Program Reference Handbook COB (NCP1.2) 18(12) 16(10) COBXR65 COBXR64 Save area for external register X'64', Save area for external register X'66'. 22(16) 20(14) COBXR67 COBXR66 Save area for external register X'66', 24(18) COBSENSE 25(19) (Reserved) Save area for external register X'67'. 28(IA) C08CCMO Current channel command. Sense byte to transfer for sense commands. 28(IC) COBERPSV Error recovery procedure save area. 32(20) C08RELSV Release subroutine save area. 36(24) C08NINSV Save area for inbound BTU processor. 40(28) COBLESV lease subroutine save area. 44(2C) COBPIB Address of first inbound buffer. 48(30) COBIPBF Pointer to previous inbound buffer. 52(34) COBCIB Pointer to current inbound buffer. 56(38) C08CIO Current displacement in inbound buffer. 60(3C) C08CBLK Address of the last complete BTU given to the system router. DatB Area Layouts 63 COB· (NCP1,2J 64(40) COBIBCO Number of data bytes in current BTU. 66(42) COBMOO Maximum data 67(43) (Reserved) count for cur- rent in-bound buffer. 68(44) COBMLCNT NCP generated buffer lease count for inbound data. 69(45) COBCLCNT 70(46) COBECBAO Address of ECB for leasing buffer. Current buffer lease count. (Same as COBMLCNT except during slowdown. when this field equals one.) 74(4A) 72(48) COBWQAO COBHOAD Address of channel adapter work QCB. Address of channel adapter hold aCB. 76(4C) COBOXSV Save area for outbound transfer routine. 80(50) COBROTSV Refresh outbound transfer routine save area. 84(54) COBOBLKA Outbound BTU address. 88(58) COBOBUFA Pointer to current outbound buffer. 92(5C) COBODATA Current displacement in outbound buffer. 98(92) 96(60) COBFCCW Number of host buffers allocated per read list. COBRCCW Number of host CCWs remaining in read list. 102(66) 100(84) COBFHAC Host buffer size in bytes. COBRHAC Number of bytes remaining in host buffer. 106(6A) 104(88) COBRDCNT Outbound buffer residual data count. COBOXCNT Number of bytes to be transferred on next outbound data service. ( ( 84 3704 and 3706 Program Refer..... Handbook COB (NCP1,2) 110(6E) 108(6e) COBHPTR Pointer to dummy header buffer. COBATTO Attention time-out dUration. 112(70) Dummy header buffer. 116(74) COBHPAD Number of bytes 117(75) (Reserved) 118(76) COBTPTR Pointer to dummy text buffer. in access method pad O. 120(78) Dummy text buffer. 124(7C) COBTPAD 125(7D) (Reserved) 126(7E) COBDELAY Number of bytes in access method pad 1. Attention delay duration. ~ Byte Expansions OffsetIField Name 0(0) COBCND Bit Patternl Hex Value Channel condition flags. Byte 0 1. .. . 1 .• . . 1. ... 1 Attention status required. Attention delay active. Monitoring suppress out. Inhibit attention time-out. 1. .. Attention has been presented. . 1. . .. 1. ..• 1 Hold acB active. Byte 1 . 1.. . .1. •.. 1 •... Channel end/device end status needed . Work ace active. BTU rejected • Channel in slowdown mode .. Abon sent indication . Data Area Layouts 65 CHANNEL OPERATION BLOCK FOR NCP# COB (NCP#) Pmgram: NCP# f\ Size in bytes: 128(80) Created by: NCP Generation Pointer to COB: CHSVH2 field in XOH (X'772') Function: Contains the parameters and controJ,fields,used by the type 1hype 4 channel adapter 1/0 supervisor. -48(-30) CX<:AXHQ PIU exception queue {for format, see OCB. fa ... input queues). ·32(·20) CXCAIQ Channel intermediate aCB (for format, see aCB for work queues). ·24(.18) CXCAHQ aCB (for format, see ace for work queues). Channel hold ·16(·10) CXCAECB Event control block for leasing buffers (for format, see Event Control Block.) -8(-8) XXCXTCOB Dump identifier. Characters "XXCXTCOB" 0(0) 2(2) COBCNO' I CPBCASEL Type 4 channel adapter port selection mask. 0100=CA4 port 2 0000=CA4 port 1 Channel condition flags. 4(4) 6(6) Reserved. COBICNO Condition flags on entry. 8(S) 10(A) COBCCMD COBSTAT Current channel command. 12(C} COBSENSE 13(0) Reserved. Sense byte to transfer 1m sense commands. 16(10) Current status byte. 14(E) COBRSX Next Write Start command expected. command expected. ( , lS(12) COBXR77 COBXR80 oegister X?7'. Save area for external register X'SO'. save- afeli for external 20(14) 22(16) COBXR61 COBXR621 Save area for external register X'Sl'. Save area for input from external register X'S2'. 24(18) 26(lA) COBXR620 COBXR63 Save area for output from external register X'62'. Save area for external register X'63'. 3O(lE) 28(lC) 88 15(F) COBWSX Next Read Start COBXR64 COBXR65 Save area for external register X'64 '. Save area for external 3704 and 3705 Program Reference Handbook register X'65'. {\ COB (NCP#I - 34(221 32(201 COBXR66 COBXR671 Save area for input from Save area for external .-, external register X'67' . register X'56', 38(261 36(241 Reserved COBXR670 Save area for output from external register X'57' 40(281 COBIBTUA Address of first inbound buffer. " .. 44(2CI COBIPBF Pointer to previous inbound buffer. 48(301 COBIBUFA Pointer to current buffer. 52(34) COBIDATA Current inbound data address. 56(38) COBCBTUl Address of first buffer of completed PI U 60(3C) COBCBTUN Address of last buffer of completed PIU. 64(40) 66(42) COBBTUCT Count of PI Us passed to COBSKPCT Number of PIUs to skip path control. 68(44) COBMDO Maximum data count for current inbound buffer. 69(45) Reserved. for retry. 70(46) COBMLCNT Generation buffer lease count for input 71(47) COBCLCNT Current buffer lease count. data. 72(48) Reserved. Data Area Layouts 67 COB (NCP#) 76(4C1 COBIQBS Address of last outbound PIU given to CXCAOUT. 80(501 I~) COBOXSV Save area for outbound transfer routine. - 84(541 COBROTSV Save area for outbound transfer routine. 88(581 COBOBTUA Address of outbound PIU. - 92(5C1 COBOBUFA Address of outbound buffer. " 96(601 COBOOATA Address of outbound data. 100(841 102(661 Host Read CCW b.,... _ t . 104(681 106(6A1 COBRHAC Host Read CCW byte count residual out operation. 106(6C1 COBOXCNT Number of bytes to ... COBFHAC COBFCCW Number of host CCWs. 109(601 Reserved. COBROCNT Outbound buffer residual data count. 110(6E1 COBHWM Attention delay CON counter. transfer for next outbound data service. 114(72) 112(701 COBPFAO Address of PEP flag in COB062RB Output 62 reset!request bucket EP channel adapter control block. 118(761 116(741 COBOELAY COBATTO Attention time-out duration. 120(781 122(7AI COBOUMBF Dummy buffer chain field. 124(7C) Pad size as one Attention delay interval. 124(70) Reserved. Offset to data. 1123(7B) COBVPAO Buffer data count. 126(7E) Reserved. ~ byte of data. BitPatteml Offset/Field Name 0(0) COBCNO HexValua eonlllntS Byte 0 1 .•. .1. . . . 1. •.• 1 Channel condition flags. Attention status required. Attention delay active. Monitoring suppress out. Inhibit attention time-out . 1... . 1. . Attention has been presented. Channel endldevice el'Kl status needed . Byte 1 . 1. . .. 1. .... 68 Block rejected flag . Channel in slowdown mode. 3704 and 3705 Program Reference Handbook ( Program: NCP Size in bytes: Variable, depending on I~ngth of dial digits. Located in: DVB Created by: NCP generation. Pointer to CaE: DVBDIAL field in OVB. Function: Contains optional data required to call a terminal on a switched line. 0(0)** COESGTP Address of device's switched group table (SGT) (last 18 bits). .. \ W COEFLAGS' Flags. The bit definitions of this field must be identical to those in the CIEFLAGS field of the CIE. 4(4)" COELCSTI Index to LeST (MTA only). 5(5)" 6(6)" COEMAX Maximum field length of dial digits. COECUR Current number of dial digits. 7(7)" COEDIAL Dial digits. (Variable length) * Indicates a byte expanSion follows. "Actual position depends on other extensions that are present. Byte Expansions Offset/Field Name I ~~~FLAGS Bit Pattern/ Hex Value 1. .. . 1 .. .. 1. ... 1 .1 .. .. 1. ... 1 Contents Flags. Send hardware 10 is required. Receive hardware ID is expected . Dial digits are resident . Call-in device. This bit is always zero for COE . A Dial reql:Jest is pending for this device . Disconnect with End of Call has been received . Set mode is required at telephone connection with this device. Data Area layouts 69 Program: NCP Size in bytes: Variable (header-10 bytes; each entry=18-35 bytes). Created by: NCP generation. Pointer to CRP: SYSCKRP field in HWE. Function: Contains check records that have not yet been processed. These records are generated by program levelland 3 error handling routines and are processed by a pro-gram level 5 routine (CXDIERT) that prepares buffers for transfer to the host as unso· licited MOR (miscellaneous data recorder) records. Header 2(2) 0(0) CRPL1PTR Pointer to next record unit to be used by level 1. CRPT1PTR Pointer to the next level 1 unit to be serviced by CXD IE RT. 6(6) 4(4) CRPL3PTR Pointer to next record unit to be used by level 3. 8(8) CRPSTAn' Trigger control byte. 19 (9) CRPT3PTR Pointer to the next level 3 unit to be serviced by CXDIERT. • CRPSTAT2 (Reserved) Entry Format 0(0) CRPCTL CRP co.ntIr~1 bytes. CRPLNG' Length of the MOR data. CRPFLG* CRP flag byte. Start of MDR Data (CRPDATA) (Refer to Section 14 for Record Formats) 2(2) 5(5) 4(4) CRPREC' The recording mode byte. (For values, see table.) S(S) CRPID MOR record 10 field. The 3705 MOR record is always X'05'. CRPABMAL Abend malfunction code. 7(7) CRPBERT' CRPLCRT Box error record Lost check record type code. counter. 616) Up to 29 bytes of formatted information. Remainder of MOR data. (Refer to Section 14.) *Indicates a byte expansion follows. 70 3704 and 3705 Program Reference Handbook (\ CRP Byte Expansions Offset/Field Name S(S) (Header) CRPSTATl 0(0) CRPLNG (Entry Formatl .,1 Bit Patternl Hex Value Trigger control byte. X'OO' X'SO' Trigger of CXOIERT is required. Trigger of CXDJERT is not required. length of MD R data. Invalid record. X'04' X'12' X'12' X'12' X'12' X'12' X'12' X'12' X'12' X'14' X'14' X'14' X'14' X'14' X'14' X'IS' X'IS' X'19' X'19' Type 1/4 channel adapter. Type 1 scanner. Type 2 Type 2 Type 2 Type 2 4(4) CRPREC (MDR Data) Invalid operation code. Type 3 scanner-3. Type 3 scanner-4. Unresolved program level 1 interrupt. Unresolved program level 3 interrupt. Type 2 channel adapter-1. Type 2 channel adapter-2. Permanent line errors. Line statistics. CRP flag byte. I ... .... .... .... End of check record pool. (Bits 1·5 reserved). .. I. Record is being serviced by CXDIERT . Check record unit has been used (filled), requires service. Recording mode. Permanent line errors. Line statistics. Type 1/4 channel adapter. Type 2 channel adapter·1. Type 2 channel adapter·3. Type 1 scanner. Type 2 scanner·1. Type 2 scanner·2. Type 2 scanner·3. Type 2 scanner-4. Invalid operation code. Input/Output instruction exception. Unresolved program level 1 interrupt. Unresolved program level 3 interrupt. Invalid record. Box error record type code. Unresolved program level 1 interrupt. Type 2 channel adapter-2. Unresolved program level 3 interrupt. Type 2 channel adapter·1. Type 2 scanner-4. Invalid operation code. Type 3 scanner-4. Type 2 scanner-3. Type 3 scanner·3. Type 2 scanner-2. Type 3 scanner-2. Type 2 scanner-1. Type 3 scanner-1 Type 1/4 channel adapter. Type 1 scanner. X'OO' X'OI' X'10' X'10' X'10' X'11' X'II' X'11' X'!1' X'II' X'12' X'12' X'13' X'13' X'FF' 6(6) CRPBERT I W: I scanner·1. scanner-2. scanner-3. scanner-4. Input/Output instruction exception. Type 3 scanner-1. Type 3 scanner-2. 1(1) CRPFLG Contents X'OI' X'02' X'03' X'Q4' X'OS' X'OS' X'09' X'10' X'11' X'20' X'21' X'40' X'41' X'84' X'CO' ... 1 Data Area Layouts 71 CRP Bit Patternl Offset/Flold Name Hex Value 7(7) CRPLCRCT xxxx .... Contents Lost check record counter. Number of records lost immediately preceding this record. '., .. xxxx Number of records lost while waiting for this record to be transferred to the host. Records are lost when the CRP is full and level 5 is unable to free up a unit by trans- f <, ferring a record to the host. ( ( 72 3704 and 3706 Program Reference Handbook · Program: PEP, EP Size in bytes: 48(30) Located in: Routine eVAIS of module CY ASVC. ~ Created by: NCP & EP generation. Updated by: N/A Referenced by: ICP Function: Contains the eCB command codes used for translating the 8·bit command code into the 5-bit ece command code. 0-47(O-2F) CMDTA8LE CeB command codes. (See Section 6.) D... Areo Layouts 73 GTB CONTROL TABLE Program: NCP Size in bytes: 71n Created by: NCP generation. Pointer to CTB: None. See link edit map. Function: Indicates end of timer resolution queues. This table must be located at least 25 bytes from start of a CSECT. 0(01 CTBDCCB 2(2) 4(4) CTBUXREM 15(5) (Reservedl. I Du~:~Dw~?kRe~try. ________-r____________-" 6(61 1 (Reservedl. Dummy character control block ~~______~OO~dTr~~s~.~________-t~~ ( Dummy CCBTOREM. ( ( 74 3704 and 3705 Program Reference Handbook COMMON PHYSICAL UNIT BLOCK CUB Program: NCP# Size in bytes: 82152) Created by: Phy~ical unit specification at NCP generation. One CUB is generated for each physical unit. Pointer to CUB: In RVT and in the SOT. Function: Contains the for a physical unit. ace. status information, and scheduling information Link Inbound Queue Control Block (See aCB for input queues for all bit definitions) 212} 010) CUBLECB Pointer to last element queued (Shifted address). CUBIECB Pointer to first element queued IShifted eddress}. 414) 6(6} 515) CUBSTAT CUBLINK CUBPRKEY OCB 10 flag and Task and queue status. Pointer to next aCB on the queue (Shifted address!. task protection key, BIB) CUBTSKEP . ------r -----. Task entry point (last 18 bits). CUBMCBD Major control CUBSCHED Task dispatching block displacement. priority. 141E) 121C} CUBSAVE CUBLUNK Address of save area pushdown list (Shifted address). Pointer to previous aCB on queue IShifted eddress). 16110) lB112} CUBLOBH CUB LOBT Unk outbound queue head pointer Link outbound queue tai I pointer (Shifted address). IShifted address). 20114) 22116} CUB LOSH CUB LOST Link outstanding queue head pointer Link outstanding queue tail pointer (Shifted address). (Shifted address). 2411B} CUBLKB Address of link control block (last 18 bits). CUBADRC SOLe addressing character. -I 2B(IC) 30(IE} CUBRSE CUBSSCF' Network address of resource. Service seeking control flags. 32120} CUBSTATS' 33121} CUBOCF' 34122} Service seeking output control Station status. T CUBSSCP' Contact poll commands. CUBTCNT Transmission counter. flags. 36124} CUBAPIU Address of physical services PIU (last 18 bits). CUBTYPE' Station type. -, Data Area Layouts 75 CUB 40(28) CUBNR NR receive count. 41(29) CUBNS NS send count. 42(2A) 44(2C) CUBEERS Extended retry status. (Note 2) 45(20) CUBTRTCT 46(2E) CUBOCL Outstanding count limit. 48(30) CUBPNS NS at time 49(31) CUBPCNT Pass limit. CUBERS Error retry status. (Note 1) Total retry count. (i 50(32) CUBRTCNT 1"" of poll. 47(2F) CUBCOC Current outstanding count. iev~1 E-RP re;ry -I-2nd I~vel- ERP ~et;Y count. count. 52(34) CUBSRTLR Second level retry count. 53(35) CUBRCMO' Run command modifiers. 54(36) 56(38) CUBTERR Monitor secondary error.count. 57(39) CUBERPT 2nd level ERP time delay. 58(3A) CUBERPCS ERP control flags send. CUBLERPT 2nd level ERP time-out value. 59(3B) CUBOCLS Outstanding count limit savearea Physical Unit Processing Queue 60(3C) 62(3E) CPQLECB Pointer to last element queued (Shifted eddress). CPQ1ECB Pointer to first element queued (Shifted address). 64(40) CPQSTAT /65(4) CPQPRKEY Protection key. Task and ______ _ 66(42) CPQLlNK Pointer to next OCB on the queue. queue status. 68(44) ~r CPQTSKEP ~a~~e~~Y!~int (last 18 bits). CPQMCBO CPQSCHEO Major control block displacement. Task scheduling priority. 74(4A) 72(48) CPQLUNK CPQSAVE Address of save area pushdown Pointer to previous QC8 on queue (Shifted address). list (Shifted address). 76(4C) CUBPSTAT' Physical unit primary status. 177 (40) CUBSSTAT Physical unit secondary sta~s. 80(50) CUBSEGSZ . 78(4E) CUBMAXN 179(4F) Reserved. Segment size (in buffers). 82(52) Reserved Maximum segment size (in bytes) . Indlcates a byte expansion follows. Note 1: Refer to the LXBSTAT and LXBSTATC fields of the Link XIO Control Block for a definition of the status bits. Note 2: Refer to the LXBEXTST field of the Link XIO Control Block for a definition of the status bits. ( 76 3704 and 3706 Program Refererice Handbook CUB Switched Extension -) .", 84(541 --------CUBLUN Maximum number of CUBLUV Pointer to LUV (Last 18 bitsl entries in LUV. fiI Byte Expansions Bit Patternl Offset/Field Name Hex Value 30(1 E) CUBSSCF Byte 0 Service seeking commands: Poll skip flag. Halt service seeking . 1 ... . 1 .. .. 1. ... 1 .J CUBSSCP Byte 1 1 ... . 1 .. .. 11 1 ... .1. . ... .... •• 1 . ... 1 .••1 .... 32(20) CUBSTATS Poll command mask. ',Sf Set Initialization Mode M) Exchange Identification (XID) Contact poll command field . Remote power-off in progress. Output skip bit. ,I .. Run terminator interlock. . .1. RNR received . Second level delay in progress. Duplex data . ·... 1 . 1 .. .. 1. ... 1 36(24) CUBTYPE Half-duplex poll control. Half.cfuplex poll in progress. Station type: x ... l=Ouplex station. •• 1. •1 •• •• 1. .... .. .x 53(35) CUBRCMO O=Haff..:>IN\:J I:.J\II:.I'I~IUI'\I IU UVD Program: NCP Size in bytes: Variable, depending on addressing characters. ,Located in: DVB -.treated by: NCP generation. Pointer to DAE: (None.) Immediately follows polling extension; if no polling extension is present, the DAE immediately follows the DVB. Function: Contains addressing characters for a device. W 11l)' 0(0)' DAEOSP DAEACUR 2(2)' DAEADDR Device output delay. Current number Addressing characters. (DVBAO field of addressing in the DVB points here.) (variable length) characters * Actual position depends on the extensions that are present. Data Area Layouts 79 Program: NCP Size in bytes: 9(9) Located in: OVB extension. Created by: NCP generation. Poin...r to OIA: OVBINVO field in OVB. Function: Contains information about input devices. 0(0)" OIARVTE Address of RVT entry (last 18 bits). OIASA Invite command save area. or DIAMOD Command mcxfifiers. 4(4)" 1(1)" OlAF LAG Flags. (See "f'. BCUFLAGS for bit definitions; bits 6 and 7 are used as part of RVT entry address.) ~. 616)" DIASEQ Command sequence number. DIASRC Source name field. 8(8)" DIARD' Record definition. *Indlcates a byte expansion follows. ** Actual position depends on other extensions that are present. Byte Expansion Offset/Field Name 8(8) DIARD Bit Patternl Hex Value Contents Record definition. . 1 .. . . 10 . .01 .. 11 EOB=EOT . Message. Block . Transmission. ~.' 80 , 3704 and 3705 Program Reference Handbook Program: NCP Size in bytes: 24(18) Created by: NCP generation. ~ Pointer to DRS: SYSDRSP field in HWE. Function: Contains addresses of appendage routines to be given control by CXCCPSUP. 2(2) 0(0) DRSICW Address of ICW display routine. CTXDRS Set to zero. 4(4) 6(6) DRSICWA Address of (Reserved) lew display routine. 10(A) 8(8) (Reserved) (Reserved) 12(C) DRSTBL Table of display/refresh/select control values used by individual appendage routines. (length of 12 bytes) Data Area Layouts 81 Program: NCP Size in bytes: Variable, depending on extensions present. Created by: NCP generation. One DVB is generated for each BSC/SS device. Pointer to OVB: RVTRP field; LCBDVBP field of LCB during session. Function: Serves as the base for all component, terminal, and device control unit representations. It includes queue control blocks plus all parameters required by a device. Device Work aCB (See aCB for Work aueu~s for all bit definitions.) 2(2) 0(0) DV01ECB Pointer to first element queued. (Shifted address.) 4(4) DVOSTAT Task and queue status. 15(5) OVOLECB Pointer to last element queued. (Shifted address.) 6(6) OVOPRKEY Protection key. DVOLINK Pointer t(~~~!dQ~~~~s~)he queue. Device Input aCB (See aCB for I nput Queues for all bit definitions.) 8(8) lOlA) DVI1ECB Pointer to first element queued. (Shifted address.) 121C) DVISTAT Task and queue status. 113(0) DVIPRKEY Protection key. DVILECB Pointer to last element queued. (Shifted address). 141E} DVILINK Pointer to next QCB on the queue. (Shifted address). 16(10) DVITSKEP Task entry point (last 18 bits) . . . . . . tl· . . . . " 17(11) DVISCHED Task dispatching priority. DVIMCBD Major control block displacement 20(14) 22(16) DVISAVE Address of save area push-down list. (Shifted address.) DVILUNK Pointer to previous QCB on the queue. IShifted address.) 24(18) DVIBHSET BH set (or BHR) address (last 18 bits). DVIBHRST BHR status bits. T"·"" " 25(19) DVIBHSCH BHR scheduling bits. 2811C) DVBRID Device resource ID. I 3O(lE) DVBFEAT1' Device features byte 1. End of Device Input aCB 82 3704 and 3705 Program Reference Handbook I 3111F) DVBFEAT2' Device features byte 2. DVB 32(20) DVBPTR Auxiliary pointer (last 18 bits). If device is component, this field contains pointer to shared terminai OVB. If device is terminal, this field contains a pointer to line LeB. -I DVBTYPE* Device type. 36(24) DVBSDRT Transmission counter or pointer to OLTT control block, jf in test 38(26) DVBSDRE Temporary error counter. 39(27) DVBINVO Offset to device input area (DIA). mode. 40(28) DVBBHRO Offset to BH R extension. 41(29) DVBBUO Offset to switched backup extension (BUE). 42(2A) OVBDIAL Offset to call-in or call-out extension (el E or COE). 43(2B) OVBABNM* Abnormal mode in- dicators. This field is meaningful only when a reset is in progress. Bits 2-7 have the value of the command modi- fiers when a reset is in progress. Bits 0-1 indicate that a deactivation is in progress. Service Seeking Control Block (SSe) 44(2C) DVBSTAT* Status byte 1. 45(20) DVBSTAT2* Status byte 2. 48(30) DVBPCC Pending contact count. 49(31) DVBCPI (Reserved). 46(2E) I OVBDMF* Device mode flags. Polling!Addressing Extension This extension is present only if the device requires polling or addressing or both. 50(32) DVBTLIM Transmission limit. 51(33) DVBTCNT Transmission counter. 52(34) DVBAO Offset from DVBSTATto first addressing character in DAE. 53135) DVBCLSO Cluster general ppll extension (CGP) offset. Polling Extension The following fields are present only if polling of device is required. (If this area is included, the device input extension (DIA) must also be included.) 54(36) DVBPCUR Number of polling characters excluding ENQ. 55(37) DVBPOLL Polling characters. (Variable length.) *Indicates a byte expansion follows. Data Area Layouts 83 DVB Byte Expansions Bit Pattern! Offset/Field Name 3O(IE) DVBFEATl Hex Value Contents Device features byte 1. 1 ... . 1 .. .. I. ... 1 Block limit - sse patch control. (NCP2, 3) Conversational capability . Buffered receive. General poll . I ... . 1 .. .. I. ... 1 Batched message input. Carriage Teturn delay (NCP2. 3) . Text time-out suppression . Break-terminal originated data; transfer can be interrupted. 31(lF) DVBFEAT2 f\ r Device features byte 2. Critical situation notification. 1 ... . 1 .. .. 1. •• • X 1... . 1 .. .. I. ... 1 1050 Auto EOB foature. (NCP2, 3) . 1050 Receive Interrupt feature. (NCP2, 3) . (Reserved) . Device on fan-out modem. (NCP2, 3). Input extension exists (DIA) . Addressing extension exists (DAE) . ~, Polling information exists . Device type. 32(20) DVBTYPE Components 2980 Non·SSC Terminals MTA 1050 2740, Modell. 2741 2740, Model 2. 115A S3B3 TWX WTTY X'4S' X'SO' X'S2' X'84' X'85' X'S7' x'as' X'S9' X'SA' X'SB' sse Terminals. X'4C' X'CO' X'Cl' X'C2' X'C3' X'C4' X'C5' X'C6' X'C7' X'CS' X'CS' X'CA' X'CS' X'CC' X'CD' X'CE' X'CF' X'DO' 43(2B) DVBABNM 84 3275,3277,3284,3288 Logical connection terminals. 1130 1800 2701 2703 2715 2770 2780 fr ". 2972 3705 2020 2025 3271,3275 3780 3735 3741 (NCP2,3) 3747 (NCP2, 3) f Abnormal mode indicators. Deactivate device in progress. Deactivate line orderly in progress. Reset at end of command in progress. Reset conditional in progress. 1 ... . 1 .. .. 1. ... 1 x... ·(Resorvod). . 1 .. .. I. ... 1 Reset immediate in progress. Reset device queue in progress . Critical situation notification device serviced. 3704 and 3705 Prowam Reference Handbook ~ DVB Offset/Field Name 44(2C) CVBSTAT ..;; Bit Pattern! Hex Value 1 ... . 1 .. .. 1. ... 1 1 ... .1 .. W .. 1. ... 1 45(2D) DVBSTAT2 1. .. ... 1 1 ... .1. . \ .. 1. ... 1 46(2E) DVBDMF Device active, accept TP commands . Disconnect received . A disconnect has been received for the last session and an initiation command may now be accepted. Any non-session initiating TP command should be refused. In session. Device in abnormal mode (reset or deacti- vate device in programs). Connection exists . Invite pending . Status byte 2. Backup mode. 1/0 error lock • 3270 Device end. 2740·2 suppress MDR Inquiry mode-2770 . . 1 .. .. 1. """ Contents Status byte 1. Service seeking skip bit. Contact pending . Byte 0 . 1 .. .. 1. ... 1 . 1 .. .. 1. ... 1 Byte 1 . 1 .. .. 1. .•. 1 1 ... . 1. . . .1. Suppress response to host. A noncompetitive Invite exists. When the line or device was deactivated, an Invite remained for this device. Logical error lock • Selective text return Device mode flags. Override write text mode ERPs . Reject leading graphic (write operations) . EIB deletion (non·transparent only) . Inhibit time fill/inhibit WACK limit. Embedded line control (non-transparent)/ intermediate control character insertion. Critical text . Override read text mode ERPs • Reject leading graphics (read operations) . EIB insertion/inhibit text timeout. Sub-blocking (input). Interrupt enabled • Activate monitor mask . Data-Ar•• Layouts B5 ECB ~V~NICUNTHULBLUCK Program: NCP Size in bytes: 8(8) Located in: Dynamically allocated BCU/PIU buffer or as a permanent control block in storage. Created by: NCP generation or dynamically as part of first buffer in a BCU. Pointer to ECB: None. Function: To control BCU status or event status of an associated block. 0(0) ECBCSTAT',2 111) ECBESTAT',2 BCU status byte; valid only for ECBs con· tained in buffers. Event status byte. 414) 212) ECBECHN' ECB chain pointer. (Shifted address.) ( 616) ECBTMINT' ECBWOCB' Set time interval as specified by SETIME macros. Address of waiting task's input aCB. (Shifted address.) or ECBTNCT' BCU text count. 1See block control unit for labels used in the first buffer of a BCU. 21ndicates a byte expansion follows. Byte Expansions Bit Patternl Offset/Field Name 0(0) ECBCSTAT 1(1) ECBESTAT Hex Value 1 ... ..00 00 .. ,.11 11., 1 ... . 1 .. .. 1. ... 1 •• •X Contents BCU status byte. BCU enqueued. Lowest priority: Highest priority. Event status byte. Event satisfied. Task ready to be dispatched . Supervisor link . ECB enQueued bit: 1=Stop sending after this BTU . ()c:No need to stop sending. f ( 86 3704 and 3705 Program Reference Handbook EBCDIC CHARACTER DECODE DISPLACEMENT TABLE ECDDT Program: NCP, EP Size in by... : 64(401 located in: Module CYABL. Created by: NCP and EP generation. Updated by: N/A W Referenced by: CYATADAO, CYARAPHI. Function: Provides offset into branch table for proper control character processing. I 0-3F(0-631 EBCXMTBT Displacement data. Data Area Layouts 87 HWE EXTENDED HALFWORD DIRECT ADDRESSABLES Program: NCP Size in byt..: 4B(30): 50(32) for NCP2 and' NCP# with PEP. Created by: NCP generation. Pointer to HWE: SYSW6 field in XDA. (X'070S) Function: Contains frequently accessed system halfword control' fields. 0(0) 2(21 SYSBUFCT SYSBPQSC Initial free buffer count. Exit slowdown threshold count. 4(4) 6(6) SYSATBP Address trace block pointer. S(S) SYSCKRP Check record pool pointer. 10(A) SYSLTBP Line trace block pointer. 12(C) SYSPOBP SYSORSP Display/refresh/select table pointer. 14(E) SYSEBCP Panel control block pointer. EBCDIC time and date control block pointer. 16(10) lS(12) SYSTVSP SYSLCSP Time value select table pointer. Line control select table pointer. 20(14) SYSCOOP (NCP1, NCP2) Channel work queue pointer. or SYSFQXP (NCP3) FM request transporter aCB pointer. 24(lS) SYSCRNP Channel normal data pointer. 2S(lC) SYSANSP Auto-network shutdown queue pointer. 32(20) SYSERTP Error record transfer queue pointer. 36(24) SYSPCBP Panel queue pointer. 4O(2S) SYSTMRP Timer completion queue pointer. 44(2C) SYSNIQP Non·device input queue pointer. 48(30) 50(32) SYSCHVTP Pointer to EP channel vector table (NCP2, NCP#) 88 3704 and 3705 Program Reference Handbook (Reserved) ( "- HWE Communication scanner 1 control bytes ~ 52(34) CSB1FLAG* 53(35) CSB1SCNL Scan limit 54136) CSB1HISS High speed select 155137) CSB1ASUB Address substitution Communication scanner 2 control bytes W 56(38) CSB2FLAG* 57139) CSB2SCNL Scan limit 5813A) CSB2HISS High speed 15913B) CSB2ASUB Address Substitution select Communication scanner 3 control bytes -. 16013C) CSB3FLAG* 61(3D) CSB3SCNL 6213E) CSB3HISS Scan limit J 63(3F) CSB3ASUB High speed Address select Substitution Communication scanner 4 control bytes 64(40) CSB4FLAG" 65141) CSB4SCNL Scan limit 66142) CSB4HISS 167143) CSB4ASUB High speed select Substitution Address 68(44) SVSPSBP Pointer to the physical services control block 72(48) SVSSITP Pointer to the sub·area index table 7614C) SYSSVTP Pointer to the sub-area vector table *Indicates a byte expansion follows. Byte Expansions Bit Pattern! .~ Offset/Field Name Hex Value Comments 52(34) CSB1FLAG x ... .... ••• X l=Scanner installed 1=Scanner is a type 3 x ... .... .... ...x l=Scanner installed 1=Scanner is a type 3 x ... .... .... ... x l=Scanner installed 1=Scanner is a type 3 x ... .... .... •••X 1=Scanner installed 1=Scanner is a type 3 .... ~ 56(38) CSB2FLAG 6013C) CSB3FLAG 64140) CSB4FLAG Data Area Layouts 89 ICE ICE ROUTINE ADDRESS TABLE Program: EP. PEP Size in bytes: 84(54) Located in: Routine eYAIS of module CYASVC. Created by: NCP and EP generation. Referenced by: Routine eVAIS of module CYASVC. Function: Points to ICE routines for command processing. 0(0) Unused 6(6) 4(4) Address pointer to Write. Address pointer to Write. (SSC) (Start-stop) (CYACWR IS) (CYACWRIB) lOlA) 8(8) Address pointer to ReacL (SSC) Address pointer to Read. (CYACREAB) (Start-stop) (CYACREAS) 12(C) Address pointers (2) to No-op. ~generaJ) (CYACENOPI 16(10) Address pointers (2) to Sense. (general) (ICESEN) 20(14) Address pointers (2) to Wrap. (general) (ICEWRA) 24(18) 26(1A) Address pojnter to Prepare. Address pointer to Prepare. (BSC) (Start-stop) (CYACPRES) (CYACPREB) 28(IC) Address pointers (2) to invalid code. (CMDERROR) 32(20) 34(22) Address pointer to invalid code. Address pointer to Write Break. (CMDERROR) (2848 Start-stop) (CYACBRES) 38(26) 36(24) Address pointer to Poll. Address pointer to Poll. (BSC) (CYACPOLLB) 40(28) (Start-stop) (CYACWRIS) 46(2E) Address pointer to invaHd code. (CMDERROR) 52(34) Address pointer to Poll SOH. (2260 start-stop) (CYACPOLS) 54(36) Address pointer to, invalid code. (CMDERROR) Address pointer to Read Clear. (2848 start-stop) (CYACRDCL) 58(3A) 56(38) Address pointer to invalid code. Address pointer to Break or Diagnostic Poll. (Start·stop) (CMDERROR) (CYACBKPL) 62(3E) 60(3C) Address pointer to Search. (BSC) Address pointer to Search. (CYACSEAB) 64(40) (Start-stop) (CYACSEAS) 66(42) Address pointer to Disable. (BSC) Address pointer to Disable, (lCEDISAB) 68(44) (Start-stop) (lCEDISAB) 70(46) Address pointer to Enable. (BSC) Add.ress pointer to Enable. (lCEENABL) 72(48) 90 (Start-stop) (lCEENA8L) 74(4A) Address pointer to Dial. (BSC) Address pointer to Dial. (lCEDIAL) (Start-stop) (lCEDIAL) 3704 and 3705 Program Reference Handbook ICE 78(4E) 76(4C) AddresS pointer to Adprep. (SSC) Address pointer to invalid code. (CMDERROR) (CYACADPB) 80(50) 82(52) Address pointer to Set Mode. (BSe) Address pointer to invalid code. (CYACSETB) (CMDERROR) Data Area Layouts 91 INTERFACE DISCONNECT DISPATCHER TABLE lOOT Program: NCP2. NCP#. EP Size in bytes: 40(28) Located in: Routine eVAIS of module CYASVC Created by: NCP and EP generation. Referenced by: Routine eYAIS. Function: Contains address pointers to IFD and CAEC routines. 0-39(0-27) ( IFDADDR IFO address table. 0(0) 2(2) No action, TID (00) command. Address pointer for Write (08) (CAEC180) command. (IFDWRI) 6(6) 4(4) Address pointer for Read (10) No action. No-op (18) command. command (IFDREA) (CAEC180) 10(A) 8(8) Address pointer for sense (20) No action. Wrap (28) command. command (CAEC190) (CAEC180) 14(E) 12(C) ERROR (38) Address pointer for Prepare (30) command. (lFDPRE) 18(12) 16(10) Address pointer for Address pointer for Poll (48) command (I FDPOL) Write Break (40) command (lFDWRI). 20(14) 22(16) Address pointer for Poll SOH (58) command (lFDWRI). Address pointer for Inhibit (50) command (lFDREA) 24(18) Address pointer for Read Clear (60) command (lFDREA). 26(lA) Address pointer for Break (68) command (IFDWRI) 28(lC) Address pointer for Search (70) command (lFDREA) 3O(lE) 32(20) 34(22) Address pointer for Disable (78) command (CAECL80). AddE~:bf~m~{ for Dial (88) command (lFDIAL). command (I FDENA). 36(24) ( Address pointer for 38(26) Address pointer for Address Prepare (90) Address pointer for Set Mode (98) command. (lFDSTMD) command (lFDPRE). ( 92 3704 and 3706 Program Reference Handbook IDENTIFICATION LIST ENTRY IDE Program: NCP Size in bytes: Variable .,; Created by: NCP generation. Pointer to IDE: None. Follows IOL. Function: Contains one entry for each valid I D that can be received over a line or lines for which the list is being used. The IDE has the following format if device association is not possible. 1(1) 0(0) IDELEN ID length 1 1 2 (2) IDEFLAG' Entry flags. I D characters. (Variable length.' IDEPADL Length of maximum number of pad characters needed for alignment . ..;; The IDE has the following format if device association is possible. 0(0) IDEDVBP Pointer to DVa (last 18 bits). IDELEN 10 length 4(4) .. . T IDEFLAG* Entry flags. -, I D characters. (Variable in length.) IDEPADL Length of maximum number of pad characters needed for alignment. Indicates a byte expanSion follows. iI*Follows 10 characters. Byte Expansions Offset/Field Name Bit Patternl Hex Value 1(1) IDEFLAG 1. .. . 1 .. .. 1. Contents Entry flags. Device association is possible for this entry. End of list . Notify host if no match. (Meaningful only for first and last entries of list.) Data Area Layouts 93 IDENTIFICATION LIST HEADER IDL Program: NCP Size in bytes: 4(4) ~.. ) Located in: Beginning of identification list. Created by: NCP generation. Pointer to IOL: CIEIDL field in CIE. Function: Precedes the first entry in an 10 list tor switched sse lines whose terminals identify themselves. The list is required only if validity checking of the incoming lOis required. ( 0(0) 2(2) IDLSIZE Maximum number of bytes in Halfward to force fullword alignment the list for first entry. ( 94 3704 and 3705 Program Reference Handbook INPUT/OUTPUT BLOCK lOB Program: NCP Size ... bytes: 3(124) Created by: NCP generation. Pointer to lOB: LCBACBP Function: Contains status of BSC/S5 I/O operations. 0(0) 10BIMCTL* Immediate con· trol flags. 4(4) 10BEXTST' Extended status field. Contains error indicators. 8(8) 1(1) 10BCMANO* 5(5) 10BCMOOS' lOB command modifiers. 6(6) 10BSTAT* Outcome of command operation. 10BROESC Record descriptor byte. 10(A) 9(9) 10BEREST First error extended status. This field is set equal to 2(2) I/O command field. IOBRTYCT RetrV count for first level ERP 10BERST ~ attempts. IOBEXTST when first error staws. This field is set equal to IOBSTAT when the first recoverable error occurs. ------------IOBLTSM the first recover- SCF mask field (when OLLT active) able error occurs. 13(0) 10BOFSET 12(C) 10BSTOFS Initial data offset, used to locate the starting point in the first buffer of a block. f-------- 14(E) 10BOATAP . Final data offset used to locate the buffer posi· tion of the last character in the block that was stored. Zero if buffer tS fitled. ------- Data pointer to first buffer in the block. (Shifted address.1 ----- -------- 10BTCBPT Pointer to OLlT (when OLLT active). 16(10) 18(12) IOBFNLPT Pointer-to last buffer in chain (Shifted address.) or IOBLTCT Transmit or Recive count (OLlT). IOBINPUT Input control data address. Contains the address of the first buffer when buffers are needed to store a reply to text, selection, or inquiry. (Shifted address.) IOBLTL2 Secondary CCB L2 (when OLLT active). * Indicates a byte expansion follows. Data Area layouts 95 lOB 20(14) IOBOUTPT Output control data address. For Write commands, contains the address of the text data in buffers. 21(15) IOBCTCCT Control count. Address of the field to be transmitted. Number of charac- ters to be transmitted from field addressed by the ( output control data address. or IOBLTLAB Pointer to lookahead buffer (OlLTLAB) 26(1 A) 24(18) IOBLCB Pointer to the line control block. (Shifted address.) IOBBKSIZ Received block's size (number of data characters stored). 28(lC) IOBPOll Address of the entry in the service order table for the next station to be polled minus two, used when the communications controller is the master station (last 18 bits). IOBSSCB Service seeking control byte. 29(10) 10BMTASA MTA 1050 station address byte. 30(lE) IOBTRAOR Station select address for the communicatians controller when it is a tributary station. 32(20) IOBSEl Address of the field that contains the selection address for the station to be selected by the communications controller (last 18 bits). - - - - -1-33(21) - - - IOBCRTN Carriage position. IOBPFLAG' PEP flag field_ (NCP2, #) "Indicates a byte expansion follows. ( { " '" 96 3704 and 3705 Program Reference Handbook lOB Byte Expansions Bit Pattern! Offset/Field Name ...J 0(0) 10BIMCTL Hex Value Contents 1 ... . 1 .. .. 1 . ... 1 Reset immediate. Immediate control flags. Write request - conditional reset . Monitor mode, 1... 1(1) 10BCMAND it !J 2(2) 10BCMODS Send interrupt. Conditional send interrupt. 110 command field. X'10' X'12' X'16' Write initial. Write continue. Write recover. X'lr" Write delay. (NCP2, #) X'19' X'25' X'27' X'28' X'2A' X'83' X'8D' X'8F' X'94' X'9B' X'AC' Write. Read. Read delay. (NCP2, #1 Read initial. Read continue. Disable. Enable. Dial. Write EDT. Write control. Read status. lOB Command Modifiers. Byte a 1 ... .1 .. . .1. ... 1 Suppress lost data. Override text mode ERPs. Reject received leading graphics . Inhibit text time-out (start-stop), ITS mode not transparent (SSC). 1... .1 .. . .1. ... 1 Byte 1 1 ... .1 .. .. 1. ... 1 'iI 1... . 1 .. . .1. ... 1 "'" 4(4) 10BEXTST Sub-blocking mode. Inhibit WACK limit (SSC). Inhibit time fill (start-stop). Enable length check. ITS mode transparent . Hold buffers . Reset. Send priority. Manualdial (Enable cmd only) . ETX (Write commands). Single polilRead commands). Offset (Write commands). First buffer assigned (Read commands). Insert (Write commands). Send leading graphics (Read commands). Send identification (Enable) . Transparent text (Write commands). Send positive ACK (Rea(fcommands). Identification mode (Enable) . Set negative ACK (Read commands). SOH (Write commands). Multiple terminal access mode. (Enable commands.) Set alternate ACK. Extended status field. 1 ... . 1. . .. 1. ... 1 Overrun/underrun . Line quiet time·out . OLE format exception. Sub-block error: W Data Area Layouts 97 lOB Ofuet/Field Name Bit Pat ~,Jrnl HexV.Jlue IOBSTAT Contents ..Ioutcome of command operation. 6(61 Byte 0 Flags Extended error status. Format exception (bad line control sequence). Sync check (stop bit error start·stop only), 1 ... .1 .. .. 1. ... 1 ... 1 Data check (block check character error) . Length check • Read/Write Group Masks 000. 001. . 010. 011. 100. 101. 110. 111. No errors. Receive text. Receive text reply. Receive control; command reject. Status outstanding when command issued; command not executed. Send text reply. Send text. Send control. Data Set Control Group Masks 000. No errors. 001. 010. 011. 100. 101. 110. 111. Receive ID. Receive ID reply. Connect. Status outstanding when command issued. Error in dialing phase. Send ID. Disconnect. Byte 1 33(211 IOBPFLAG x... .x .. .. X. •. X. . .•x Extended (line) response. See Section 7. PEP flag field. (NCP2, #! Line type: O=NCP 'l=EP PEP switchable line: O=Not switchable. 1=switchable. Line-active save bit. O=Line inactive at time of switch. 1:::Line active at time of switch. Part of (OBSEL address . Part of IOaSEl address . *-~ ~ ( (\ 98 3704 and 3705 Program Reference Handbook LCB LINE CONTROL BLOCK "'-tIm: NCP Size in bytes: Variable, depending on line-type extensions. " '1 W Crutad by: NCP generation, one for each BSCISS line.. Pointer to LCB: RVTRP field in RVT, Function: Contains fields required for (1) scheduling line operations, (2) maintaining line--significant status information, and (3) requesting I/O operations from the commu- nications I/O program (levels 2 and 3). Line I/O QCB ILCBlIOQ) (See aCB for Input Queues for all bit definitions.) DID) 2(2) LCI1ECB Pointer to first element queued. LCIL6CB Pointer to last element queued. IShifted address.) (Shifted address.) 4(4) 6(6) 5(5) LCISTAT Task and queue LCIPRKEY Protection key, LCILINK Pointer to next QCB on the queue IShifted address.) status. BIB) LCITSKEP Task entry point. (last 18 bits) 9(9) Major control LCIMCBD LCISCHED Trigger block scheduling displacement. priority. 121C) 141E) LCISAVE Address of save area push-down list. (Shifted address.) LCILUNK Pointer to previous aCB on the queue. (Shifted address.) 16(10) LCIBHSET BHR or BH set address (last 18 bits). LCIBHRST BH R status bits T·· .... , 17(11) LCIBHSCH BHR sc.heduling bits. Line Work QCB ILCBLWQ) (See aCB for Input Queues for all bit definitions.) Note: By format, this is an Input aCB. Line Work aCB is simply the name given to this particular Input aCB. 20(14) LCW1ECB Pointer to first element queued. IShifted address.) 22(16) LCWLECB Pointer to last element queued. IShifted address.) Data Area Layouts 99 LCB 24(18) LCWSTAT Task and queue status. 25(19) LCWPRKEY Protection key. 26(lA) LCWLlNK Pointer to next OCB on the queue. (Shifted address') 28(lC) LCWTSKEP Task entry point (last 18 bits). 29(lD) LCWSCHED Trigger LCWMCBD Major control block displa"cement. scheduling priority. 32(20) 34(22) LCWSAVE Address of save area push-down list. (Shifted address.) LCWLUNK Pointer to previous OCB on the queue. (Shifted address.) 36(24) or LCBACBP Pointer to adapter control block. LCBPEPSC Suhchannel of EP equivalent line. (NCP2, #) 40(28) LCBLTCTP Line type command table .pointer (last 18 bits). LCBLSTAT* First line status byte. 44(2C) I LCBDVBP Pointer to device base for device currently connected over line (,last 18 bits). . LCBTYPEC; .\ Line type code. 48(30) LCBDBCU Pointer to the Activate or Deactivate BCU when activate line, deactivate line orderly, or deactivate group orderly is in progress (last 18 bits). ...... LCBMFLAG _ ~C~ fl~gs,- _ or LCBLLGN LLG number. \ *Indicates a byte expansion follows. 100 3704 and 3705 Program Reference Handbook { " Lee 52(34) LCBSSP Subtask sequence pointer. 56(38) LCBACTNS' Actions to be taken when unusual condi· tions arise on the 57(39) LCBUSER Offset to beginning of user area. 54(36) LCBFEAT1' LeB features. 55(37) LCBLST2' Second line status byte. 58(3A) LCBERPL Second level 59(3B) LCBERPC Second level error error recovery procedure loop recovery pro- limit. counter. cedure loop line. 60(3C) LCBEoEL 61(30) LCBCOFFL Duration of delay SUb-block cutoff between second level ERP loops. limit. 64(40) 62(3E) LCBCOFFC SUb-block cutoff counter. 63(3F) LCBIOCOM' 110 communication byte. 66(42) LCBCSCNT LC8RI0 Count of pending Invite and Contact Resource ID of the line. commands for the line. Multipoint Extension Line Suspended Sessions OCB (LCB LSSQ) (See aCB for Work Queues for all bit definitions.) 68(44) 70(46) LCS1ECB Pointer to first element queued. (Shifted address.) 72(48) LCSSTAT Task and queue status. 173(49) LCSPRKEY Protection key LCSLECB Pointer to last element queued. (Shifted address.) 74(4A) LCSLlNK Pointer to next aCB on the queue. (Shifted address.) *Indicates a byte expansion follows. Data Area Layouts 101 LCB 76(4C) LCBESOTP Address of service order table (last 18 bits). LCBEPAUS Pause between passes through service order table. 80(50) 81(51) LCBENAKL 82(52) LCBESERL Service seeking scan limit. Negative poll response limit. 84(54) 83(53) LCBMS LCBAS Maximum number Attempted sessions of sessions allowed. 86(56) 85(55) LCBWS LCBCS Suspended con- Connections nections count. work count. count. 87(57) LCBENOD Number of de- Number of devices vices 'an this line. remaining when deactivating line. LCBEDIG 88(58) LCBSOTCT BSC/sS devices in buffer delay not QUt8SCed count for multipoint lines. Switched Extension 68(44) LCBESGTP Address of primary switched group table (SGT) (last 18 bits). LCBEFLAG' " " " " " Switched extension flags. " "' 72(48) lCBELCDI Address of logical connection device input (LCD!) OVB. *Indicates a byte expansion follows. ( 102 3704 and 3705 Program Reference Handbook LCB Byte Expansions Bit Pattern! U Offset/Field Name Hex Value 40(28) LCBLSTAT 1 •.. Contents First line status byte. .... Line active. A line is active (can ateept TP commands) from the completion of an activate line operation until the receipt by line management of a deactivate line request. A line is inactive (cannot accept TP commands) from the receipt by line management of a deactivate line request until the completion of an activate line W .1. . .... Active session . . .1. ... 1 .J Work scheduler idle . 1. .. I .1 .. I .... .... 44(2C) LC8TYPEC .. 1 • ••• 1 Byte 0 . 1 .. .• 1 . .... ..• 1 ~ 54(36) LCBFEATl 1=Duplex SSC line . Multipoint line . Switched line . LCB Ilags. Buffer delay wait. Critical situation message write started . 1 .•. . 1 .. .. 1. Multipoint tributary. Point-to-point secondary . Lca features. Dial type (NCP2. #): l=auto O=manual Speed change capability (NCP2, #) 1 ••• ••• X ~ ·Multipoint backup (NCP#) Mode switch (NCP2. #) l=EP O=NCP Second line status byte. 1 ... . 1 .. .. 1. ... x 'if Extension exists . The meaning of this bit is relevant only if bit 7 {switched) is one. If one, this line changes physical characteristics, via set mode, with each new telephone connection. If zero, line has same characteristic for every connection. 1. .. . 1. . ••• 1 55(37) LCBLST2 Service seeking in progress. Switched enable, for call-in, is active on this line. Reset immediate or deactivate line halt caused an immediate X 10 to be issued on this line. See LCBLST2 to determine actual terminal operation. o LTT in progress . . OLLT in pr~ress . Line type code. SDLC • Mode (NCP2. #): O=Hall duplex • 1 .. .. 1. ... 1 48(30) LCBMFLAG operation. Line is in abnormal mode. A Reset or Deactivate is in progress for rome device on this line. See LCBLST2 to determine actual operation. 1... Deactivate line halt in progress. Deactivate line orderly in progress. Activate Line in progress . Current dial method (NCP2, #): l=auto Q=manual Monitor mode in progress. (NCP2.#) Data Area Layouts 103 LCB Bit Pattern! Offset/Field Name Hex Value Contents .X .. Line mode bit l=backup •• X. Monitor reset bit (NCP2, #1: O=normal 1 =delay monitor reset Q=reset now ... 1 f line speed change in progress, {NCP2,#1 Actions to be taken when unusual condi, 56(381 LCBACTNS tions arise on- the line. Shutdown of this line pending. Deactive line orderly, (OLD) Error status 1. .x. (when active). .1. .1 1. .x. l=Error-terminate OLD Q=No error-process OLD Service suspended sessions. Single service seek . Respond to current read with RVI. Negative poll response limit reached: l=hreak logical connection O=no break . .x. ... 1 63(3FI LC810COM I/O communication byte. 1 . 1 .. .. 1. ... 1 1. .1. .1. ... 1 68(441 LCBEFLAG 104 Negative poll response limit reached: l=reschedule Read Q=terminate Monitor line for attention or disconnect . (NCP2, #1 Partial block sent. Session suspension required . Send 10 . Transparent text selection . End of text block (ETB) received. Conversational mode. BHR point 2 execution required after 110 is completed. Last block ended with ETX . Switched extension flags. 1. .1. .. 1. ... 1 Part of a switched group. Call·in line . Call·out line . Telephone connection exists . 3704 and 3705 Program Reference Handbook . ~.. LINE CONTROL SELECTION TABLE LCST Program: NCP Size in bytes: 16(101 per entry; number of entries defined at NCP generation. Created by: NCP generation, ~ne for each start-stop line. Pointer to LCST: SYSLCSP field in HWE. Function: Used to change ACB control fields for Multiple Terminal Access (MTA), Entry Format 0(0) 2(2) LCSTSPED Line speed. 4(4) LCSTLGT Line group table address. 6(6) LCSTRTDT LCSTTTDT Receive translate decode table address. Transmit translate decode table address (high order byte). The low-order byte is the character to be 7(7) LCSTSMDE Set mode serial data (SDF) constant. translated. 8(8) LCSTSTBL State table address. 10(A) LCSTRTRY limit. 12(C) LCSTCRTN Carriage return rate factor (55 only). 13(D) LCSTLSIZ Maximum print line size (55 only). 11(8) LCSTBCUT Text error retry Buffer cutoff limit (receive). 14(E) LCSTBG Background table address. Data Area Layouts 105 LGT (EP& PEP) LINE GROUP TABLE Program: PEP, EP Size in bytes: Variable (8 bytes per GROUP macro). Created by: NCP and EP generation. Located: Immediately following CCSs. Updatad by: CCB Referenced by: LCP, ICP Function: Contains information about a group of lines. It contains an entry for each GROUP macro coded by the user. 1(1) 0(0) LGTREPLY Reply time-out in tenths of a second. 4(4) 2(2) LGTTET Text time-out in tenths of a second. LGTEOT End of transmissionfor RPQ andWTTY (optional). 3(3) (LGTEOB)** character. 6(6) 5(5) LGTLlNE* Line information byte. LGTCHARS Ending TTY 7(7) LGTENDCR* TTY end character Reserved controls * Indicates a byte expanSion follows. nlf bit 3"of byte LGTLlNE is off, this byte contains the EOB character. If bit 3 of LGTLINE1is on, this byte contains the second ending TTY character. Byte Expansion Offset/Field Name Bit Patternl Hex Value 4(4) LGTLlNE ...x .... .... x ... Contants Line information byte. Presence of TTY ending characters: O=present 1=00t present Data character detect security .x .. O=Security (Start-5top lines) I=No security (BSC) Line type: .. X. XON character control: •• •X O=utilize 1=inhibit XOFF char.eter control: O=switched 1=non-switched O=utilize 1=inhibit TTY end character controls. 6(6) LGTENDCR 1 ••• FIGS·X-LTRS sequence for EOT. The value of X is byte 5 (LGTEOT). .1. . Four character sequence for EOT. The value .. 1. of the character is in byte 5 (LGTEOT)_ FIGS-Y sequence for EOB. The value of Y is in byte 3 (LGTEOB)_ .•. 1 Four character ending sequence for EOB . The value of the character is in byte 3 (LGTEOB)_ .. 1. Five-character transmit-tumaround-delay flag. _._1 106 Ten-character-transmit-turnaround-delay flag_ 3104 and 3705 Program Reference Handbook ( LGT (NCP) LINE GROUP TABLE Program: NCP SiZe in bytes: Variable depending or line type. Created by: NCP generation. Pointer to LGT: CCBLGPT field in CCB. Function: Contains line control parameters. 0(0) LGTTYPE' Terminal type 2(2) 1(1) LGTENORI LGTSHTAP Shoulder tap Receive text status/ERP vector. time'outs~ identification. change mask. 6(6) 4(4) LGTENOR3 LGTENOR2 Receive text reply status/ERP vector. 8(8) LGTTIMEA" Control time-out command (error time-out). 9(9) LGTTIMEB" Transmit time- (long) time-out out command (shoulder tap). 13(0) LGTRIPCF Transmit initial Receive initial LCOIPCF value. LCOIPCF value. 16(10) I1(B) LGTTIMEO·· 10(A) LGTTIMEC·· Receive text command. 12(C) LGTXIPCF Receive control reply status/E RP vector. ResPonse time~out command. 15(F) LGTCMRTY 14(E) LGTlNST Initial level 2 Control mode ERP state mask. .. retry limit. 18(12) LGTLATO Remote activity time field. (NCP#) ;8(121-------- 19(i3T- ------LGTCMO LGTINCHR Pointer to command decode table. Initial control LGTCOUNT Write EOT com- mand initial control character count. character. Type 1 Scanner Extension 20(14) LGTMASK Character size tag mask. (See BCBMASK for bit definitions), 22(16) LGTLCPCF LCOIPCF for 23(17) LGTBREAK type 1 scanner, Start-stop transmit break mask. {See (S.. BCBLCPCF BCBBMASK for bit for bit definitions.) definitions.) ·Indicates a byte expansion follows. **Error time-outs are expressed as x'ex', Go to TVS DSECT and displace into TVS bV a value of X for timer values. Shoulder tap time·outs are x'ax'. Data Area Layouts 107 LGT (NCP) 24(18)" LGTWACKL BSe received WACK limit 25(19)*' LGTTID ase received TTD limit value. 26(IA)" LGTSYN BSC SYN char· aeter line code. 27(IB)*' LGTR1ST Receive initial state set after connect. value. or LGTPOLLG or LGTPADCT Start-stop selee- Start-stop poll tion address address length. Start-stop motor start pad count. or LGTSELG length. ( sse Line and EBCDIC Characters 28(IC)'* LGTDLEEB DLE. 32(20)" LGTDLES DLE. 36(24)" LGTDLEO DLE. 40(28)" LGTDLER DLE. 44(2C)*' LGTNAKE NAK EBCDIC. 48(30)" LGTDLEW DLE. 52(34)" LGTETBA ETB ASCII. 56(38)" LGTENCA ENQASCII. 29(10)'* LGTETBE ETB EBCDIC. 33(21)'* LGTSTXE STX EBCDIC. 37(25)'* LGTACKO ACKO. 30(1 E)'* LGTDLEOT DLE. 34(22)" LGTDLEIB DLE. 41(29)'* LGTRVIE RVI EBCDIC. 45(2D)*' LGTSOHE SOH EBCDIC. 49(31)" LGTWACK WACK. 42(2A)" LGTDLEEQ DLE. 46(2E)" LGTDLEEX DLE. 50(32)" LGTSOHA SOH ASCII. 53(35)*' LGTETXA ETXASCII. 54(361" LGTEOTA EOT ASCII. 57(39)" LGTNAKA NAKASCII. 58(3A)" LGTDLEA DLE ASCII. 38(26)" LGTDLEI DLE. 3111F)" LGTEOTE EOT EBCDIC. 35(23)*' LGTlTBE ITB EBCDIC. 39(27)" LGTACKI ACKI. 43(2B)" LGTENQE ENQ EBCDIC. 47(2F)" LGTETXE ETX EBCDIC. 51(33)'* . LGTSTXA STX ASCII. 55(37)" LGTITBA ITB ASCII UDisplacement will be four bytes less if type 1 scanner is not present. c 108 3704 and 3705 Program Reference Handbook LGT (NCP) Start/Stop Line and EBCDIC Control/Characters (Label used dependent on terminal type.) 28(IC)** LGTUPPER Upshift. W 32(20)" LGTEOTI Circle C or figs. 29(10)** LGTETB2 Circle B. 33(21)" LGTCIRO 30(IE)" LGTLOWER 31(IF)*' LGTEOT2 Down shift. Circle C or H. or LGTEOT3 Letters. or LGTTEOT EOT 34(22)" LGTVTAB 35(23)** LGTHTAB Circle D. Vertical tab. Horizontal tab. or LGTWFIG Figs. or LGTWLTR Letters. or LGTWNULL Null. Horizontal tab. or LGTCIRC or LGTTNUL Null. or LGTTVT Circle C. ..; or LGTTHT Vertical tab. or LGTSTXl Space or carriage return. 36(24)** LGTLF 37(25)" LGTCRLF 38(26)" LGTSPACE Space. 39(27)** LGTBKSP Backspace. line feed. Carriage return. or LGTWTAB Tab. or LGTWCR or LGTSTX2 Carriage return. Carriage return or line feed. orLGTTCR or LGTTLF Line feed Carriage return. or LGTCR Carriage return or line feed. 40(28)** LGTPAO Pad. ~ 41(29)** LGTIOLE Idle. or LGTTPAO Pad. or LGTWE081 Idle. or LGTBPAD Pad. or LGTSTX3 Idle. 42(2A)** LGTSPEC 43(2B)*' LGTPRC (Reserved). Prefix. or LGTWEOB2 EOa sequence. or LGTTEND END. or LGTWEOB3 END. or LGTWPAO Pad. "Displacement will be four bytes less if type 1 scanner is not present. ~ Data Area Layouts 109 LGT (NePI 44(2CI" LGTCIRN NAK. or LGlWEOB4 NAK. 45(2DI** LGTRES Restore. or LGTWEOTl EOT1. 46(2EI** LGTRSTP Reader stop 47(2FI" LGTETBI Circle B. or LGTTXOFF XOFF control or LGTCIRB character CircleS. or LGlWEOT2 EOT2. or LGTTXON XON control character or LGTWEOT3 EOT3. 48(301** LGTCIRY CircleY or LGTWEOT4 EOT4. 52(341'* LGTPON Punch on. 49(311** LGTBYP 50(321" (Reserved) Bypass or LGTWXCHl Ending character 53(35)** LGTDELET Delete. or LGTWXCH2 Ending character 54(381** LGTESLSH Slash. (EBCDIC) ( 51(331** LGTPF - Punch off. -- orLGTWXCH3 Ending character 55(371** LGTESPCE Space (EBCDICI **Displacement will be four bytes less if type 1 scanner is not present. Bit Patternl Offset/Field Name 0(01 LGTTYPE Hex Value Contents Terminal type identification. X'OO' X'02' X'04' X'06' X'OS' X'OA' X'OC' X'OE' X'14' X'lC' X'ID' X'20' X'22' X'24' X'26' X'4A' X'4C' X'4E' X'6A' X'6C' X'6E' X'8C' X'8E' 2741. 2740 Basic. 2740 Station Control. 2740 Transmit Control. 2740 Station Control with checking. 2740 Transmit Control with checking. 2740 with checking. 2740 Model 2 with checking. 2740 Model 2 without checking. 1050. MTA. TTYI·B (83B31. TTYII. TTY World Trade. TTYI·A (115AI. SSC EBCDIC point-to-point station. BSC EBCDIC control station. ( sse EBCDIC tributary station. BSC ASCII point-to-point station. sse ASCII control station. BSC ASCII tributary station. SOLe Primary station. SOLe Secondary station. ( 110 3704 and 3705 Program Reference Handbook LKB LINK CONTROL BLOCK .......m: NCP# Size in bytes: 40(28) Created by: NCP Generation. One for each link. Pointer to LKB: RVT Function: Contains fiekts for scheduling link operation and for maintaining link status information. Queue Control Block (See aCB for input queues for bit definition) 0(0) 2(2) LKW1EC8 LKWLECB Pointer to first element queued (Shifted address). 4(4) 5(5) LKWSTAT LKWPRKEY Task and Queue acB 10 flag and status. task protect key. Pointer to last element queued (Shifted address). 6(6) LKWLlNK Pointer to next ace on the queue (Shifted address). 8(8) LKWTSKEP Task Entry Point (Last 18 bits) . .... .. "1" ...... LKWMCBO LKWSCHEO Major control block Task dispatching displacement. priority. 12(C) 14(E) LKWSAVE LKWLUNK Pointer to previous aCB on queue (Shifted address). Address of save area pushdown list (Shifted address). 16(10 LKBNWAOR Network address of link. 20(14) 21(15) LKBSVTO LKBSWST" SVT displacement. Switched status (Remote only) flags. 18(12) LKBSTAT" Status of link. 22(16) 19(13) LKBTYPE" link type. 23(17) LKBSNQC Stations not quiesced count. (ANS) Reserved. 24(18) -------1 LKBTCHN LKB chain pointer. Points to an alternate link's LKB. (Last 18 bits.) LK8BLMST" Rem~e link backup monitor and status 28(lC) Reserved 36(24) LKBACBP Address of adapter control block. * Indicates a byte expansion follows. Data Area Layouts 111 LKB Byte Expansion Offset/Field Name Bit Patternl Hex Value 18(121 Contents Status of link. LKBSTAT 1 ... .,... . 1 •• .. 1. •.• 1 .. 1. •.. 1 19(131 The link is active; an Activate Link command has been successfully processed. Activate link in progress. Deacti~ate Link in progress• Link quiesce pending. (Auto network shutdown) OLIT in progress • OLLT in progress . Link type. LKBTYPE 1. .. . 1. . •• 1. ••. 1 1. .. . 1.. Leased. Switched . One or more clusters attached to this link • One or more remote controllers are attached to this link. One or more tenninals are attached to this link. Secondary link . ~~ __~' Switched status flags. 21(151 LKBSWST 1. .. . 1.. .• 1. ••. 1 24(181 Connection exists. Link in answer mode . Dial in progress, Switched Enable pending . Remote backup link monitor and link: status. LKBBLMST 1. .. • 1.. .. 1. ..• 1 Link to local controller. The current link to the local controller. Start or continue monitoring links to the local controller. Currently monitoring links to the local controller. f ( ,~ 112 3704 ~nd 3705 Program Reference Handbook LLG LOGICAL LINE GROUP CONTROL TABLE Program: NCP1, NCP2 ~Size in bytes: 12(C) plus 4 bytes for each line in the line group. Created by: NCP generation. Pointer to LLG: RVTRP field in RVT. Function: Consists of a line scan parameter area, plus one pointer to the LeB for each line in the line list. 0(0) LLGBCUP .LLGFLAGS' ----- -, Pointer to current group (last 18 bits) . Logical line group flags. 4(4) 16 (6) LLGNOL LLGLTG Number of lines to go. Number of lines in group. 8(8) LLGOSET Current offset into line table. 12(C) LLGPTR Pointer to the LeB for the first line in this group. Pointers to subsequent lines in the group follow this field. If this is the system (LLGFLAGS, bit 0 on), this field is set to zero and no other pointers follow it. . Indicates a byte expansion follows. Byte Expansions Offset/Fieid Nama Bit Pattarnl HaxValua LLGFLAGS Contenu Logical line group flags. 0(0) 1. .. .1. . .. 1. This is the LlG for the system. LLG in use. At least one line requires waiting before group operation complete. Data Area Layouts 113 LNVT (Type 1) Pragram: NCP, EP Size in bytes: 161101 for each line. Located: Starts at storage loca~ion X'BOO'. Created by: NCP and EP generation. Referenced by: Level 2 routines. Function: Allows the level 2 routines to find a line's eGB when only the line address is known. ~0~.1~5~(0~·F=)~-------------------------------------------' t: BCB for the first line. 16·31(10·1 F) 8CB for the second line. I n·n+F BCB for the last line. ( ( 114 3704 and 3705 Program Reference Handbook LINE VECTOR TABLE (for Type 2 scanner I LNVT (Type 21 Program: NCP. EP ~ Size in bytes: Variable, depending on number and type of communication scanners wattached and on the highest line interface address specified. I' - Located: Starts at storage location X'840'. Created by: NCP and EP generation. Referenced by: EP and NCP level 2 routines. ~ Function: Allows the level 2 routines to find a line's eeB when only the line address is .known. 2-n 0(01 Address pointer to corresponding ACB (NCPI or CCB (EP). Two bytes for 'each line interface address: Data Area Layouts 115 LINE TRACE CONTROL BLOCK LTCB Program: NCP Size In bytes: 32(20) {I Created by: NCP generation. Pointer to LTeB: CXTCCT address at CXBCTRC in link edit map, or SYS l TBfield in HWE. The l TeB is located 36 (24) bytes beyond this address. Function: Contains the pertinent parameters for the line trace function. For duplex operation two LTCBs are required. one for transmit leg and one for the receive leg. 0(0) 2(2) CCTL2 Address of normal level 2 character CCTSTATE References the pseudo state address table used to invoke line trace. service routine when trace first started on this line. 6(6) 414) CCTACB CCTCUT Buffer limit per line trace control Pointer to the ACB for the line being traced. 7(7) CCTMAXBF Maximum number of buffers that can be transferred across the channel with one block. ~. host Read. lOlA) 818) CCTSAVE Save area for link address. CCTTlME Timer control field for line trace. CCTTMOUT Interval timer field for line trace. 11(B) CCTTENTH Tenth second timer started when trace began. 141E) 121C) CCTBCB CCTCHAR Address of vector to this line's ACB. Count of the number of buffer locations remaining in the current buffer. 16(10) CCTHDBUF Pointer to first buffer in current chain (last 18 bits). CCTBFMAX Maximum number of buffers to be filled before trans· ferring diagnostic units to host. 20(14) CCTITIME ( 21(15) 22(16) Unused. CCTEPBAR BAR for EP line (NCP2) Initial value of interval timer field for line trace. 24(18) CCTDATA Address of next diagnostlc unit to be stored (last 18 bits). . -. . .; 1 F CCTBFSZD Number of bytes in full trace buffer. 28(1C) CCTSTART Pointer to beginning of current buffet (last t8 bits). *Indlcates a byte expansion follows. 116 3704 and 3705 Program Reference Handbook It" LINE TRACE CONTROL BLOCK (NCP#) LTCB (NCP#) Program: NCP Size in bytes: 72(48) Created by: NCP generation Pointer to LTCB: CXTCCT address at CXBCTRC in link edit map, or SYSLTB field in HWE. The LTeB is located 36(24) bytes beyond this address. Function: Contains the pertinent parameters for the line trace function. For duplex operation two LTeBs are required-one for the transmit leg and one for the receive leg. 0(0) 2(2) CCTL2 Address of normal level 2 character CCTACB Pointer to the ACB for the line being traced. service routine when trace first started on this line. 4(4) 6(6) Reserved CCTWORK Timer work entry tor 8(8) ceT. 10(A) CCTUNK CCTTIME for line trace. - Timer - control field11(B) Pointer to the next ACB in level 2-3 chain, since the eGa is queued as the dummy ACB. " 12(C) " CCTTMOUT CCTTENTH Interval Timer Tenth second timer field for line trace. started when trace began. 14(E) CCTBCB CCTFLAG* CCTFLAGs field for CSB" Address of vector to this line's ACB. 16(10) 18(12) CCTSCNT CCTCHAR Field to accumulate status byte oount. Count of the number of buffer loca· tions remaining in the current buffer. 20(14) 22(16) CCTDCNT CCTEN01 Fiel.d to accumulate data count. Line status for queuing. 24(18) CCTDATA _ .. _ .. CCTBFSZO ~dress _ ~~mber of bytes in full trace buffer. of the next diagnostic unit to be stored. "I 28(IC) CCTSTART CCTRTT* Pointer to the beginning of the current buffer. Line type "' Data Area Layouts 117 LTCB (NCP#I 32(201 341221 CCTITIME Initial value of interval timer field for line trace. CCTEPBAR BAR for EP line. 36(24) - - _ .. _ .. __ - a-a CCTHDBUF Pointer to first buffer in current chain. CCTBFMAX Maximum number of buffers to be filled before transferring diagnostic units to the host. 40(2BI CCTL3 Address of level 3 copy routine 4412CI 42(2AI CCTCUT Buffer limit per line trace block. 43(2BI CCTMAXBF Maximum number of buffers per BTU on channel. 46(2EI CCTSAVE Save link address. 48(301 CCTCTL Control flags. Must always equal zero. 501321 CCTESTAT Expected ending status. CCTCHRl Number of buffer locations remaining in the buffer during copy. 52(341 CCTDATAI Contains the address of the next data position when control is passed to the copy routine. 56(381 CCTSTRTI Pointer to the current copy buffer. 60(3C) CCTDDATA Save field for the pointer to the current data character to be copied during transfer of buffers because of buffer cutoff. 64140) CCTDSTRT Save field which contains the current data buffer pointer during transfer of buffers. 6BI441 CCTDSAVE Data pointer save field during transfer of buffers. ··-·ccTf)CHR---Save field which contains the residual data count during transfer. *Indicates a byte expansion follows. (' 118 3704 and 3705 Program Reference Handbook LTCB (NCP#I Byte Expansion Bit Pattern! Offset/Field Name Hex Value Contents CCTFLAGs field for a type 3 scanner 14(EI during copy. CCTFLAG 1=Receive x ... Q=Transmit l=SSC O=SDLC l=Branch and link from C):{BCOPY3 O=Not .x .. .. X. ••• X l=Currently processing insert function .... x ... l=Leading Graphics transmitted O=Not O=Not .x .. l=Buffer request for BCe store •• X. 1=Level3 copy active O=Not active l=ITB received (Adjust for BCC) Q=No buffer store request ••• X O=Not ITS 2S(lC) CCTRTT Une type X'OO' X'SO' X'CO' Half-duplex Duplex Duplex-transmit leg Data Area Layouts 119 fi LINE TEST CONTROL BLOCK LTS (NCP1,2) Program: NCP1, NCP2 Size in bytes: 36(24) Created by: NCP generation. Pointer to LTS: Located at CXTLTS in CXSGMISC. Function: Contains control information for panel test operations. 0(0) 1(1) LTSPDSYN PAD orSYN LTSCTL* Control byte. 2(2) 3(3) LTSXTPCF LTSMSDF character for The system gen· erated Set Mode The system generated LCD this line. ·SDF. value. 4(4) 6(6) LTSLNAD The line address of the line being tested. LTSSVL2 The saved CCBL2 for the line being tested. 8(8) LTSDIALL Buffer for non X'FF' receive data characters or autaeall dial digits. (16 byte.) 24(18) 26(IA) DLiMETER Counter for non X'FF' data characters DIGCNTR Counter for autocall dial digits and receive data characters. when receiving. 28(IC) 30(1E) LTSACLN LTSL2 Autocailline address. Address of entry point for level 2 interrupt. 34(22) 32(20) ALLONES LTSSVL3 Constant of all ones. Saved level 3 address used in a dial operation. * Indicates a byte expansion follows. ( Byte Exponoionl Offset/Fiold Name 0(0) LTSCTL Bit_nf /fexValue Contents Control field. Line is initialized. 1. .. .x .. ..1. ..• 1 . ···t X 1 zduplex = half d·uplex o Autocaliline . ••• ..•. ••• 1 Monitor-ring-indicator is installed . 1 = Command has not ended • 0= Command has ended. Emulation line.. ( 120 3704 and 3705 Program Reference Handbook LINE TEST CONTROL BLOCK ~ 0(0) LTSCTL * Control byte 1. i LTS (NCP#) Program: NCP# Size in bytes: 56(38) Created by: NCP generation. Pointer ... LTS: Located at CXTLTS in CX5GMISC. Function: Contains control information for line test operations. 1(1) LTSPOSYN 3(3) 2(2) LTSSTMO LTSLCO PAD or SYN charac- The system ter for this line. generated Set Mode SOF. The system generated LeB value. 6(6) 4(4) LTSXLAO LTSRLAO Duplex, receive-line address. The line address of the line being tested. S(S) LTSROATP'" Receive buffer address. LTSOIALL Buffer for receive data characters or auto-call dial digits. (16 bytes) .J 26(1A) 24(1S) LTSNFCNT** Count for nonX'FF' data LTSOCNT Counter for non X'OQ'data characters when receiving. characters when receiving. 2S(1C) LTSERCNT SOLe receive error counter. Reserved**" 31(1F) 30(1E) LTSTURN LTSOCNT Transmit turn Counter for auto-call dial digits and receive LCO/PCF. data characters. 34(22) 32(20) LTSACLN Auto-call line address. LTSXL2 Transmit level 2 pointer. 3S(26) 36(24) LTSOATAP LTSRL2 Receive level 2 pointer. 4O(2S) LTSRCCI Rev. compare character 1 41(29) LTSRCC2 Rev. compare character 2 Transmit buffer pointer. 42(2A) LTSRCC3 43(2B) LTSWAPI Rev. compare character 3 Transmit swap buffer 0 compare character ~ ~" 44(2C) LTSWAP2 Transmit swap buffer 1 4S(3O) LTSXCNTl 45(20) LTSXENOO Buffer 0 residual transmit count 49(31) LTSRCVMO* Buffer 1 total transmit Receive 46(2E) LTSXCNTO Suffer 0 total transmit count 47(2F) LTSXENOl Buffer 1 residual transmit count 50(32) LTSBCC Received Bee characters options count ~ --,., ,'1 52(34) LTSBUFSV*** LTSNLCHR** ~ i;;i,"'" -- . Next to last LTSLCHR*' Last received ReV character dlaracter 54(36) LTSCTL2* Control byte 2 Reserved * Indicates a byte exoansion follows. **Type 2 communication scanner only .... -Type 3 communication scanner only Data Area Layouts 121 LTS (NCP#) Byte Expansions Offset/Field Name O(O} tTSCTL Bit Patternl HexVah. x ... .x .. ..x. ...x .... x ... .x .. ..x. •• • X 49(31} LTSRCVMD xxx . . ..x .... .... .... x •.. .L . .. L ... 1 54(36} LTSCTL2 x ..• .x .. ..x. •••X Contents Control byte: 1=lnitialized. O=Not initialized. l=Command has not ended . O=Command has ended. 1=Auto call . O=No auto call. 1=Monitor·ring·indicator. O=No monitor·ring-indicator. 1=Ouplex adapter • O=Half-duplex adapter. I=SDLC O=NotSDLC I=CCBL2 is set-up• o=cca L2 is not set·up. 1=EP line• O=NCP line. (Reserved). 1=Two character compare on receive . O=One character oompare. (Reserved) Modem test active • asc BCC accumulation on RCV. SOLC acc accumulation on RCV • Control byte 2 1=Line on type 3 scanner O=Line not on type 3 scanner 1=New sync O=No new sync I=NRZI mode O=Non NRZI mode 1=Scan received data O=No scan (Modem test, only) ~~ " \, ) ..' f) 122 3704 and 3705 Program Reference Handbook LUB LOGICAL UNIT CONTROL BLOCK Program: NCP# Size in bytes: 53(35) Created by: NCP generation LU macro. Pointer to LUB: RVT (leased link). LUV (switched link) Function: Provides aCBs, status, and control information for a logical unit. LU/SSCP Process Queue Control Block * 2(2) 0(0) LULLECB Pointer to last element queued (Shifted address). LUL1ECB Pointer to first element queued (Shifted address). 4(4) LULSTAT* 1 5 (5)LULPRKEY* Task and queue status. 6(6) LULLINK Pointer to next ace on the queue (Shifted address). aCB I D flag and task protect key. B(8) LULTSKEP Task entry point (Last 18 bits) . . ------'1' LULMCBD Major control LULSCHED Task dispatching block displacement. priority. 12(C) 14(E) LULLUNK Pointer to previous aCB on queue (Shifted address). LULSAVE Address of save area pushdown list (Shifted address). APPULU Process aueue Control Block' 16(10) 18(12) LUALECB LUA1ECB Pointer to first element queued (Shifted address). 20(14) LUASTAT Task and queue status. 24(18) 1 21(15 LUAPRKEY aCB) I D flag and task protect key. - -----r LUAMCBD Major control block displacement. Pointer to last element queued (Shifted address). 22(16) LUALINK Pointer to next aCB on the queue (Shifted address). LUATSKEP Task entry point (Last 18 bits). LUASCHED Task dispatching priority. 28(lC) 30(IE) LUASAVE Address of save area pushdown list (Shifted address!. LUALUNK Pointer to previous QCB on queue (Shifted address). *See QCB for Input Queues for all bit definitions. Data Area Layouts 123 LUB 32(20) LUBCUB Address of Common Physical Unit Block (CUB) (Last 1B bits) LUBCSTAT Reserved. 1 36(24) 38(26) LUBNALU Network address of this logical unit. 40(28) LUBCPSET' Session control primary status. 41(29) LUBCSSET' Session Control LU8TCNT Transmission counter. 42(2A) LUBNAPL Network address of application currently in session secondary status. 44(2C) 45(2D) 46(2E) LUBAPSET' LUBASSET' LUBM Appl ication primary Applicationsecondary Pacing status. parameter M. status. 48(30) LUBPC Pacing count. I 47(2F) LUBN Pacing parameter N. 49(31) LUBLALU Local address of logical unit. , I ndlcates a byte expansion follows. Terminal Node (type 1 PU) Extension The following seven haltwards are for terminal node sequence number management. 50(32) LUBAOSLU SSCP-LU expedited outbound identification. 52(34) 54(36) LUBSOSLU LUBAOLLU LU-LU expedited outbound identification. SSCP·lU normal outbound identification. 56(38) 58(3A) LU-LU normal inbound sequence number. LUBSOLLC LU·LU normal outbound check. 62(3E) 60(3C) LUBSOLLS LU-LU normal outbound save. 124 3704 and 3706 Program Reference Handbook LUBIDGN Identification number gen. LUIS Byte Expansions :' \ W Offset/Field Name 40(28) LUBCPSET Bit Patternl Hex Value 1 . . . . . .. . 1 . . . . .. ... 1 .. .. .... 1 .. . 41(29) LUBCSSET 44(2C) LUBAPSET 45(20) LUBASSET Session established. Exception condition exists. Processing Activate Logical . Processifl~_Deactivate Logical . SCP secondary status: Processing Clear. 1 ... Application primary status: 1 ... . 1 .. ~ .. 1 1 ... . . . . . 1 .. J Contents SCP primary status: Session established.> Exception condition exists. Processing Bind. Processing Unbind. SO LC/BSC path function. (LUB-4 contains the address of the SPB) Application secondary status: x ... .x .. .. x. ... 1 1 ... . 1 .. .. 1. ... 1 1=Processing Clear. O=Not processing. l=Awaiting pacing from LU . O=not waiting. 1:::Pace required by host. O=not required. Null BB PIU pending. INB BB PIU pending • PB I 0 pending • Bracket state management mode . Data Area Layouts 125 LOGICAL UNIT VECTOR TABLE (LUV) LUV Program: NCP# Size in bytes: One 4-byte entry for each ~ogical unit that can be assigned to a switched SOLe link (specified at NCP generation), t ') - Created by: NCP generation. Pointer to LUV: CUBLUB field in CUB. Function: Used to locate the logical unit control blocks {LUBs) that are assigned to a switched SOLC link. LUV Entry 0(0) .1' .. P?i~te~ 'LUVLA Local address of LUVLUB t? ~UB1' (Last 18 bits) 1(1) LUVFLGS' Status flags. logical unit. *Indicates a byte expansion follows. Byte Expansions Offset/Fieid Name 1(1) LUVFLGS Bit Pa.ternl Hex Value 1. .. .1. . .... .... Contents LUV status flags. Last entry in LUV. Entry in use, ( 126 3704 and 3705 Program Reference Handbook LINK XIO CONTROL BLOCK LXB Program: NCP# U Size in bytes: 36(24) Created by: NCP Generation Pointer to lXB: By LKBACBP field in LKB Function: Contains the status of SOLe link operations 2(2) LXBCMODS* LXBCMAND* Command modifiers field. 1/0 command. _~oo~mm=and~fl~~S.~_ _ _ _~_ _~=~ 4(4) 5(51 6(61 7(71 LXBEXTST* LXBRBLUC LXBSTAT* LXBSTATC* Extended Received BlU Command ending Completion code 0(0) ~ 1(1) LXBIMCTL * Immediate control __ error status. command field. 8(8) LXBEREST First error extended status, see LXBEXTST. 9(9) LXBRTYCT ERP retry count. status field. byte of status. 10(A) LXBERST l11B) LXBHSTAT First error status. Set upon first recoverable error, Hold SOLe status. or LXBLTSM SCF mask field. (when OLLT is active). 12(C) Space for OLTTIOB/XIO oommands. or LXBAEXP Address expected I 14(E) LXBDATAP Pointer to first buffer of data received. or LXBSTYPE Station polled .. in -response - - CUB/SCB - - type- field. or LXBTCBPT Pointer to OllT control block. 18(12) 16(10) - -- LXBFNLPT Final buffer pointer. or LXBPOLLT Poll Cycle start time - --- - - - - - or - LXBINPUT Input control-data pointer to command reject (CMDR) data received. - or LXBLTL2 Secondary CCBl2 (when OllT active). LXBLTCT Transmit or Receive count (Oll T). 22(16) 20(14) LXBQOFF l2/l3 block overrun queue _ he_ad po_inte~. _ _ _ _ _ J21(15) _ _ _ _ _ LXBQON l2/l3 block overrun queue _ ta~ poin~er. _ _ Spa..ce fo! O~IT ~OB!XIO_ com_ma~s _ or LXBLTLAB Pointer to lookahead buffer (OllTlAB) _ 24(18) LXBLKBP Pointer to line/link control block. (shifted address). _ 26(lA) LSBBKSIZ Received block size (number of data characters stored). *Indlcates a byte expansion follows. Data Area Layouts 127 LXB 2S(lC) LXBPOLL Pointer to current SOT entry being polled. (Half-duplex and duplex receive leg, primary stations only.) 30(1 E) LXBCPCMO Contact poll command executed. or LXBRACBP Pointer to receive leg of a duplex link (transmit leg only). 32(20) LXBSEL Output SOT pointer-pointer to current station that I format data YJas sent to (primary stations only). ~. ~. 34(22) or LXBXACBP Pointer to transmit leg of a LXBCPOLL Contact poll offset into SOT. duplex link (Receive leg only), Byte Expansions Bit Pattern! Offset/Field Name 0(0) LXBIMCTL Hex Value Contents X'SO' Reset Immediate issued. Immediate control command flags: Set Mode Commands (for idle or busy lines): X'Q4' X'06' X'10' X'12' X'14' X'lS' X'lA' Read line type. Set text error retry limit. Set receive buffer cutoff factor. Start line trace. Stop line trace. Set operation link. Reset operational link. Set Mode Commands (idle lines only): {' X'OS' X'07' Set line adapter interface parameters. Set line control procedure. LXB command: LXBCMANO X'OO' X'B3' X'80' X'8F' X'30' X'32' No I/O occurred Disable. Enable. Dial. Run SOLC link. .Run Initial (remote NCP) ~, 2(2) LXBCMOOS Byte 0 Command modifiers: ~, 1(1) x ... .... .x .. .... 1=Suppress ending a new command due to outstanding status. O=lmmediate end to new command when status is outstanding. 1=No retry . O~Retry. 128 3704 and 370S Program Referonce Handbook ( Bit Patternl Offset/Field Name Hex Value " .J .... .X Contents l=lmmediate retry if errors while normal polling. 0==11 errors, retry at next normal poll cycle . .... •• • X 1=00 not release transmitted buffers. O=Release transmitted buffers after ACK. Byte 1 x ... .... 1=Perform command reset step first. .... Extended error status. l=Overrun. 4(4) it LXBEXTST x ... O==Normal command execution. O=norrnal. 1=Block overrun occurred. .... .... O=No block overrun occurred . . . l. ... 1 Abort received . Monitor count overflow. (If more than 64 temporary station errors occur.) Status equates: Extended error status. 6(6) LXBSTAT .,J 1 ... . 1 .. .. 1. •.. 1 Format exception (invalid SOLe format) . Sync check . Block data check error . SDLC polilfinal bit. Run command error exception phase field: •... .... . .•• .... ••.. 000. 001. 010 . OIL 100. •... 101. •... 110. Ill. 100. 101. 111. Normal final status: control information received in I or 5-format. Normal final status: data received in I-format. Normal final status: data received in NS-format. Special 0 final status. Special 1 SOLC final status. Hardware error. ••.0000. . ..0001 . ...0010. ... 0110. ••. 0111. .•. 1 010. ... 1 110. ... 1 111 . Normal final statu.(bits 0·2=000,001,011) Time-out (something received) . SO lC command reject . Buffer cutoff. Partial ACK (RR) or negative ACK . Reiect received . End of block (I·format). Po.itive ACK (RR) . Wait ACK (RNR). 000. 001. 011. ., Poll type is 'RR', Poll type is 'RNA' . Poll type i. 'NS'. COmmano not-executed because of outstanding status. Error while sending text (I-format) . Error while sending normal polling or response (S-formatl. Error while sending NS control sequence. Completion code first status byte: 7(7) LXBSTATC No errors.. Data Area Layouts 129 LXB Offset/Field Name Bit Pattern! HaxValue 100. · ..0 ... 0 .. .0 .. .0 · .•0 000. 001. 010. 110. 111. Timeout (nothing received). Command reject. Buffer pool depleted. Reset. Invalid address received in BLU from secondary. ... 1 110. ... 1 111 . 101. · .. 0 ...0 .. .0 · .. 0 .. .0 ... 0 Contents Special 0 final status {special status or control information received in NS format}: 000. 001 . 010. 011. 100. 110. Disabled. Enabled. Special 1 SOLe final status (control information received in S or I format): Timeout with only flags received. Received invalid command. Received invalid N tA) in I or S format. .link activity time-out. (Secondary only). Received "[USC) - Received RQI. (This bit configuration also representsSIM in CCBSTAT1.) ... 1 ... 1 ... 1 ... 1 000. 001. Received SNRM • OIl. Received RD L. 100. Record statistics . Received 81M. (SIM is represented by ... 1 110. ...0 110. in CCBSTAT1.) Received non·sequenced ACK SOLe response. ... 1 111. IReceived non-sequenced XID SOLe 111. Hardware/user error final status: .. . 0 000 . User Error - MTA unique. 1. Code and terminal have been identified, but user has not defined them "as.part of the MTA line. 2. User has supplied invalid LCST parameter, such as non-existant line speed. ... 0 010. Communication Scanner Check - not currently in use. response. " Adapter Check 1. Timer has detected no level 2 interrupt when at least one was expected. 2. Modem self-test failed to get a level 2 interrupt after placing the PCF in turnaround. 3. Enable or dial"failed to get a level 2 interrupt after setting the PCF to set mode . ... 0101. ( Adapter Feedback Check 1. TImer detects an LCD of X'F', which results from a hardware-detected error within the adapter. 2. Improper SYSGEN about the adapter in use. 3. Stop bit error on a BSC line. (' 130 3704 and 3705 Program Reference Handbook OffsetlField Name Bit Pattern/ Hex Value Contents ... 0 110. Equipment Check - not currently in use . ... 1 000. Modem error - Set when the SCF modem error bit is on. 1. Occurs when DSR drops during a transmit or receive operation. 2. Can be set by the timer. Set if CTS drops while transmitting. :3: ... 1 001. ... 1 010. Transmit Clock or CTS Failure 1. During enable or write control operation, a Level 2 interrupt failed to follow line turnaround. 2. During enable on a full duplex line, CTS failed to come up. 3. Time-out occurs with PCF of transmit initial (8) . DSR Turn On Check - DSR fails to come up during an enable or dial operation . ... 1 100. DSR Turn Off Check - DSR fails to drop during a disable operation . ... 1 110. Auto call check 1. Initial dial PCF 'F' sees ACR, OLD, COS, or PN 0 up. 2. Dial PCF '4' sees ACR, COS, or PNO up. 11111111 Program Failure 1. Line 110 code completed in an impossible status, /e.g. EN 0 on SIS line) 2. A negative data length was computed. ...• Poll/final bit. ... x -Data Area Layouts 131 OLLTCB ONLINE LINE TEST CONTROL BLOCK Program: NCP# Siza in bytes: 4S(3O) Created by: Specification of OLT at NCP generation and the receipt of a test line or test line and disconnect command (block is built in a leased buffer). fi PointertoOLLTCB: OOBOLLfield inOLLTQCB. Function: Contains current information on the operation of an online line test. 2(2) 0(0) OLLTRXCT OLLTRRCT Residual receive character count. Residual transmit character count. 4(4) ( 6(6) OLLTCCT Receive character compare count. OLLTNCCT Receive character non-compare count. S(S) . OLLTFLGS Flag field. - -r OLLTDICW Dial SDF/PDF return if error. OLLTDRCT Dial residual count if error. 15(F) OLLTCMFG* Special commu- Remainder of flag field. nications flag. 1S(12) 16(10) OLLTICW1 ICWl contents at completion OLLTICW2 ICW2 contents at completion of level 2 command. of level 2 command. 20(14) 22(16) OLLTSYSF* OLLT System flags. OLLTICW3 JCW3 contents at completion of level 2 command. 24(1S) 26(lA) OLLTCCRA OLLTECRA Current command relative address. Failing command relative address. 2S(1C) 3O(1E) OLLTECBA OLLTCCSA Error command branch relative address. Current command start address. 32(20) 34(22) OLLTFBAD OLLTOCBA OllT first buffer address. QCB control block address. 36(24) OLLTCCBA Current command buffer address. 40(2S) OLLTLKBA Pointer to lKB/LCB. 44(2C) OLLTWRK Work area for level 5. * Incilcates a byte expansion follows. 132 3704 and 3705 Program Reference Handbook ( " " \ OLLTCB Byte Expansions Offset/Field Name Bit Pattern/ Hex Value Contents 15(F) OLLTCMFG 22(16) OLLTSYSF X'OS' X'04' X'02' Byte 0 Dial command active. Set time delay active. Transmit on count active. OLLT system flags: No level 2 interrupt occurred before time-out. SCF mask error was detected during level 2 interrupt. A miscellaneous error was detected 1 ... .1 .. .. 1. in level 2. ... 1, 1 ... .1 .. .. 1. ... 1 Halfword compare error. Scanner interlock error. Post unsuccessful. Dial ACR error . Dial ACU error . Byte 1 1 ... .1 .. .. 1. ... 1 1 ... .x .. .. 1. ... 1 Character compare halfword (OLLTCCT) has overflowed. Character non-compare halfword (OLLTNCCT) has overflowed. Count went to zero on a receive SOLe command. Abort condition detected . Abort sequence in progress. Line/Jink test . O=SOLC link test. '=BSC/sS line test. Wait state . Reset command received . Data Area Layouts 133 ONLINE LINE TEST LOOKAHEAD BUFFER ""ogram: NCY# Size in bytes: Variable. Created by: NCP upon receipt of a Test Line or Test Line with Disconnect command. ( Pointer to OLLTLAB: LXBLTLAB field in ACB. Function: Temporarily holds consecutive 110 interpretive commands for lookahead decode. The commands are: • Transmit Character and Turn • Transmit on Count • Receive SOLe • Receive and Compare ~.__R_e~__iv_e_an_d_Co __u_n_t____________~____________~____________~~~ 0(0) 2(2bffset to next command to be Buffer chain pointer. 1 13 (3) Flags' executed. 4(4) OLLT 1/0 interpretive commands. (3 maximum) *Indicates a byte expansion follows. Byte Expansion Offset/Field Name 3(3) (No name) Bit Pattern! Hex Value Contents Flags Transmit on Count phase 1 complete. Transmit TUrn phase 1 complete . 1 ... .1 .. ..1. ... 1 Receive phase 1 complete . Receive and compare active or no buffer available in level 3. C.·' ( 134 3704 and 3705 Program Reference Handbook / ONLINE LINE TEST QCB CONTROL BLOCK OLLTQCB Program: NCP# Size in bytes: 24(18) for half-duplex lines. 48(30) for duplex lines. Pointer to OLLTQCB: OlLTOCBA field in OLLT control block. Function: 'Contains duplex operation). aCBs for OLLT routines (two identical aCBs for See aCB for Input Queues for all bit definitions 0(0) 2(2) OCB1ECB Pointer to first element queued. (Shifted address) . 4(4) OCBSTAT* OCBLECB Pointer to last element queued. (Shifted address) 15 (5)OCBPRKEY' Task and queue status. 6(6) OCBLlNK Pointer to next aCB on the queue. (Shifted address) OCB 10 flag and task protect key. 8(8) r···· . OCBTSKEP Task entry point (last 18 bits). OCBMCBO 9(9) OCBSCHEO* Major control block displace- ment. Task dispatching priority. 12(C) 14(E) OCBSAVE OCBLUNK Address of save area push-down list. (Shifted address) Pointer to previous aCB on the queue. 16(10) (Shifted address) 18(12) OOBACB Reserved. Pointer to ACB. 20(14) 0080LL Pointer to OLLT. ·Indicates a byte expansion occurs in the QCB for Input Queues. r--------------------------~ I I I I Identical QCB for duplex operation. I I IL _________________________ JI Data Area Lavouts 136 OLTTCB ONLINE TERMINAL TEST CONTROL BLOCK Program: NCP Size in bytes: 37(25) ii.\ Located in: Dynamically allocated buffer. ~ Created: When a BTU Test command is received. Pointer to OlTT: DVBSDRT field in OVB when in online test mode. Function: Contains status flags and counters from diagnostic 1/0 operations. 0(0) OLTCTRS Counters 8(8) OLTFLGS Flags. (This field can also be used for counters,) 16(10) OLTSTAT Status field (same as IOBSTAT). 19(13) (Reserved). 18(12) OLTEXST Extended status field (same as IOBEXTST). 20(14) OLTPHER Phase errorconverted. 21(15) OLTFSTS 22(16) OLTFNLS Final status - converted. First status converted. 26(1 A) 24(18) OLTCCMAD Current relative command address. OLTTEMP Temporary halfword work area. 30(lE) 2811C) OLTFBAD Address of first BCU buffer OLTLCBAD LeB address. (Shifted address) (Shifted address) 32(20) OLTCBAD Current command buffer address (last 18 bits). OLTCBOF Offset into current buffer. 36(24) OLTXFER Maximum buffers in Read subblock. ( ( l36 3704 and 3705 Program Reference Handbook ) PCB PANEL CONTROL BLOCK i.J Program: NCP Size In bytes: 24(18) Created by: NCP generation. Pointer to PCB: SYSPDBP field in HWE. function: Provides an area through which information is passed between modules supporting control panel operation. ~ Notes: This control block is required to be tailored for a specific machine. It requires ..... the following information: • Type of channel adapter installed. • Type of communication scanner installed. The channel adapter and communication scanner type information is used to generate the invalid external register address ranges for input. This information is used to verify J external register addresses entered into the dynamic register display and address trace I:OU' tines in order to avoid input/output instruction checks. The invalid external register range. follow the PCB in storage. 0(0) PCBADSW Value of the ADDRESS/DATA switches (la.t 18 bits). PCBCTL Control byte: used as interface with level 3 panel service module. 6(6) PCBDICTL PCBFNSW Value of the DISPLAY/FUNCTION Display 1 con· tml byte. SE LEeT .witch. 8(8) PCBDIAD Display 1 address (last 18 bits) . 4(4) . . . . . . PCBFUNCE 1 7 (7) PC8D2CTL Display 2 control byte. , Function extension control byte. 12(C) . . . . . ·1 PCBD2AO Display 2 address (last 18 bits) . PCBAPNSL Display appendage select byte. 18(12) 16(10) PCBICPAD Panel request intercept addr.ess. (Always shifted regardless of storage size.) 22(16) 20(14) PCBICWN New PCBICWD Current ICW address with bit 38 on. lew address· request for (Reserved). data set lead display. Data Area Layouts 137 PCF STATE VECTOR TABLE PCF (Type 1 Scanner only) 'Program: PEP, EP Size in bytes: 128(8F) Located in: Module CYANUC (EPI. $LVL2 INCP) Created by: NCP and EP generation. Pointer to PCF State Vector Table: BCBVCT field in BCB Referenced by: CYABIT10IEP). CYABIT20lEPI. CYABIT30lEPI. CXBBTSVINCP). Function: Provides address pointers to bit service routines. Note: Offsets are shown within each table. The actual offset will be determined by the location of the table within the link edit map. Start/Stop 0(0) 212) CYANOOPXIEP) CXBBTSV2INCP) CY AMPCF 11 EP) CXBBTSV3(NCP) Address pointer to PCF O· No-op. Address pointer to PCF 1 - Set Mode. 414) 616) CYABPCF2IEP) CXBBTSV4INCP) CYAPCF3IEP) CXBBTSV5(NCP) Address pointer to PCF 2 - Monitor DSR. Address pointer to PCF 3· Monitor RI/OSR. 8(8) lOlA) CY APCF45IEP) CXBBTSV6INCP) CYAPCF45IEP) CXBBTSV6INCP) Address pointer to Monitor Phase. Address pointer to Monitor Phase. 141E) 121C) CYANOOPXIEP) CXBBTSV2(NCP) Undefined for start-stop. 16(10) 18112) CYASPCF8IEP) CXBBTSV7INCP) CYAXSSTTIEP) CXBBTSVBINCP) Address pointer to PCF 8 - Transmit Initial. Address pointer to PCF 9 . Transmit Normal. 20(14) 22(16) CYASPCFAIEP) CXBBTSVAINCP) CYASPCFB(EP) CXBBTSV8INCP) Address pointer to PCF A . Transmit Break. Address pointer to PCF B . Prepare to turn. 24(18) 26(lA) CYASPCFCIEP) CXBBTSV9(NCP) CYASPCFDIEP) CXBBTSVH(NCP) Address pointer to PCF C· Transmit Turn, RTS Off. Address pointer to PCF 0 . Transmit Turn, RTS on. 2811C) 138 CYASRCVT(EP) CXBBTSVDINCP) Address pointer to PCF 7 - Receive, 3011E) CYANOOPXIEP) CXBBTSV2INCP) CYAMPCFF(EP) CX8BTSVIINCP) Undefined for start-stop. Address pointer to PCF F . Disable. 3704 and 3705 Program Reference Handbook PCF SOLC 2(2) 0(0) CXBBTSV2 CXBBTSV3 Address pointer to PCF 0 - Address pointer to PCF 1 Set Mode No-op ~ 6(6) 4(4) CXBBTSV4 CXBBTSV5 Address pointer to PCF 2 . Address pointer to PCF 3 - MonitorDSR Monitor RIIDSR 10(A) 8(8) CXBBTSVP CXBBTSVP Address pointer to Monitor Address pointer to Monitor Phase· Allow DSR error (flags) WI 12(C) CXBBTSVR Address pointer to Receive Flags - No interrupt 16(10) .. Phase (flags) 14(E) CXBBTSVQ Address pointer to Receive Data - PCF 7 18(12) CXBBTSVS CXBBTSVT Address pointer to PCF 8 - Address pointer to PCF 9 Transmit Normal Transmit Initial 20(14) 22(16) CXBBTSVU CXBBTSV2 Address pointer to PCF A Transmit new sync Undefined for SOLe (No-op) 26(lA) 24(18) CXBBTSVV Address pointer to PCF 0 - CXBBTSV9 Address pointer to PCF C - Transmit data continuousNo interrupt Transmit Turn, RTS off 28(lC) 30(1 E) CXBBTSV2 Undefined for SOLe (No-op) CXBBTSVI Address pointer to PCF F - Disable Data Area Layouts 139 PCF Binary Synchronous 0(0) 2(2) CYANOOPX(EP) CXBBTSV2(NCP) CYAMPCF HEP) CXBBTSV3(NCP) Address pointer to PCF 0 - No-op. Address pointer to PCF 1 - Set Mode. 4(4) ~ r 6(6) CYABPCF2IEP) CXBBTSV4INCP) Address pointer to PCF 2 - Monitor DSR. CYABPCF3IEP) CXBBTSV5INCP) Address pointer to PCF 3 - Monitor RI/DSR. 818) lOlA) CYAPCF45IEP) CXBBTSV6INCP) Address pointer to ~CF 4 - Monitor CYAPCF45(EP) CXBBTSV6 INCP) ~. Address pointer to PCF 5 - Monitor Phase, DSR Check on. Phase, DSR Check Off. 14(E) 12(C) CYANOOPXIEP) CX8BTSV2(NCP) Undefined. CYARCDTAIEP) CXBBTSVC(NCP) Address pointer to PCF 7 - Receive. 18112) 16(10) CYABPCF8IEP) CXBBTSVEINCP) Address pointer to PCF 8 - Transmit Initial. 20(14) CYAXMDTAIEP) CXBBTSVGINCP) Address pointer to PCF 9 - Transmit ~ Normal. 22(16) CYANOOPXIEP) CXBBTSV2INCP) Undefined. CYABPCFAIEP) CXBBTSVFINCP) Address pointer to PCF A - Transmit New Sync. 261lA) 24118) CY ASPCFCIEP) CXBBTSV9INCP) Address pointer to PCF C . Transmit Turn, RTS Off. CYASPCFDIEP) CXBBTSVH(NCP) Address pointer to PCF 0 - Transmit Turn, RTS On. 3O(lE) 2811C) CYANOOPX(EP) CXBBTSVIINCP) CYAMPCFf(EP) CXBBTSVIINCP) Undefined. Address pointer to PCF F - Disable. ( ( 140 3704 and 3705 Program Reference Handbook . " Dial 0(0) 2(2) CYAOINOPIEP) CXBBTSVJINCP) CYANOOPXIEP) CXBBTSV2INCP) Address pointer to PCF 0 - No-op. PCF 1 undefined for Dial. "\ .. 4(4) 6(6) CYANOOPXIEP) CXBBTSV2INCP) CYANOOPXI EP) CXBBTSV2INCP) PCF 2 undefined for Dial. PCF 3 undefined for Dial. B(8) lOlA) CYAPCF05IEP) CXBBTSVLINCP) CYAPCF04IEP) CXBBTSVKINCP) Address pointer to PCF 4 - Monitor Call Unit. Address pointer to PCF Call Unit. 5 . Monitor 14(0) 121C) CYANOOPXIEP) CXBBTSV2 INCP) CYANOOPXIEP) CXBBTSV2INCP) PCF 6 undefined for Dial. PCF 7 undefined for Dial. 16(10) 18(12) CY APCF08IEP) CXBBTSVMINCP) CYANOOPXIEP) CXBBTSV2INCP) Address pointer to PCF 8 - Digit Valid_ PCF 9 undefined for Dial. 20(14) 22(16) CYANOOPXIEP) CXBBTSV2INCP) CY ANOOPXIEP) CXBBTSVINCP) PCF A undefined for Dial. PCF B undefined for Dial. 24(18) 2611A) CYANOOPXIEP) CXBBTSV2INCP) CYANOOPXIEP) CXBBTSV2INCP) PCF C undefined for Dial. PCF D undefined for Dial. 28(lC) 3011E) CYANOOPXIEP) CXBBTSV2INCP) CYAOPCFFIEP) CXBBTSVNINCP) PCF E undefined for Dial. Address pointer to PCF F - Disable. Feedback Check I 0·3110·1F) CYANOOPXIEP) CXBBTSV2INCP) Feedback check PCFs are No-op. Data Area Layouts 141 PATH INFORMATION UNIT (FIOO) PIU (FIOO) Program: NCP# Size in bytes: 34(22) plus variable length text. Function: Basic unit of transmission in the TP network. The FIDO PIU is used for requests directed to sse and start-stop devices. Note: This PIU layout is as it appears in an NCP buffer. The basic PIU begins with the transmission header. Buffer Prefix 2(2) 0(0) UOBUFCHN UOOFFSET Buffer prefix chain field. Buffer prefix data offset field. (Shifted address.) 3(3) UOOATCNT Buffer prefix data count field. Event Control Block 414) UOCSTAT 1 Block status flags. I 515 UOESTAT ) 6(6) UOECHN ECB chain pointer. Event status flags. 818) lOlA) UOTMINT UOWQCB aCB for waiting task. Set time interval, as specified by SETIME macro. or UOBLKNS Hold area for blocks N(s). or UOTCNT PI UO text count. I 121C) UlBlTYPE _1.13(0) UIB1STAT* Equal to 1st byte of destination RVT UIB status ----------or UIBLBBA (NCP#) Last buffer of PIU address Transmission Header 14(EI THOBO' TH Byte 0 16(10) 15(F) Reserved. 18112) THODAF THOOAF Destination network address. Origin network address. 22(16) 20114) THOSNF Sequence number. *Indlcates a byte expansion follows. 142 I 3704 and 3705 Program Reference Handbook THOOCF Count (RH + RU). ~"" ~~) PIU (FIDO) RequastlRospon.. Hooder (RH) 24(18) RHOBO' RH BVteO. 25(19) RHOB1' RH Byte 1. 26(lA) RHOB2' RH Byte 2. 27(lB) RHOPAO FIOO pad between RH and RU. (See Section 4) Request/Response Unit (RU) 280C) RUOCMO BTU command. (Refer to Section 3) 32(20) RUOSRP BTU system response. (Refer to Section 7) 29(10) 30(lE) RUOMOO BTU command modifier. (Refer to Section 3) 33(21) RUOLRP BTU extended response. RUOFLG BTU flags. (Refer to BTU) Text field. (Variable length.) (Refer to Section 7) , Indicates a byte expansion follows. Bit Pattern! Offset/Field Name 13(0) UIBOSTAT Hex Value ule status. X'80' X'Ol' X'02' X'03' X'04' X'05' X'06' Recurrent PIU/sensitive data indicator. Invalid OAF. Unrecoverable path error. Unrecoverable station error. Invalid DCF. Incomplete header. Format error. Auto network shutdown in progress. Transmission header byte O. x'or 14(E) THOBO 24(18) RHOBO Contents . .00 .... 01 .. .... 10 .. F 100 BSC/SS node . Last segment . First segment . . . .. 11.. Only segment • .... 00 .. .... ... x Middle segment . 1=Expedited flow . O=Nonnal flow. x ... 1=Response. O=Request. OO=FM data } 01=Network control. 10=Oata flow control. 11=Session control. l=Formatted . O=Unformatted. l=Sense data included . O=No sense data included. Only element . First element. Last element. Middle element. Request/response byte O. .xx. .... x ... .x .. .. 11 · .10 · .01 · .00 ( See ) Section 4 Data Area Layouts 143 PIU (FIDO) Offset/Field Name Bit Pattern! Hex Value 25(19) RHOBI Request/response byte l. 1 ... .. 1. ... 1 . 1 .. ... 1 26(IA) RHOB2 Contents 1 ... . 1 .. .. 1. . x ... FME/DR1 requested/sent. RRN/DR2 requested/sent . Exception response requested/sent . Reserved . Pace . RH byte 2. B.egin bracket. End bracket . Change direction (HDX only) . Code selection indicator O=EBCDIC I=ASCII ( 144 3704 and 3705 Program Reference Handbook PATH INFORMATION UNIT (FI01) PIU (FI01) Program: NCP# Size in bytes: 36{24) plus variable length text. Function: Basic unit of transmission in the TP network. The FI01 PIU is used for trans- mission between the host. local NCP, and remote NCP. Note: This PIU layout is as it appears in an NCP buffer. The basic PIU begins with the transmission header. Buffer Prefix 0(0) U1BUFCHN Buffer prefix chain field. (Shifted address.) Event Control Block I I 4(4) 15(5) U1CSTAT U1ESTAT" Block status flags. Event status flags. S(S) UHMINT Set time interval, as specified ~y S~TIM_E m'!.cro. or UHCNT PI U 1 text count. 6(6) U1ECHN EeB chain pointer. 10(A) U1WOCB aCB for waiting task. -- - - - - - or U1BLKNS HokJ area for blocks N(s). - - 12(C) ,/13(0) UIBHYPE UIB1STAT' -"qual to 1st byte of UIB status destination RVT -or .. .. .. .. . .. - .. UIBLBBA (NCP#) Last buffer of PIU address **Refer to ECBESTAT field of the Event Control Block. Transmission Header 14(E) TH1BO' TH byte O. 16(10) 15(F) Reserved. lS(12) TH1DAF TH10AF Origin network address. Destination network address. 22(16) 20(14) TH1SNF Sequence number. . I TH10CF Count (RH + RU). RequestlRllponse Header (RH) 24(lS) RH1BO' RH Byte O. (See Section 4) '. 25(19) RH181' RH Byte 1. 26(lA) RH1B2' RH Byte 2 . Indicates. byte expansIon follows. Data Area Layouts 146 PIU (F101) Request/Response Unit (RU) 27(IB) RU1BTO 1st byte of prefix for session control FM requests. (Refer to Section 4) -----or RU1RCO Request code for non session control FM requests. (Refer to Section 4) 28(IC) RU1BTI 2nd byte of prefix for session control FM requests. (Refer to Section 4) 32(20) RU1WT* !Trace type indicator. 29(10) RU1RC2 Request code for session control fM requests. (Refer to Section 4) 33(21) RUlTM Time field for active trace and record trace data. *Indlcates a byte expansion follows. 30(IE) RU1NA Network address for session control FM requests. 34(22) RU1SCA 35(23) RU1RTT* Subchannel address Type of record trace for EP line. data request. Byte Expansions Bit Pattern! Offset/Field Name 13(0) Hex Value UIB1STAT X'SO' ula status, Recurrent PIU. X'OI' X'02' X'03' X'04' X'05' X'06' X'07' 14(E) TH1BO . .01 .... .... .... .... Invalid DAF. Unrecoverable path error. Unrecoverable station error. Invalid DCF. Incomplete header. Format error. Auto network shutdown in progress. 01 .. 10 .. 11 .. 00 .. .. x. .... ...x 24(18) RH1BO x ... .XX. .... x ... 146 Contents Transmission header byte O. FIOl Intermediate node . Last segment . First segment . Only segment . M idd Ie segment. l=Primary to secondary flow . O=Secondary to primary flow. l=Expedited flow . O=Normal flo~. Request/response byte O. 1=Response. O=Request. OO=FM data } 01=Network control 10=Data flow control 11 =Session control l=Formatted . O=Unformatted. 3704 and 3705 Program Reference Handbook (see ) Section 4 ( PIU (FID1) Dffset/Field Name ~ . Bit Pattern! Hex Value .x . . .. 11 · .10 ..01 · .00 I 25(19) RHIBI RH byte 2. . 1. . 0 ••• I I 32(20) RUIWT Reserved . Pace . Begin bracket. End bracket . Change direction (HDX only) . I ... .. 1. ..J First element . Last element. Middle element. FME/DRI requested/sent. RRNIDR2 requested/sent . Exception response requested/sent. . 1 .. ... 1 26(lA) RHIB2 1=Sense data included. * O=No sense data . Only element. Request/response byte 1. 1. .. .. 1 . ... 1 I Contents .... x ... Code selection indicator. O-EBCDIC I-ASCII Trace type indicator: · .xx Type 2 scanner· 01 Type 3 scanner - 11 Type of Record Trace Data requested: l=Duplex. 35(23) RUIRTT O=Half-dup1ex . .x . . · .01 Ifbit I-I, l=Transmit leg. O=Receive leg. This is not the last Record Trace Data request. · .10 .. 11 I This is the last Record Trace Data request because a Deactivate Trace has been received . This is the last Record Trace Data request because Line Trace has been treminated due to slowdown. ·See Section 8. Data Area Layouts 147 PATH INFORMATION UNIT (FI02) Pill (FID2) Program: NCP# Size in bytes: 32(20) plus variable length text., Function: Basic unit of transmission in the TP network. The FID2 PIU is used for transmission between the NCP and the cluster control unit. Note: This PIU layout is as it appears in the NCP buffer. The basic PIU begins with the transmission header. Buffar Prefix O(O) ( U2BUFCHN Buffer prefix cha in field. (Shifted address.) Event COntrol Block 4(4} U2CSTAT Block status flags. 6(6} 1 5 (5} U2ESTAT Event status flags. U2ECHN ECa chain pointer. 10(A} B(S} U2TMINT. Set time interval as specified by SETIME macro. U2WQCS aCB for waiting task. or U2TCNT or U2BLKNS Hold area for blocks N(s) PI U2 text mode. 12(C} UIB2TYPE Unused. I 13(D} UIB2STAT* UIB status. 14(E) Alignment bytes. 16(10) Alignment bytes. Transmission Header 18(12) 20(14) TH2DAF 1 Oestin~tion netWork address. l2t(t5) TH20AF Origin network TH2SNF Sequence number field. address. . 25(19) RH281' RH Byte!. 26{tAI RH2B2* RH Byte 2. Indicates a byte expansion follows. 148 Reserved. 22(16) Request/R ..ponoe Kead 64K. Return data to host on error. Critical situation notification option selected. Online test option selected . Auto network shutdown was initiated form the panel (NCP 1,2,3,4). Reserved (NCP #). Field used by dump to determine storage load. (NCP2, NCP#) NCP Lavel .,; '0692' SYSBI9 (SYSFLG2) X'Ox' X'3x' X'5x' NCPI &2 NCP3&4 NCP# Load module type X'xl' X'x2' X'x3' X'x5' X'xS' X'x7' X'xA' X'xB' X'xE' NCP EP PEP NCP/LR PEP/LR NCP/R EP3.0 PEP EP3.0 PEP/LR EP3.0 General communication byte. 1. .. At least one type 2 channel adapter is inoperable. Panel support (NCP2, #) I=NCP O=EP l=PEP line switch in system• .x .. •• X. O=not available. (,II •• •X (Reserved) . .... x ... 1=CSB1 in diagnostic mode • .x .. 1=CSB2 in diagnostic mode . .• X. 1=CSB3 in diagnostic mode • •• • X 1=CSB4 in diagnostic mode . O=not. O=not. O=not. O=not. Data Area layouts 195 XDB Offset/Field Name Bit Patternl Hex Value Contents Program level interrupted by levell. '06AS' RTRB3 1. .. . 1 .. .. 1. ... 1 Program level 2 interrupted. Program level 3 interrupted . Program level 4 interrupted. 1 ... Program level 2 interrupted. Program level 3 interrupted . Program level 5 interrupted . Last level interrupted. '06BO' RTRB11 on entry to level 1. .1 .. . .1. ... 1 Program level 4 interrupted. Program level 5 interrupted . 1 ... Allow additional register range .x . . (AARR) 1=dump O=nodump 'OSBS' RTRB17 ,f Field engineering hook/escape byte. ( { \ 196 3704 and 3705 Program Reference Handbook ') XDH HALFWORD DIRECT ADDRESSABLE STORAGE Program: NCP Located in: Controller storage beginning at location X·0700'. Size in bytes: 128(801 Created by: NCP generation. Pointer to XDH: None. Fixed location. Function: Contains frequently accessed system control fields. ROS Contained Code Save Area Sub-Block (XDHROSJ The following fields are present in a dump_ '0702' '0700' ROSHI (ROSWKll Work area for IPL phase 3 channel command word. '0706' '0704' ROSH3 (ROSSVCCRI Program level 1 CCU checks (external register X'70'). ROSH5 (ROSWK2) Work area for dual RDS and 3704 RDS standalone diagnostics. and 3704 RDS standalone diagnostics. ROSH7 IROSWK4) ROSH8 (ROSWK5) Work area for standalone channel adapter diagnostics (3704 only). Work area for 3704 ROS while loading over the type 1 channel adapter, The following fields are present during program execution . '0700'·, .... '0702' TMRF ICYATMPTR) TlMH4 (TiMCHTD) Channel vector table save area for timer. Attention delay interval for channel adapter. '0704' ~I ROSH6 (ROSWK31 Work area for dual RDS type 1 load '070E' '070C' .I ROSH4 (ROSSVCCUI Program level 1 CCU interrupt requests (exte,oal register X'7E'). '070A' '0708' ., ROSH2 (ROSSVADRI Program level 1 adapter interrupt requests (external register X'76'). '0706' TlMHl (TIMCHTOS) TIMH8 (TIMCHTO) Attention time-out field for secondary channel adapter. Attention time-out field for primary channel adapter • Not used by EP. "Fields used only by PEP. Data Area Layouu 197 XDH f: Bit S.rvice Interrupt Modul. Control Block (8 bytBs) (XDHBSP) '0708' '070A' SYSH22 (BSPSAVE) Saved BCBL2 address interlock. SYSH23 (BSPFUNC) Function control switch for type 1 scanner panel-initiated ICW display, '07OC' SYSH24 (BSPOISP) Scanner data set leads display. RTRH2 (RTRSW) Program level 3 router return entry point (CXCCRTRR). '0710'" '0712'" OCBHI (OCBF)' (OCBFlAGS) EPflags - - - - - .- - - - -- -- - or CHCBA01'" lCYECHCPlI CA4 CHCB pointer '0714'" OCBT (OCBTlO) OCB table. .--~---------------or CHCBA02'" (CYECHCP2) CA4 CHeB pointer '0716'*' POSOF (POSOFRST) Address pointer to first eeB in the data service out queue. ................. - priodty or POSOl (POSOlAST) Address pointer to the last eeB in the priority data service out queue, - - -- '071S'" .. or- - - - '071A'" OSOF (OSOFRST) Address pointer to the first eCB "in the data service out queue. OSOL (OSOlAST) Address pointer to the last eCB on the data service out queue. TMRF*** PSCA*** (CYEPSCA) Pointer to CHCB initiatized for panel use - -or - - - - - - - - (CYATMPTR) Pointer to next CHVT to be checked by timer routine '071C'" DSIF (OSIFRST) Address pointer to the first CCB in , the data service in queue. - 198 - Reserved (NCP#) Reserved (NCP#) - ( '070E' - - or- - - - - - '011E'u OSll (OSllAST) Address pointer to the last CeB in the data service in Queue. - - - - - - - - - - -- - - - --. or lOGAOO'" (lOGADOR) Pointer to error log " 3704 and 3705 Program Reference Handbook or ABARSAVe·** (SAVEABAR) Contents of ABAR at level 1 XDH '0720' '0722'" SOF (SOFRST) Address pointer to the first eGB in the status out queue. - - - Or - - - SOL (SO LAST) Address pointer to the last eGB in the status out queue. - - - - - --- -- or LlCAREO'" (SAVEADRO) Contents of Input X'76' at level 1 L1INTREO'" (SAVEll NT) Contents of Input X'79' at level 1 (Interrupted level) (Adapter request) '0724'" '0726'" SNOF (SNOFRST) SNOL (SNOLAST) Address pointer to the first eGB in the sense out queue. Address pointer to the last eGB in the sense out Queue. - - - - or - - - - - - or HNGPGMSW (CYEHUNG) LOGINDIC'" (LOGIND) Log·trace indicator: Unhang subchannel X'01 '=Log entry to be stored at swit-ch: X'01 '=Action is in progress to unhang subchannels. byte displacements 6 and 7 of the trace entry. '072A'" '0728'" SSF (SSFRST) Address pointer to the first eGa SSL (SSLAST) in the stacked status queue. or . - Reserved (NCP#) Address pointer to the last eGB in the stacked status queue. or Reserved (NCP#) Indicates a byte expansion follows. **Fields used only by PEP. ***Fields used only by EP (new basel. Data Area laybuts 199 XDH Type 1 Scanner acB for Character Transfer Between Character and Bit Service (XDHCSPO) '072C' '072E' CSPOHl (CSPOOFF) First 8CB address. BCBs are taken off the chain from this end. CSPOH2 (CSP02) (CSPOON) Last BCB address. BCSs are added to the chain at this end. '0730'" '0732' SVCO SVCOUT (Reserved) or Reserved (NCP# and EP new base) '0734' (Reserved) **Fleld used only by PEP OCB for CCBs Passed to Program LeYel 3 from Program Lev.1 2 (XDHCCPO) '0736' CCPOHT (CCPOOFF) Address of first CCB. CCS's are taken off the chain from this end. '0738' CCPOH2 (CCPOON) Address of last eCB. eeB's are added to the chain at this end. TImer Sub-conUUI Block (XDHTIM) '073A' TlMH6 Tenths of a second counter. '073C' '073E' TlMH2 (TIMWKTAB) Address of current line timer TIMH3 (TIMWKTNX) Pointer to the next low-resolution '0740' eTa subchain to be serviced. control/work table. ( '0742' TIMPADH (Reserved) TIMH9 (TIMCTBAD) Pointer to start of CXTCTB Supervisor Sub-control Block (XDHSYS) '0744' SYSH3 (SYSIOON) Pointer to end of system immediate queue. '0746' SYSH9 (SYSPOON) Pointer to the end of the system productive queue. 200 '0746' SYSH4 (SYSIOOFF) Pointer to the beginning of the system immediate queue. '074A' SYSH10 (SYSPOOFF) Pointer to the beginning of the system productive queue. 3704 and 3705 Program Reference Handbook ( XDH '074C' '074E' SYSH18 (SYSAOON) Pointer to the end of the system SYSH19 (SYSAOOFF) Pointer to the beginning of the system appendage queue. appendage queue. '0750· ·U7b2 SYSH20 (SYSNOON) First triggered non-productive OCB. SYSH21 (SYSNOOFF) Last triggered non-productive aCB. '0756' '0754' SYSH2 (SYSBPTBC) • SYSHI (SYS8PC8C) Current free buffer count. '0758' Free buffer threshold count + 1. '075A' SYSH5 (SYSLINES) Number of communication lines. SYSH8 (DCTAOCB) (SYSAOCB) System active queue control block. '075E' '075C' SYSHll (DCTSPOOL) (SYSSPOOL) SYSH12 (DCTSAVEK) (SYSSAVEK) Pointer to first buffer in system System save area buffer pool allocation count. save area pool. '0762' '0760' SYSH13 (DCTABND) (SYSABND) SYSH14 (SYSBINTM) System binary time of day in seconds. System abend code. '0766' '0764' '0768' SYSH15 Second halfword of system SYSH16 (SYSCUREO) binary time of day field Time value for earliest expiring current system timer recuest. SYSH17 Second halfword of SYSCUREO '076C' . '076A' (Reserved). '076E' (Reserved) . (Reserved). Indicates a byte expanSIon follows. Channel Adapter Interrupt Handler Sa.e Area (XDHCHSV) '0770' '0772' CHSVHl (CHSVBKSZ) Maximum byte count to host per CHSVH2 (CHSVCHB) Pointer to CHB or COB. host start 1/0. Communication Control Program Save Area 'XDHCCP~ '0774' CCPHI (CCPSAVE) Save area for program level 3 CCP. Data Area Layouts 201 XDH Program Level 1/3 Router Sub-COntrol Block (XDHRTR) '077S' RTRHI (RTRBARSV) Save area for scanner buffer address register. '077S' '077A' (Reserved). (Reserved). 'onE' '077C' RTRHS (RTRL2GOA) Level 2 interrupted IAR (16 bitsl ( RTRH10 (RTRCASEL) Save area for CA selection mask. Byte Expansions Bit Pattern! Offset/Field Name X'0710' acBF Hex Value 1 ... . 1 .. .. 1 . ... 1 .... .... X'075S' SYSH2 (SYSBPTBC) .... .... .... .... 1 ... .1 .. Contents EP flags. (PEP) Set suppress out down. Set stacked status service . Set sense service. Set TID sequence . Do not dequeue from stacked status queue. Set panel command . User requested slowdown threshold 0001 50% 0002 25% 0003 12% ( \. 202 3704 and 3705 Program Reference Handbook ~ . Section 3: BTU Commands and Modifiers Following is a list of the BTU commands with a brief description of each modifier and the hex value and acronyms of each. Contact Command (X'OS'I No modifiers Control Command (X'OS') Command Modifier (Hex) 01 Displays current status of the line. Replace session initiation 02 Replaces .LeB information associated with the initiation. Activate Invites 03 Allows the NCP to honor all currently resident Invite commands. (NCP1, NCP2) . Deactivate Invites 04 information for a line ...,; Meaning Display line status Negates all currently resident Invite commands to prevent terminal-initiated sessions. (NCPt, NCP2). Copy session initiation information 05 Display Device .Status 06 Request device statistics 07 Display storage 08 Set time and date 09 Set channel mode OA Replaces the time and date that is resident in the communications controller. (NCP1, NCP2). Changes the mode of the channel adapters. This command is valid only when. it is sent over the current primary channel adapter. OB Gives network address of line associated with OC A diagnostic and debugging aid. The following lew fields are stored into buffers each time a level 2 interrupt occurs: (NCP1, NCP2), Accesses information associated with the initiation of a session. Displays the current status of a device. (NCP1, NCP21 Sends an MDR record to the host for every device that has had activity since the previous request. (NCP1, NCP2). Displays 32 contiguous bytes of communica· tions controller storage specified by the user. (NCP1, NCP2J. secondary (NCP1, NCP21. 'II Display line's network address Activate line trace a devipe. (NCP#) • • Line Control Definer (LCD) Primary Control Field (PCF) • Secondary Control Field (SCF) • Terminate line trace W 00 Parallel Data Field (PDFI Terminatftlhe line trace on a designated line. (NCP1, NCP21. Change modem 12 Allows the user to change the speed at which the appropriate modems operate a line. Set channel mode primary 15 Changes the mode of the channel adapters. This command is valid only when it is sent over the secondary channel adapter. Copy destination mode 18 Accesses the mode information of a device Copy device session information 21 Accesses the device's polling character, addressing charact~ and if the device is switched call-out, the dial digits. speed (NCP2, NCP#). (NCP1, NCP2). " from the DVB. (NCP1, NCP2). BTU Commands and Modifiers 203 Modifier Command Replace device session information (Hex) 22 Physical disconnect Reset error lock 41 Reset device queues 42 Request control mode lC Meaning Replaces the device's polling characters and addressing characters in the OVB. If the device is switched call-out, it replaces the dial digits in the COE. 8rea.~s·the physcial dial connection. (NCP#). Clears the error lock condition on a device. The first request on the device work queue is honored at the completion of this command. Returns all commands for a device that were accepted but not vet honored. The response BTU of the returned commands indicates that they were reset. 43 Sends RVI on. SSC lines. (NCP#). Reset immediate 44 Ends the current operation on a device without regard to data loss. Reset online terminal test* 48 SWitch ·to backup Switch from backup to primary 4A Aborts the execution of the chain of online terminal tests, tests diagnostic mode, and clears the device queues. Requests switched line backup. 4C Requests that the primary line be activated. Reset Invite 40 Returns pending Invite command to host. Reset conditional 50 Reset at end of command 60 Tests the status of the top command for the device. If data transfer has not started, the reset takes place immediately. If data transfer has started, the reset is not done. Ensures that the device input queue and device work queue are idle and empty so a new sequence of operations can begin. Switch to EP mode 82 Switches the line mode from NCP to EP. (NCP2i. Switch to NCP mode Change line serviceseeking pause 83 Switches the line mode from EP to NCP. (NCP2). 84 Allows the user to change the length of the pau\e between service-seeking attempts. Change line negative poll response limit 85 Allows the user to change the number of consecutive negative responses to polling that are acceptable before termination of the Read Change session limit 86 Allows the user to change the maximum number of sessions permitted on a line at the same time Change device transmission limit 8C Allows the user to change the number of EOTs that the controller sends to or receives from a de\(ice before servicing other devices on th!'t ~ ( reset (NCP#). (NCP1, NCP2). ( command. (NCP1, NCP2). (NCP1, NCP2). f line. (NCP1, NCP2). Modify block handler set association 80 Activate line 98 Activates, deactivates, andlor changes the association of a block handler set with a device. Activates a line for data transfer. (NCP1, NCP2). , ~ *In NCP3the command is sent in the Request Unit of a FIOl execute test request. 204 3704 and 3705 Progrllm Reference Handbook \, ., Modifier (Hex) Command Meaning 99 Causes a Deactivate Device operation for each device on the line without changing the device status. Currently resident commands are honored, but no new commands are accepted. Set destination mode 9A Replaces the device mode flags for a particular Deactivate line halt C2 device. Ends the current operation on the line without regard to data loss. All outstanding requests are returned to the host. (NCP1, NCP2). Deactivate orderlv (Line flush) (NCP1, NCP2). ~ Disconnect Command (X 07') 6 .., , Modifier (Hex) Command Meaning Disconnect normal 0 00 No modifier. Disconnect with Invite Di 01 Executed as a Disconnect normal command Disconnect with end- De 02 followed by an Invite normal command. Disconnect with EOC and Invite For switched lines. this modifier results in the physical connection between the terminal and the communications controller being broken. For all other lines, this modifier is the same as normal. of-call Dei 03 Executed as a Disconnect with end-of-call followed by an Invite command. Invite Command (X'05') Modifier (Hex) Command Invite normal Meaning 00 Unit of data for this command is that specified by the TERMINAL macro at NCP generation. Invite block Ib 01 Unit of data for this command is the block Invite message 1m 02 Unit of data for this command is the message Invite transmission It 03 Unit of data for this command is the transmission (ends with EOT). Invite transmission with Disconnect Id 04 Executed as an Invite transmission command followed by a Disconnect command. Invite with auto restart la 05 Executed as unbounded series of Invite with Disconnect commands. This command must be terminated with a reset req4est. Invite perpetual (valid only for clusters) Ip 06 Executed as an unbounded series of Invite transmission commands with no intervening Disconnect commands. (ends with EOB). ~ 'wi (ends with ETX (BSC) or EOT (55), Read Command (X'01') Modifier Command c;,jJ (Hex) Meaning Read normal R 00 Unit of data for this command is that specified by the TERMINAL macro at NCP generation. Read block Rb 01 Unit of data for this command is the block Read message Rm 02 Unit of data for this command is the message (ends with EOB). (ends with ETX (BSC) or EDT (55)). BUT Commands and Modifiers 205 Modifier (Hex) Command Meaning Read transmission Rt 03 Unit of data for this command is the transmission (ends with EOT). Read transmission Rd 04 Executed as a Read transmission command followed by a disconnect command. Ri 05 Disconnect Read with Invite Executed as a Read transmission with Disconnect followed by an Invite normal command. ~'i ( Restart Command (X'04') Modifier (Hex) Command Meaning Line 00 The BTU contains a checkpoint record for a line. Device 01 The BTU contains a checkpoint record for a device. Replace session initiation 02 The STU contains session initiation information ~. for a line. information for a line Replace session initiation 22 information for a device The BTU contains session initiation information for a device. Test Command (X'W)" Modifier (Hex) Command Meaning Test device normal Test device with Contact Test device with Disconnect T Te Td 02 Ends a session with the device to be tested. Test device with Contact and Disconnect Test line normal Test line with Contact Test line with Disconnect Test line with Contact and Disconnect Ted 03 Establishes and ends a session with the device to be tested. TI Tie 04 05 Tests a line. Establishes a session with the Iine to be tested. Tid 06 Ends a session with the line to be tested. Tied 07 Establishes and ends a session with the line to be tested. 00 01 Tests a device. Establishes a session with the device to be tested. Write Command (X'Or) Command Write normal Write with end-ofmessage Write with end-oftransmission Write with Disconnect Write with Read (implied EOT) Modifier (Hex) W 00 Wm 01 Wt 02 Wd 03 Wr 06 Meaning Unit of data is one block. Unit of data is one block followed by the appropriate control sequence or character for an end of message. Unit of data is one block followed by the control sequence for end of transmission. Executed as a Write transmission command followed by a Disconnect command. Executed as a Write command followed by a Read command. -In NCP#these cornmandsare sent in the Request Unit of a FIOl execute test request. 206 3704 and 3705 Program Reference Handbook (' ... ~ ( -' ." Modifier (Hex 1 Command Wi 07 Write with Contact-· We 08 Executed as a Contact command followed by a Write normal command . Write with Contact·· Wem 09 (implied EXTI Write with Contact·· (implied EOTI Executed as a Contact command followed by a Write with end-ot-message. Wet OA Write with Contact** Wed 08 Wer OE (implied ETX & EOTJ W Write with Contact** and Read Executed as a Contact command followed by a Write with end-ot-transmission. and Disconnect \ Muning Executed as a Write command with end-oftransmission followed by a Disconnect command and then an Invite command. Write with Invite Executed as a Contact command followed by a Write with end-of·transmission followed by a Disconnect command. Executed as a Contact command followed by a Write with end-ot-transmission followed by a Read normal command. **Contact may not begin a telephone connection to a sse call-in device. Unsolicited Response (X'77'1 (See Seetion 71 BTU Commands and Mod ifiers 207 Section 3.1: NCP Channel Commands Command Command .; . Description Code No·Op X'03' This command is required as the last CCW in a Read or Write CCW chain. Read X'02' The Read command is initiated at the NCP. Data at controller storage is transferred, to CPU main storage. R.ad Start 0 X'32' This is the first command expected in the Read Channel program ,atter IPL of the NCP. It is also expected after each successful Read Start 1 command. Read Start 1 X'52' This is the second command expected in the Read Channel program after IPL of the NCP. It is also expected after each successful Read Start 0 command. ..,., Reset Restart X'93' This command causes the NCP to reset its switches to indicate that the last Write Start and Read Start commands were Write Start 1 and Read Start 1. Write X'Ol' The Write command is initiated to the NCP. Data in the CPU main storage is transferred to the NCP. Write Break X'09' The Write Break command is identical to the Write command except that it is used to indicate that it is the last or only Write command in a chain of Write CCWs. Write Start 0 X'31' \ This is the first command expected in the Write program after IPL of the NCP. It is also expected after each successful Write Start 1 command. .~hannel Write Start 1 t,;I X'51' This is the second command expected in the Write Channel program after IPL of the NCP. I It is also expected after each successful Write Start 0 command. Note: Data transfer does not occur on Read S~art and Write Start commands. NCP Channel Commands 209 Section 4: NCP# Network Commands (Request Codes) Byte 0, bits 1 and 2 of the request response header of the PIU indicates the type of net- '-iJ work command in process. If byte 0, bits 1 and 2 are 11, see "Session Control" below for the network commands located in byte 0 of the request/response unit. If byte 0, bits 1 and 2 are 10, see "Data Flow Contro'" below for the network commands located in byte 0 of the request/response. If byte 0, bits 1 and 2 are 01, see UNetwork Control" below for the network commands _located in byte 0 of the request/response unit. If byte 0, bits 1 and 2 are 00, see "Function Management Data" below where byte 1 of the request/response unit contains the subcategories for (1) BSC/sS Services (2) Physical Configuration Services, and (3) Physical Maintenance Services. Byte 2 of the request/response unit contains the network commands associated with the subcategories listed. Session Control Request Cod. X'OO' Command Activate Logical X'OE' Deactivate Logical Function EStablishes a session between the SSCP and a logical unit. Terminates the session between the SSCP and the logical unit. X'II' Activate Physical X'12' Deactivate Physical X'31' Bind X'32' Unbind X'AO' Start Data Traffic Enables data flow in a session. It is the final request in a data flow initialization or recovery procedure_ X'Al' Clear X'A2' Set and Test Sequence Numbers Request Aecove~y Removes and discards all PIUs with the same OAF/OAF pair from the destination process queue. Resynchronizes the specified sequence number. X'A3' Establishes a session between the SSCP and the NCP or PU physical services. Terminates the session between the SSCP and the NCP or PU physical services. Establishes a session between a host application program and a logical unit. Terminates the session between the host application program and a logical unit. Initiates data traffic recovery procedures. NCP# Network Commands 211 Data Flow Control TH RU RH 1 By teO 1 Request Code rYreO'1 Bits I, 2' B'10' L·~unction Management: Contr~11 J ,I' Request Code Command Function· X'04' Logical Unit Status X'05' Ready to Receive Sends status information from a logical unit to its session partner. Used in bracket protocol to indicate that the bidder is now allowed to initiate a bracket. X'SO' Ouiesce at End of Chain Directs a function manager to enter the quiesce state at the end of the chain it is currently sending. Indicates that the issuer of the request has placed itself in the quiesce state. Releases a function manager from thE!" quie.sce state. Terminates a partially sent chain of FM data requests. Requests the receiving function manager to return all outstanding data responses and data flow control responses. X'Sl' Quiesce Complete X'S2' Release Quiesce X'83' Cancel X'84' Chase X'CO' Shutdown Requests the secondary function manager to enter the highest level of quiesce. X'Cl' Shutdown Indicates that the sender has shutdown. ..... Complm X'C2' Request Shutdown x'es' Bid X'CU' Signal Informs the primary function manager that the secondary function manager is at 'end of job' and to issue a Shutdown request. Used in bracket protocol to request permission to begin a bracket. Sends an expedited signal through the network against the normal flow of data. , c. ( 212 3704 and 3705 Program Reference Handbook Network Control TH RH I BYteo!1 Bits 1,2 B'OI' L Request Code X'O], X'50' X'51' X'52' Command Auto Network Shutdown Complete Initialization Complete Switch Line to NCP Mode (BSCISSI Switch Line to EP Mode (BSCISSI I ByteO Request Code System Control Data I RU I Function Informs the SSCP that the NCP auto network shutdown is complete. Informs the SSCP that the NCP initializat.ion is complete. Switches line from EP mode to NCP mode, Switches line from NCP mode to EP mode, Function Management Data 00 02 03 06 BSCISS SMvices Physical Configuration Services Physical Maintenance Services Session Services X'OO' BSC/SS Services Requast Code X'OI' Command Function Change Device Transmission Limit Allows user to change the number of EOTs that the NCP sends to or receives from a device on a BSC/SS multipoint line before servicing other devices on the line. Allows user to change the number of consecutive negative responses to polling that are acceptable before termination of the Read command. Allows user to change the number of BSCISS s&$Sions that can be active on this BSC/SS line. Allows user to change the length of the pause between service seeking attempts. X'OT Change Line Negative Poll Response Limit X'03' Change Line Session Limit Change Line Service Seeking X'Q4' Pause NCP# Network Command. 213 x'or Physical Configuration Services Request Code Command Function X'Ol' Contact X'02' X'03' Discontact Load Initial X'04' Load Data X'05' Load Final X'06' Dump Initial X'07' Dump Data Starts a contact poll operation to an SOLe statiori or remote communications controller. Causes the NCP to stop polling a resource. Initiates the IPL of a remote communications controller. Transfers the text of a load module to a remote communications controller. Informs the remote communications controller that the load process is complete and requests it to-provide the NCP entry point to be given control. Initiates a remote communications controller storage dump. Causes the remote NCP to send a portion of Its storage to the SSCP. Informs the remote communications controller that the dump procedure is complete. Invokes a power-off sequence in a remote communications controller. Activates the data set associated with the SDLC link and initiates the continuous transmission of flag characters. Deactivates the data set associated with the link. Causes the NCP to initiate an outbound call on a switched SDLC link. For auto dial, the NCP performs the dial operation with the dial digits provided in the command. For manual dial. the NCP enables the link and the operator performs the dial operation. Causes the physical unit to terminate a switched connection. X'OS' Dump Final X'09' Remote Power Off X'OA' Activate Link X'OS' Deactivate Link Dial X'OE' X'OF' X'll' Abandon Connection Set Control Vectorchannel attention delay ( RU, byte 5 ~ X'05' Allows the SSCP to change the channel attention delay value in the COB (type 1/4 CA) or CHB (type2CAI, ( Note: The SSCP is not allowed to change attention delay in a remote NCP. Set Control' Vector-LU Set Control Vector-PU Set Control Vector-NCP Subarea Set State Vectortime and date I 214 RU, byte 5 ~ X'04' Chahges dynamic fields in the logical unit control block (LUB) and completes initialization of the logical unit vector table (LUV). RU, byte 5 ~ X'03' Changes dynamIC fields in the common physical unit block (CUB) that are associated with the specified physical unit. RU, byte 5 ~ X'02' Associates a remote NCP's subar~a with a particular SDLC link. RU, byte 5 ~ X'Ol' Allows the SSCP to replace the time and date in the NCP. The time is maintained in 24 hour continental time. Note: The SSCP is not allowed to retrieve the time and date with a Sense State Vector request. 3704 and 3705 Program Reference Handbook I j ( X'02' Physical Configuration Services (Cont.) Request Code Command X'14' Entering Slowdown X'15' Exiting Slowdown X'16' Answer Causes the NCP to put the specified link in answer mode. This enables the link to answer incoming calls. X'l7' Abandon Answer Mode Causes the NCP to discontinue answer mode on the specified link. X'18' Abandon Dial X'19' Assign Network Addresses Free Network Addresses causes the NCP to halt the dialing operation over the specified link. Assigns a set of network addresses to a speci· fied phvsical unit. (SOle switched link only) X'lA' Function Informs the SSCP that the normal flow of data in the NCP is impeded due to limited available buffers. Informs the SSCP that the limitation on NCP buffers is lifted. Normal data flow to the NCP may resume. Causes the NCP to free the network addresses that were assigned to a physical unit. X'SO' Contacted Informs the SSCP of conditions presently existing in the resource. X'81' X'84' Inoperative Reports a loss of contact to the SSCP. Informs the SSCP that a physical connection has been established between the NCP and a physical unit. (Contains the station 10) Off Hook X'03' Physical Maintenance Services Request X'Ol' Command Execute Test X'02': Activate Line Trace Code Function Causes the NCP to execute an online terminal test (OLTTl or online link test (OllT) for the resource specified by the network address. Causes.the following lew fields to be stored into _buftfer9'each time a level 2 interrupt occurs: .> LUne Control Definer (lCD) ., Rrimary Control Field (PCF) • Secondary Control Field (SCFI • Parallel Data Field (PDF) This is a diagnostic and debugging aid. (iiJ X'03' Deactivate line Trace Terminates line trace. X'81' X'82' Record Maintenance Statistics Record Test Data Sent to SSCP:whenever certain error conditions exist. Informs the SSCP of the current status of an online terminal test (OlTT) or online line test (OLLT). X'83' Record Trace Data Sends line trace information to the SSCP. ;wJ NCP# Network Commands 215 X'06' Session Services Request Code X'04' Command NS Procedure Error Function Informs the issuer of a non-sequenced request that an error occurred after the request was accepted but before the procedure completed. X'81' Initiate Self X'83' Terminate Self Allows a logical unit to request a session with the SSCP. Allows a logical unit to request the termination of a session with the SSCP. 216 3704 and 3705 Program Reference Handbook The following command sequence is followed for bring-up and session initiation for switched SOle. The non-switched SOlC sequence is provided by skipping those entries identified as being required for switched. The following command sequence is found on a PIU trace (VTAM 10 trace). Command Description Activate Physical From SSCP to NCP physical services Initialization Complete From NCP physical services to SSCP Start Data Traffic From SSCP to NCP physical services Set State Vector From SSCP to NCP physical services Set Control Vector From SSCP to NCP physical services Activate Link From SSCP to NCP physical services Answer or 0 ial (Switched) SSCP to physical services CPM-OUT Off·Hook (Switched) Physical services to SSCP Set Control Vector PU (Switched) SSCP to physical services Contact From SSCP to NCP physical services Contacted NCP physical services to SSCP Activate Physical SSCP to CPU physical unit process queue Assign Network Addresses (Switched) SSCP to physical services Set Control Vector lU (Switched) SSCP to physical services Activate logical SSCP to LU/SSCP process queue Initiate Self (Logical Unit initiated logon only) From LU to SSCP Bind Command Host application to LU Start Data Traffic From host application to LU . Inoperative * May be reqUired at any pomt command. From NCP physical services to SSCP In the command sequences after the Activate Lmk NCP# Network Commands 217 Section 5: SOLC Commands and Responsas (NCP#1 Non-sequenced Format: Control Field 0001 0111 Commands Set Initialization Mode Function Initiates system-specified procedures at the receiving secondary station for the purpose of initializing link-level functions. Command (SIMI. 0101 001l" Disconnect Command (DISCI. Terminates other modes and places the receiving secondary station effectively offline. Set Normal Response 1001 0011 Mode Command Subordinates the receiving secondary station to the transmitting primary station. (SNRMI. 10111111 Used by the NCP to solicit the station identification from a secondary station. 1111 0011 SOLe Test command. 0001 0111 Notifies the primary station that the secondary station has a need for a SIM command. Request Online Response (ROll 0001 1111 Indicates that the transmitting secondary station is disconnected. Nonsequenced Acknowledgment Response (NSA). 0111 0011 Affirms a response to a SNRM or SIM command. Command Reject Response (CMDRI. 1001 0111 Rejects a non-valid command. Commands Control Field Function Receive Ready (RR) xxxx 0001 Indicates the originating station is ready to receive. Receive Not Ready (RNR) xxxx 0101 Indicates a temporary busy condition in which no frames requiring buffer space can be accepted. Reiect (REJI xxxx 1001 Requests transmission or retransmission of sequenced information. xxxx 1101 Reserved Exchange Identification (XIDI Test Responses Request Initialization Response (ROI). Supervisory Format· LL xxxx poll final bit. Receive sequence count. I Format: TtL~_Polilfinal bit. Receive sequence count. SOLC Commands and Response. (NCP#) 219 Section 6: EP Command Codes Operation Code - Ep·* " .; 0000 0000 0001 0001 0001 0001 0001 0001 0001 0001 0001 0010 0010 0011 0100 0100 0101 0101 0110 0110 0111 0111 1000 1000 1001 1001 Command 8/360 and 8/370 00 01 02 03 12 06 13 0 ... 1 ... 0 ... 1. .. 1. .. 1 ... 1 ... 1. .. 1. .. 1 ... 1 ... 0 ... 1 ... 0 ... 0 ... 1 ... 0 ... 1 ... 0 ... 1. .. 0 ... 1. .. 0 ... 1 ... 0 ... 1. .. Test I/O Write Read I/O No·op Diagnostic Read* Diagnostic Write* Set Address Zero * Set Address One" Set Address Two * 17 18 Set Address Three· Diagnostic PolI* 1F lD Sense Wrap 04 15 06 41 09 Prepare Write Break Poll OA Inhibit 19 42 00 OE 2F 27 29 lE 23 Poll SOH Read Clear Break Search Disable Enable Dial Address Prepare Set Mode Flags used during initial command execution (ICE) .... .1 .. .... .. 1 . .... .... .... .... ... 1 End with intervention required instead of I : 1. :~ags Tafter ICE command reject. I I Sense command Line must be enabled before this is accepted . Command end Pseudo read ... 1 Pseudo read end *Treated by the emulation program as a no-op. **The EP command is located in the CCBCMD field of the EP eCB. EP Command Codes 221 Section 7: BTU Responses This appendix lists the responses that are returned to the host in the BTU. The response comprises two bytes: system response (BCUSRESI and extended response (BCULRES). The extended response is also referred to as the line response. Jstem .Response Byte T 00000000 - r -_ L_ . ___ System response code ' - - - - - - - - - P h a s e to which the response applies Phase 0 - Validation of BTU. There is no normal response returned to the host if the command is valid. However, unsolicited responses are sometimes sent to the host in phase a that are not related to the command. Phase 1 - lID to a communications line. Phase 2 - Additional 110 to a communications line when multiple 110 operations take place. For example, Write with Read. Write with Disconnect, etc. Phase 3 - Usually the final normal response to a command. However, if the command has an Invite modifier (for example, Write with Invite), a phase 3 normal response may be returned for the write portion of the command and a phase 0 error response returned later for the Invite portion of the command. ' - - - - - - - - - - 1 = e r r o r response O=normal response BTU Response, 223 Command & Modifier I Ib 1m It Id Phase 0* Error Any part Any part Any part Any part Any part Any part IIp 0 De Oi Any part Any part Any part Any part Dei Any part W Wm Wt Wd Wi Wr We Wcm Wet Wed Wer R Rb Rm Rt Rd Ri Any part C Any part Any part Any part Any part Any part Any part Any part Any part Any part Any part Any part Any part Any part Any part Any part Any part Any part Ph ... , Error Normal I I I I I I I 0 0 011 Oil W W W W W/I W I I I I I Normal Phase 3** Normal I(fina\) Ib 1m It Id 0 0 l- lor R Itor Rt I I 0 De O/l(lin_l) OIHfinal) I C/W C/W C/W C/W C/W R R R R R R/I Phase 2 Error Wt 0 0 Wt/R Wt/R Wt 0 wt/R Wc/R R R R R R/I 0 0 C ( W Wm Wt Wd Wd/l(lina\) R (Iinal) We Wem Wet Wed R(fina\) R(fina\) R(fina\) Rm Rt Rd 'Rd/l(fina\) C ·Phase 0 error responses can be returned for any portion of a BTU on which there is a validity error. "There are no phase 3 error responses for TP commands. ( 224 3704 and 3705 Program Reference Handbcok Phase 0 Error Responses Response (hex) 81 82 83 84 85 86 87 88 89 8A 88 8C 80 8E 8F 91 92 93 94 95 96 97 98 99 9A 98 9C 90 9E Meaning Invalid resource 10. Invalid command. Invalid modifier. Reset or Deactivate in progress. Device inactive. Line inactive. Command not valid for resource. Command syntax error. Command rejected, did not conform to Bse specifications. Invalid control data length. Reset not performed. Data not resident in storage. Dial set queue limit reached. Une and device incompatibility on switched call-out. Invalid text length. Invalid control data. Incomplete BTU. Deactivate Line Orderly or Deactivate Device command rejected because of error on one or more of the devices. Data in use. Invalid Control command modifier or Control command not valid for resource. OLTT command rejected, queue not empty. OLT active. Non-OLT command rejected. Multiple Dial requests. Mode inconsistency (Request was made to alter the mode of a resource, but the resource was already in that mode.) Buffers required to complete the operation are not available; system in slowdown mode. Command rejected. system in auto network shutdown. Command rejected, error lock set. Command rejected, secondary channel adapter not operative. Command rejected, line deactivated or command reset. Phase 0 Unsolicited Responses Response (hex) 00 01 03 04 (.,j 05 06 07 08 09 OA 18 lC 10 IE .Meaning Invalid bit configuration. Anention time-out or unrecoverable error on current primary channel adapter. Device association completed. MTA device identified. Channel adapter set to primary mode. Channel adapter set to secondary mode. Entering system slowdown. Leaving system slowdown. Initialization complete. MDR records accompany the BTU. Auto network shutdown initiated via channel time-out or channel adapter failure. Auto network shutdown initiated via panel. Network shut down via auto network shutdown. Serviceability aid-host /09gin9 .. .", BTU Responses 225 Phase 1, 2, and 3 error Responses Response (hex) Phase 3 Phase 1 Pha.. 2 AO A1 A2 A3 A4 AS A6 A7 A8 A9 AA AB AC CO C1 C2 C3 C4 C5 C6 C7 C8 EO E1 E2 E3 E4 E5 E6 E7 E8 C9 CA CB E9 EA EB CC B3 B8 B9 BA D3 D8 D9 DA EC F3 F8 F9 FA BE DE FE Phase 1 2 and 3 Normal Responses Response (hex) Phase 1 Phase 2 Pha.. 3 20 40 60 21 22 41 42 61 62 23 24 25 26 27 43 44 45 46 47 63 64 '65 66 67 Meaning Data check. Possible intervention required. Intervention required. Negative poll limit reached-WAIT option. Yielded to contention. Device error-SSe status pending. sse ID error. Line trace terminated-due to error. OL TT command or Reset OLTT Control command processing terminated. Session not started due to hardware error. BSC error status message. General poll operation aborted due to error. Fanout backup limit exceeded Not used Disconnected Break received on this block. Contact rejected-session started. Dial data inconsistency. Buffers required to complete operation are not available. Command rejected, line deactivated or command reset. Meaning Command executed OK this far. (Pertains to all commands not represented by 22,42, or 62.) Leading graphics received. One of the following commands executed OK this far: • Read or Invite • Write (in conversational mode). • WR or WCR commands in the read phase. Negative poll limit reae.hed-QUEUE option. OLTT request message. sse status message. Negative poll limit reached-NOWAIT option. Line trace output. The following responses occur when the line is in monitor mode: Response Meaning (Hex) EC ED EE EF 226 Disconnect received IPL required Permanent trunk error Block from queue caused an abnormal condition. 3704 and 3705 Program Reference Handbook Extended Response Byte The extended response byte contains either a normal extended response or a conditional extended response. The normal extended response appears in both BCULRES and the second byte of IOBSTAT. It has the following format. 0000 0000 ~ LI------Leading graphics flag L - - - - - - - - - - F i n a l status of the line T Initial status gf the line A conditional extended response applies to one specific system response and does not have a fixed format. It appears only in BCULRES. Extended Responses Initial Status Control mode. Text mode. Transparent text mode (BSe only). Heading mode (SSe only). Special. Hardware/user error. Normal Final Status when Intial Status =Control, Text, Transparent Text, or Heading 000. 001. 010. 011 . 100. 111 . ...0000. ... 0 010. ... 0 OIL ...0100 . ...0 101 . ...0 110. ... 0 111. ... 1 ... 1 ... 1 ... 1 000 . 001 . 010. 011 . ... 1 100 . ... 1 1Ol. .. 1 110 . ... 1 111 . Time-out - Some character(s) have been received, but may not be stored (Control mode). Cutoff - This -bit tndicates "that a controlled length field (for example, an to field) was too long and was cut off at the end of the correct length . Reply to transmitted data was an ENO - transmission is aborted.· An EDT was received on a block that began without an STX, SOH, or @ • ie., text received in control mode. End of DLE control (SSC only). Wrong ACK - ACK1 received when ACKO was expected, or ACKO was received when ACK 1 was expected. For start-stop, NAK returned in response to a selection, poll, write, or NAK reply to text. For sse, an EOT returned in response to a selection, poll, or write. Received sub-block. End of text. End of block . Data or leading graphics received with an ENQ. or ENO by itself. EDT received with no errors. Reverse interrupt. Positive ACK returned and no errors indicated on a write operation. WACK received (could be an error condition). BTU Responses 227 Final Status when Initial Status =Special ...0000. Time-out with nothing received . Command reject - should not occur error - set by the ...0001. communications scanner code. Level 2 .and level 3 buffer pools depleted - level 5 may still · ..0010. have buffers left. When this bit is on, data is lost. ... 0011. Selected (BSC tributary only). Received disconnect signal on TWX or DLE/EOT on · ..0 100. BSC. · ..0 ...0 ...0 · .. 1 ... 1 101. 110. Ill. 000 . 001. ... 1 010. ... 1 011. ... 1 ... 1 ... 1 ... 1 100. 101. 110. 111. Data was received when it was not expected. A reset occurred . The device has been polled . Transmitted sub-block (NCP2, NCP#). An EDT was sent after a specified number of WACKs were received in response to a request or operation . Received break in text (two consecutive stop·bit errors). The last two characters stored are invalid. They may be incorrect length control characters or all spaces . Polling stop - Device was polled to the polling limit and responded negatively, or a Read Initial with a single polling modifier was directed to a polled line . EOT transmitted. Received a break signal while transmitting. Disconnected . Connected . Final Status when Initial Status:: Hardware/User Error User error (MTA support), normally indicates an incorrect NCP generation. · ..0010. Level 1 communication scanner check. Communications line adapter check-Occurs whenever a level ...0 100. 2 interrupt (not dependent on an external source) is expected and not received. For example, after starting to transmit, a level 2 interrupt is expected. If none is returned, the internal clock should be suspected of not working properly. Communications scanner adapter feedback check. (Signaled ... 0 101. when LCP goes to 'F'.) ...0 110. Equipment check . ... 1 000. MOdem error - Comes on with the modem check bit in the SCF field of the ICW. Not used for single current telegraph . ... 1 001. Modem transmit clock or clear-to-send error - Comes on when in the transmit mode and the first character cannot be transmitted. Indicates an external clock error. ... 1 010. DSR-on check - For leased lines, comes on if data-set-ready doesn't come up within three seconds after data-terminalready. ... 1 100. DSR-off check - For switched lines, comes on if data-setready doesn't drop within three seconds of data-terminalready . ... 1 110. ACU check - No response was received from an ACU when one was expected. If this bit is on, check that the NCP generation parameter that sets the autocall timeout contains a greater value than the timeout duration in the ACU . ... 11111 Program failure. Leading Graphics Flag .... ... 1 Leading graphics received . / I: 228 3704 and 3705 Program Reference Handbook Conditional Extended Responses X'82' X'83' X'84' X'EO' X'El' Extended Response when System Response == X'9F' Change-speed command is invalid for the line_ Specified line is unavailable. Error lock. Switch-line-mode command was received but line not generated as mode-switch able. Switch-line-mode command was received but a command is already executing on the line or line trace is active on the line. BTU Responses 229 Section 8: NCP# Exception Responses Exception responses are identified by RH byte 0, bit 5. If this bit is on, the RU is displaced four bytes to make room for sense data. The first two bytes (bytes 0 and 1) contain the exception response code. The second two bytes (bytes 3 and 4) contain user-specified sense information. Exception Response Code X'OO64' X'0065' X'0801' X'OS05' X'OSOS' X'OS09' X'080A' X'OBOC' X'0812' X'OS13' X'0814' X'0815' X'OSlS' X'OS17' X'OSlS' X'OSlA' X'OSlC' X'OS20' X'OS21' X'OS22' X'lOOl' X'l002' X'lOO3' X'lOOl' X'2001' X'2003' X'2005' X'400S' X'4008' X'SOO2' X'80Q4' X'SOO5' X'9008' X'SOOl' X'SOOC' X'SOOO' Meaning User sense data: invalid BSe device. User sense data: inactive BSe device. Request reject: resource not available. Request reject: session limit exceeded. Request reject: resource unknown. Request reject: mode inconsistency. Request reject: permission rejected. Request reject: function not supported. Request reject: insufficient resource. Request reject: bracket bid reject. Request reject: physical unit not active. Request reject: function active. Request reject: function inactive. Request reject: link inactive. Request reject: link procedure in progress. Request reject: sequence error. Request reject: function not executable. Request reject: control vector error. Request reject: inval id session parameters. Request reject: link procedure failure. Request error: RU data error. Request error: RU length error. Request error: function not supported. Request error: category not supported. State error: sequence number. State error: bracket. State error: data traffic not started. RH error: exception not allowed. RH error: pacing not supported. Path error: link failure. Path error: unrecognized OAF. Path error: no session. Path error: invalid FID. Path error: segmentation not supported. Path error: OCF error. Path error: lost contact. NCP# Exception Responses 231 f\ Section 9: 3704 and 3705 Instruction Sat Store Character and Count Format Code RR RR RR RI RR RR RR RI RT RA RR RT RT RT RT RR RR RR RI RR RR RR RI EXIT RE RS RSA RS RA RR RR RS RR RR RR RI RR RR RR RR RI RE RS RS RSA Store Halfward RS Subtract Character Register Subtract Halfword Register Subtract Register Subtract Register Immediate Test Register Under Mask RR RR RR RI RI Instruction Add Character Register ~ Add Add Add And Halfword Register Register Register Immediate Character Register And Halfword Register And Register And Register Immediate Branch Branch and Link Branch and Link Register Branch on Bit Branch on Count Branch on C Latch Branch on Z Latch Compare Character Register Compare Halfword Register Compare Register Compare Register Immediate :.) Exclusive Or Character RegKter Exclusive Or Halfword Register Exclusive Or Register Exclusive Or Register Immediate Exit tnput Insert Character Insert Character and Count Load Load Address Load Character Register load Character with Offset Reg. load Hallward Load Halfword Register load Hallward with Offset Reg. Load Register load Register Immediate Load with Offset Register Or Character Register Or Halfward Register Or Register C Or Register Immediate Output Store Store Character Mnemonic Operand Field Format ACR AHR AR ARI NCR NHR NR NRI B BAl BAlR BB BCT BCl BZl CCR CHR CR CRI XCR XHR XR XRI EXIT IN IC ICT l LA lCR lCDR lH lHR lHDR lR lRI lOR OCR DHR DR DRI OUT ST STC STCT STH SCR SHR SR SRI TRM R1(NlI.R2(N21 Rl,R2 Rl,R2 R(Nl.l R1(N),R2(N21 Rl,R2 Rl,R2 R(NI,1 T R.A Rl,R2 R(N,MI,T R(NI,T T T R1(Nll,R2(N21 Rl,R2 Rl,R2 R(NI.1 Rl (Nll,R2(N21 Rl,R2 Rl,R2 R(NI,1 R,E R(NI.D(B) R(NI,B R,D(BI R,A R1(Nl),R2(N21 R1(Nll,R2(N21 R,D(B) Rl,R2 Rl,R2 Rl,R2 R(NI,1 Rl,R2 R1(NlI,R2(N21 Rl,R2 Rl,R2 R(N),1 R,E R,D(Bl R(NI,D(B) R(NI,B R,D(BI R 1(Nll,R2(N21. Rl,R2 Rl,R2 R(N),1 R(NI,1 3704 and 3705 1nstruction Set 233 3704 and 3705 Instruction Decode These charts may be used to decode the four digit hexadecimal repritSentation of a 3704 and 3705 machine instruction. Use the chart as foHows: (1) (2) Locate the first digit (01) of the instruction in hex in the column of numbers on the left side of Table I. Locate the second digit of the instruction in the row of numbers at the top of (3) ~~b~~ !i.e intersection of the column and row represented by the two numbers. ~ j ji.- " You will find either the mnemonic or a reference to Tabje II, Table III, or Table IV. Tables 11 .and 1V require that you kx:ate digit three (Da) only of the instruction in the row of digits at the top of each chart. Follow the instructions for Table I to use Table III, substituting digit three (oa) and digit four (04). Table I (02) o 1 234 5 6 7 8 9 A 8 C 0 E F 1 3 Table III A LRI ARI SRI E CRI XRI ORI NRI F TRM B C o Table II BZL BCL B Table IV BB f\ (03) o 1 2 3 4 6 7 8 9 ABC 0 E IC 234 3704 and 3705 Pr09ram Reference Handbook STC c; &:: (, Table III 3 4 8 103) 0) * Ir;cr II BAlR lH l lH lH l lH ~ Co U ~ :;- S T H S T S T H S T H !r ~ '"~ lH lH l lH S T S T S T H I N S T S T H ~ rcR- fxR ~ 'NR S T S T H S T H H t-coR lHOR Table IV !'i c !l l ~ AR T :1 NHR ,l lH I lCOR 0 IllHR ~ ~ txcR ~ , * !:I E IOCR , ~I;~: BCD ~~: rscR ,r---- }I CHR ;1 XHR }IOHR • ( A I ,r.-;1 STCT c 1°3) o 4 IBAlJ:j..lAT* I EXITI Four Bytes *Oenotes invalid operation. A C BCT D Section 10. Input/Output (External) Register Functions INPUT REGISTERS .F.unction Registe, (Hex) Type 1 Scanner 40 Type 2 Scanner Interface address. Unused. Interface address. Unused. 44 Control A. Contr.ol-B. C. Status. Unused, Check register. lew input register 0-15. 45 46 47 Unused. Unused, Unused. ICW input register 16-31. Display register. ICW input register 3245. 41 42 43 Type 3 Scanner 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4E Interface address High speed select DBAR/Check registerO Check register ICW byte 0 and 'PDF array lew bytes 2 and 3·LCOIPCF/SOF Display register ICW bytes 4 and 5 lew bytes 6 and 7-Cycle steal control ICW bytes 8 and 9-Cycte steal address ICW bytes 10 and 1'·BCC lew byte .16'Extended PCF PDF array bits 0-10 lew bytes 12 and l3·PDF array controt Type 2 CA 50 51 52 INCWAR OUTCWAR Control word byte count. 53 Sense register. Status register. 54 55 56 57 Control register. 58 5C Channel bus out diagnostic register. Cycle steal address register. Channel adapter data buffer. Channel tag diagnostic register. Command register. 50 5E Unused. 59 5A 5B Check register. Unused. Unu~. Type 1/4 CA 60 61 62 63 64 65 66 67 Initial selection control. Initial selection address and command. Data/status control. Address and ESC status. Data buffer bytes 1 and 2. Data buffer bytes 3 and 4. NSC status byte. Control. InputlOutput (External) Register Functions 237 INPUT REGISTERS (cont) Function .Rogister (Hex) Diskette 68 69 6A Level 1 status. 'Level 3 status . . Parallel data register placed on INBUS. 68 IPL information. 70 71 72 73 74 76 Storage size installed. PaneJ A address/data bits. Panel display function select switch controls. I nsert storage protection key. Lagging address register (LAR). Adapter levell interrupt request. 77 Adapter level 2 or 3 interrupt request. CCU 79 78 7C 70 7E 7F ( Utility. sse CRe register. SOLe CRe register CCU check register. CCU level 1 interrl.!pt request. CCU level 2.3, or 4 interrupt request. ( 238 3704 and 3705 Program Reference Handbook OUTPUT REGISTERS Function RegistBr (Hex) 40 Type 1 Scanner Set Mode bit override and override Type 2 Scanner Interface address. remember. 41 42 43 44 45 46 47 40 41 42 43 44 45 46 47 48 49 4A 4C Start scanner and reset L2 bit service request. Control A. Address substitution control. Control B. Control. General control. Scanner control. ICWO·15. ICW 16·23. Set character service pending, start scanner, reset L2 bit request. Force bit service l2 request. Type 3 Scanner ICW 24·33,44. ICW 34-43. Upper $Can limit control. ABAR loader Substitution control loader DBARIScan limits Control SCF/PDF LCD/PCF/EPCF SDF Miscellaneous ICW bits Cycle steal control and byte count Cycle steal address register Block check character (BCC) PDF array 40 ICW cycle steal PDF. (SDLC) 4E 4f. Cycle stealIPDF pointers-lew control Status bytes 50 51 INCWAR. OUTCWAR. 53 Sense register. Status register. Control register. Type 2CA 54 55 56 Reset control register bits. 57 58 SA 5B Channel Channel Channel Channel 60 62 63 64 65 66 67 Reset initial selection. Data status control. Address and ESC status. Data buffer bytes 1 and 2. Data buffer bytes 3 and 4. NSC status byte. Control. adapter mode register. bus out diagnostic register. adapter data buffer. tag diagnostic register. Type 1/4CA Input!Output (Externaf) Register Functions 239 OUTPUT REGISTERS (cont~ Function Register (Hex) Diskette 68 69 Control-arm. SA Parallel data register placed on OUTBUS. 68 IPL Information. 70 71 72 73 77 78 79 7C 70 7E 7F Hard stop. Display regi.ster 1. Control-ReadlWrite~ CCU Display r:egister. 2. Set1cey. Miscellaneous Control. Force CCU checks. Utility. Set PCI L3. Set PCI L4. Set mask bits. Reset mask bits. ( 240 3704 and 3705 Program Reference Hendbook SlIi:tion 10.1 Modem Leads INPUT REGISTER X'46' contains the modem leads. Byte 0, Bit 0 BIt 1 Bit 2 Bit 3 Bit4 Bit 5 Bit 6 Bit7 Byte 1, Bit 0 Bit 1 Bit2 Bit3 8it4 Bit 5 Bit6 8it7 Data Line Autocall Clear to Send Ring Indicator Data Set Ready Receive Line Signal Receive Data Bit Buffer Oiitwlostic Wrap Mode Bit Service Request Abandon Can and Retry Present Next Digit Data Line Occupied Power Indicator Zero (reserved) Call Originating Status Bit Service Request Zero (reserved) Zero (reserved) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 InputlOutput (External) Register Functions 241 Section 11. Interface Control Word (ICW) "Type 2 Scanner" OUTPUT X'44' ~ 0 INPUTX'44' 0 47 " Flags * All bits in the PCF are reset to zero with power-on reset .. ** Also sets bit 44. :.i IQ'V Field D~initions SCF Bit 0 Stop bit check/receive break/abort (SOLe) 1 2 Service request 3 4 5 6 7 Character overrun/underrun Modem check Receive line signal detector flag detection/disable zero-insert remembrance (SOLe) Program flag Pad flag/disable zero-insert control (SOlC) PDF Autocall Interface Bit 4 5 6 7 ." LCD Hex 0 1 2 3 4 5 6 7 8 W Digit NBR 8 Digit NBR 4 Digit NBR 2 Digit NBR 1 9 A 8 C D E F 559/6 558/5 Autocall 55917 55 1017 55 10/8 55 11/8 SOLe monitor for flag SOLC 8--bit byte-length" Reserved Reserved 65CEBCOIC BSCASCII Reserved Feedbeck check Interface Control Word (lCW) 243 lCW Field Definitions (Con't.) PCF Start/Stop Line Interface Hex No-op Set mode Monitor DSR on Monitor R I/DSR on Unused Unused Receive Transmit initial Transmit .normaJ Transmit break Prepare to turn Transmit turn, request-to-send off Transmit turn, request-to-send on Unused Disable PCF sse Line Interface Hex No-op Set mode Monitor DSR on Monitor R I/OSR on Monitor phase, DSR check off Monitor phase, DSR check on Receive in phase Transmit initial Transmit normal Transmit with new sync Unused Transmit turn. request-to-send off Transmit turn, request-ta-send on Unused Disable PCF Autocallinterface Hex • 0 L:i '--------F No-op Monitor call unit, ACR COS PND Monitor .call unit, ACR COS Digit valid Disable SDF Autocall -Interface Bit 24 25 26 27 28 29 30 31 32 33 244 Interrupt remember Power indicator (PWI) Call request (CRO) Data Line occupied (DLO) Present next digit (PND) Digit present (DPR) Call originate status (COS)/Data set status (DSS) Abandon call and retry (ACRI Unused Unused 3704 and '3705 Program Reference Handbook ~, ~ lew Field Definitions (Con't.) PCF Synchronous Data Link Control Interface Hex Ir~: x CTSe;: ~ . NotCTS I Not OSR • Not R LSD NO·OP. Set mode. Monitor data set ready on. Monitor ring indicator or data set ready on. Monitor flag-block DSR error. Monitor flag-allow DSR error. Receive information-inhibit data interrupts. Receive information-allow data interrupts. Transmit initial. Transmit normal. Transmit normal with new sync. ACB Not used. o Transmit turnaround-request to send off. Transmit end-request to send on. Not used. ~ Disable. x = Level 2 interrupt. *EBCDIC or USASCII SYNC character received. (LCO=9 only). **Tag nonflag character. Interface Control Word (leW) 245 ICW Field Definitions (Con't.) SOF Set Mode Line Interface Bit 24 25 26 Unused Unused Unused 27 Diagnostic wrap mode. 28 29 Set/reset data terminal ready. 30 31 32 33 Sync bit clock. External clock. Data rate select. Oscillator select bit 1. Oscillator select bit 2. Flags Bit *34·36 *37 *38 39·40 Ones counter (SOLe) Last line state (SOLC) Display request. Reserved. *41 42 Priority 1. 43 Priority 2. 44 4547 NRZI flag. Parity Level 2 interrupt pending. ·These bits are reset to zero with power·on reset. 246 3704 and 3705 Program Reference Handbook. Type 3 Scanner "'See field definitions ...... Part of PDF array ICW Field Definitions Byte 0 SCF (Secondary Control Field) Bit o Abort detect (SD Le) 1 2 Service request 3 Modem check Not level 2 bid End of message Program flag 4 5 6 7 Character overrun/underrun Byte 1 POF-Dial Bit 4 5 6 7 Digit Digit Digit Digit lead lead lead lead 8 4 2 1 Trace Interface Control Word (lCW) 247 Byte 2 LCD (Line Control Definer) Hex 0/8 Reserved 1/9 SDLCS 2/A Reserved 3/B Dial 4/C EBCDIC 5/0 USASCII 6/E Reserved 7/F Disable PCF/EPCF (SOLe) - (Primary Control Field/Extended Primary Control Field) Hex/Hex r§~j: -=2/- Dcs: 3/- '.rtl~ == L_ L_ -~ 6/3 === 6/4 r= r-:;:: t= - __ t==_ -"-_c:::: 7/3 7/4 No-op Set mode Monitor DSR on Monitor RI/DSR on Monitor flag, not DSR error Monitor flag, DRS error Receive flags Receive address Receive control Receive 01&02 Receive abort 7/5 Receive data End flag 7/C Receive idle Receive diagnostic 1 Transmit initial '-1: 7/7 Lr:c:; ~j~ ~=E~j~ CE--S ~;~ '-----=9/7 9/C A/B/C/0/- E/F/- Transmit pad Transmit clock Transmit flag Transmit abort Transmit data Transmit end flags Transmit Bce Transmit idle Transmit Transmit Transmit Reserved Reserved Transmit Disable diagnostic 1 initial with new sync pad with new sync continuous *Conditional interrupt 248 3704 and 3705 Program Reference Handbook PCF IEPCF (SSC) Hex/Hex r-~i: ...--t::: 2/x 3/' - - - - 4/0 ~c=-··r~==--i§ i;~ tc~~g§ No-op Set mode Monitor Monitor Monitor Monitor DSR on R I/OSR on 0, not DSR error 0, DSR error Character phase Reserved Receive lead, graphic Receive control sequence Receive Receive Receive Receive Receive text end sequence BCe sync idle diagnostic 1 7/C -c:;: 8/0 Transmit initial Transmit pad ,-c:;:9/0 L~=~~ Transmit clock sync Transmit sync Transmit control Transmit text Transmit end sequence Transmit -~=~9/6 Transmit Bee L -_ _ _ _ _ _ _ _._ ~~ pad Insert sync idle ~.9/C Transmit diagnostic 1 A/- Transmit initial with new sync B/- Transmit pad with new sync C/- Reserved 0/- Reserved X= L2 E/- Transmit continuous L -_ _ _ _ _ _ _ _ _ _ _ F/Disable C_ c::; 9/3 kFt==g~i: *Conditional interrupt PCF-Dial Hex/Hex ir--'-~"~O/- X I No-op .---4/- Monitor call unit ACR/COS PND 51'---8/- Monitor call unit ACR/COS Digit valid X L---F/_ Disable Byte 3-Byte 4 SDF Set Mode BytelBit 3/0 NRZI control-Set ICW 5/4 3/1 Diagnostic O-Set ICW 5/5 3/2 Diagnostic l-Set ICW 5/6 3/3 Une address diagnostic wrap 3/4 Data terminal ready 3/5 Synchronous clock 3/6 3/7 External clock set-5et Data rate select 4/0 Oscillator select 1 Oscillator select 2 4/1 lew sn Interface Control Word (ICW) 249 SDF Dial Byte/Bit 3/0 I nterrupt remember 3/1 3/2 3/3 Power indicator (PWI) Call request (CRO) Data Line occupied (DLD) 3/4 Present next digit (PND) 3/5 Digit Present (DPR) 3/6 Call originate status (COS) 3/7 Abandon call and retrv (ACR) Byte 4 (oontinued) Bit 2 Ones count-4 3 4 Ones oount-2 Ones count-1 5 Last line state (SDLC) Time.-out control (SSC) 6 Display request 7 Ones count-8 Byte 5 Bit o 1 2 Ones count-16 Level 2 interrupt pending Priority bit 1 3 4 5 6 7 Priority bit 2 NRZI control (Set bV SDF Set Mode) Diagnostic 0 (Sot bV SDF Set Mode) Diagnostic 1 (Set bV SDF Set Mode) External Clock (Set bV SDF Set Mode) Byte 6 Bit 0-3 4 Cycle steal address byte ETB,ETX, or ENO in data 5 6 7 Cycle steal valid Data chain flag Reserved , Byte 7 Cycle steal byte count Byte 8 Cycle steal Address byte 0 Byte 9 Cycle steal address byte 1 Byte 10 Byte Count Character (BCC) 1 Byto 11 Byte Count Character (BCC) 2 Byte 12 B~ 0-3 4-7 250 Cycle steal-PDF array address PDF-l-arrayaddress 3704 and 3705 Program Reference Handbook Byte 13 Bit o Sequence 0 1 2 3 Sequence 1 RTS turn control 4 5 6 7 "" Sequence 2 Reserved Reserved Cycle steal message count field Cycle steal message count field Byte 14 (BSC) Bit o Received line signal detect 1 2 Format exception Inhibit store of data in PDF·' 3 4 Data check Bad pad flag 5 6 ACR expected Leading D LE error 7 Length check Byte 14 (SOLC) Bit o 1 Received line signal detect Idle detect 3 4 Data check Flag off boundary 5 Reserved 6 Lead ing D LE error 7 Length check Byte 15 (BSC) Bit 0..2 3.6 Initial status field Final status field 7 Leading graphics Byte 15 (SO LC) Bit o 1 2 Control exception-received non-information frame Reserved Reserved 3 Program requested interrupt on line idle detect or flag 4 5 Aher transmission. if no turn: Reserved l=Transmit flag O=Transmit idle Transmit pad before line turn Line turn after transmission Byte 16 Bit o 2 New sync Data terminal ready (Set by SDF Set Mode-) OLTT Diagnostic 4-7 Extended PCF 1 Interface Control Word (lCW) 251 { \(. . ..,fj Section 12, NCP and PEP Abend and EP Hardstop Codes When an error that causes an abend (abnormal terminationl occurs, the supervisor's abend processor (CXAABND) posts an abend code in halfword direct addressable storage location X'760'. Locating the abend code in the dump gives some insight into the reason for tlle abnormal termination. The abend code appears in Display A on the panel if it is set to Function 6. If the condition causing the abend is detected in levell, the contents of external register X'74' (LAR) are stored at location X'7BC' and the contents of external register X'79' are stored at location X'6AS'. These two registers indicate the address of the failing instruction and the program level that was executing when level 1 was entered. The first byte of the abend code- indicates which portion of the NCP detected the error. The second byte indicates the specific error that was detected. Errors Detected by I/O Initiation Request, SVC Decoding, or a Level 1 Interrupt Handling Routine (Byte 0 '" X'OO') X'OOOl' X'OO02' X'OOO3' X'OOO4' X'OOOS' X'OOOS' X'OOO1' X'OOOS' X'OO09' X'OOOA' X'OOOO' X'OOOE' X'OOOF' X'OOlO' X'OOl1 , X'OO12' X'OO13' X'OO14' . . . , X'OO15' X'OOlS' X'OO1l' An invalid SVC code was executed. A protection exception occurred. An XIO macro to a communication line specified an invalid aca address. An XIO macro to the channel specified a BCU containing invalid chain pointers. An XIO macro to the channel specified a BCU containing too much text (more than can ever be transferred with a single host. read operation). An XIO macro to the channel specified a BCU enqueued to a system queue. An XIO macro to the channel was used while a task was still waiting on the ECB in the first buffer of the BCU. An XIO macro to the channel specified a BCU in which at least one buffer had too large a text count field in the buffer prefix. An addressing exception occurred. An input/output instruction exception occurred, and retry was not possible. An instruction attempted to branch to storage location X'OOOO'. A program check occurred in levell. An XIO macro to the link specified an invalid address. (NCP#). A level 3 channel adapter interrupt occurred while the channel adapter was active, but the command register (X'56') did not indicate a Read, Write, or Write Break command (type 2 CA only). A level 3 channel adapter interrupt for a host Write or Write Break occurred, and neither zero count override nor channel stop was indicated. One of these conditions should be present for every host Write operation. An initial selection sequence on a type 1 channel adapter was undefined. An outbound BTU had an invalid chain field. A data/status sequence on a type 1 channel adapter was undefined. An XIO to the channel specified a BCU address outside the buffer pool. A_n XPOAT macro specified an invalid buffer address. (NCP#). A level 1 channel adapter error occurred with a type 1 CA (NCP1, 2). A level 1 channel adapter error occurred and the channel save chain was active with a type 2 CA (NCP1, 2). An unrecoverable_level 1 channel adapter check has occurred in a type 2 type 3 CA, (NCP#), Of X'OOlB' Zero count override was detected on a host read operation. NCP/PEB ABEND and EP Hardstop Codes 253 An initial IN ON did not have the zero count override flag set for channel 1/0. The retry limit for an input or output instruction was exceeded. The prowam attempted to execute an invalid operation code. The program attempted to switch channel adapters via an XIO macro when the logic is not generated into the NCP. X1lO1D' The program attempted to use an XIO macro for a busy communication line. X'OJ1 E' More than one XIO macro was outstanding for the same BCU. X'OO1 F' An XIO macro to the channel specified an invalid BTU text count. X1lO2Q' The INCWAR in a type 2 channel adapter was incorrect {hardware error}. X'OO21' The access method pad size is larger than the host buffer unit size. Outbound data pointers incorrect, program error. (NCP#}. X'0022' X'0023' Invalid PIU address issued to channel. (NCP#). X'D024' Out CW execution failure, hardware error. (NCP#). X'D025' Level 3 is not in initial selection or data status for type 1/4 channel adapter. X'0026' Attention delay PIU counter overflow or under flow. X'0027' Attention presented with intermediate queue empty. (Program error). X'D02B' UIBLBBA is equal to zero. (Program error). X1lO2Q' Dlannel interface is disabled while the NCP is active. X'OO2A' During initialization a level 3 was not pending on the channel adapter that is being loaded across. X'002B' During initialization, a level 3 is pending on a channel adapter which SYSG ENd inactive. X'OO2C' During initialization, a channel adapter which has been SYSGENd inactive can not be interface disabled within a reasonable time. Manual intervention may be required. EP HardstoplPEP Abend Codes X'OO3O' Scanner address exception. (EP only). X'OO31' l1 scanner ERP - Scanner error occurred during ERP. X'D032' L1 scanner ERP - Unable to recover from CCU outbus check. Unable to locate the failing output X'4x' instruction. X'D033' LI CA ERP· Unable to select the failing channeladepter. L I CA ERP· 1/0 exception check. (EP only). X'OO34' X'OO35' L1 CA ERP - Channel Adapter error occurred during ERP. X'D038' LI CA ERp· Unable to recover from CCU outbus check. Unable to locate the fai!ing output X~6x' instruction. X'OO37' L I CA ERp· CCII outbus check did not occur on L2 or L3. X·OO38' Initialization - CCU interrupt request detected. X'0039' l1 CCU ERP - l5 issued an In or out instruction. X'OO3A' Initielization· Adopter check detected. X'OO3B' l1 CCU ERP - Unable to recover from inbus parTty check. Unable to locate retry point for input X'6C'. X'D03C' LI CA ERP • Unable to recover from CCU outbus check. Unable to locate retry point for output X'6C'. X'D03D' LI ERP· LI errorratethreshoklexc:eeded. X'D03E' L1 CCU ERP - Program check. (EP only). X'003F' LI ERP· Unable to determine interrupted level. X'OO4O' L3 interrupt from PEP and CA not system generated. Errors Detected by Task MaMgement (Byte 0 = X'OI') )('Ot02' A TRIGGER macro specified an invalid aCB. X'0104' A reentrant CALL macro specified a non-reentrant subroutine, 01' a level 5 task issued a reentrant CAll macro to code that is not a subroutine. X'OI05' A level 5 task used a non·reentrant CALL macro when either the calling task or the caUed subroutine was reentrant. X'OO19' X'OOIA' X'DOIB' X'OO1C' 254 3704 and 3705 Program Refer_ Handbook t· - ( X'0107' X'010S' : t<'0109' 1W'X'OIOC' A BHR attempted to use a QPOST macro. A SETIME macro specified an interval greater than 431 200 seconds. A BHR attempted to use the QPOST operand on a SYSXIT macro. A task attempted to use a SYSXIT macro while save area(s) were still allocated to its queue control block. X'0100' X'010E' A COPYPIU macro specified an RU count too hi~. (NCP#). A QPOST macro specified an invalid ace address. X'010F' X'OIII' A TPPOST macro specified a BCU with an invalid resource 10. W;'0112' X'OII3' X'0114' X'OIIS' A TPPOST macro specified an invalid BCU address (address low). A TPPOST macro specified an invalid BCU address (address high). A COPYPIU macro specified an invalid old buffer address (address low). (NCP3). A COPYBCU macro specified an invalid old buffer address. A COPYPIU macro specified an invalid new buffer address (address low). (NCP3). X'OIIS' J'OI17' X'OIIS' A COPYBCU macro specified an invalid new buffer address (address hi~). A task attempted to use an EXECBHR macro when the point 3 SHR queue was empty. A user BHR dequeued a BCU and failed to return it to the queue (via an INSERT macro) prior to the execution of an IBM BHR. X'0119' A BHR attempted to use an EXECBHR macro. X'OI20' A dynamic save area pool was incorrectly structured. X'0121' X'0122' X'0129' A SETIME macro specified an ECB address outside the buffer pool. X'0120' X'OI30' X'0131' A SETIME macro specified an invalid OCB address. A CHAP macro specified an invalid QCB address. A task attempted a reentrant return when no save area was currently allocated to the task. A POST macro specified an ECa whose status was already Ilevent completeu • A task attempted to change the dispatching priority of a weiting acB to APPNOG. Erron OOlllCted by Queue Management (Byte 0 - X'02'1 X'0201' An ENQUE macro specified an element that was already enqueued. X'0202' X'0203' 'JX'0204' X'020S· X'0208' X'0207' An INSERT macro specifiad an element that was already enqueued. An EXTRACT macro specified the same address for the QCB and the positional element. Unassigned. An INSERT macro specified an element at the end of a queue. An INSERT macro specified the same address for the element to be inserted and the element after which it was to be inserted. An INSERT macro specified the same address for the element to be inserted and the QCB governing the queue. An ENQUEUE macro specified the same address for the element to be enqueued and the QCB governing the queue. A BHR attempted to use an ENQUE rnaa'o specifying an active queue comrol block. X·0210' '-I An ENQUE macro specified an element outside the buffer pool. X'0211· An INSERT macro specified an element outside the buffer pool (positional X'0212' element). An INSERT macro specified an element outside the buffer pool (insertion element). X'0213· An EXTRACT macro specified an element outside the buffer pool (positional X·0214' element). Unassigned. NCPIPEP ABEND and EP Hardstop Cod.. 2SS X'0216' An AOVAN macro specified an element ouUide the buffer pool (positional element). A OEaUE macro specified an invalid QCB address. An ENQUE macro spectfied an invalid aCB address. A POINT macro specifted an invalid QCS address. An INSERT macro specified an invalid QCB add",ss. An INSERT macro specified the active QCB. X'021 B' An ENQUE macro attempted to enqueue the active acS. Errors 0 . _ by Buffer _agament IBVIII 0 = XW') X'03OI' A CHAIN macro specified a buffer that wa. .lreadv chained. X'0302' A CHAIN macro specified the same address for the buffer to be chained .nd the buffer to which it was to be chained. X'0304' A RELEASE macro specified. BCU containing more buffers than the $Vstem limit on buffers per BCU. A RELEASE macro specified a BCU enqueued to a system queue. X'03OB' X'0216' X'0217' X'02IB' X'0219' X'02IA' X'0307' The BCU specified in a RELEASE macro had;l task still waiting on iU event X'03OA' control block. A LEASE macro specified a buffer count too high. X'03OF' X'03IO' X'03II' X'0312' X'0314' X'0315' X'0316' X'03IS' X'0319' X'0320' Xll321' A RELEASE macro specified. buffer outside the buffer pool (buffer address low). A CHAIN macro specified a positio~1 buffer outside the buffer pool. A CHAIN macro specified that a buffer outside the buffer pool be chained. An UNCHAI N macro specified a positional buffer outside the buffer pool. A SCAN macro specified a buffer outside the buffer pool (positional buffer address). A RELEASE macro specified a buffer outside the buffer pool (buffer address high). Initialization rollttnes were unable to allocate buffers. A LEASE macro specified an ECB address outside the buffer pool. A LEASE macro specified a buffer count of O. The buffer pool size and the buffer availability count were in conflict. Less than 20 buffers were formatted during initialization of the Nep. Erro" DeteCI8d ..., Supervisory Servias (Byte 0 = X'04') X'0401' A GETSYTE m8£ro specified a BCU address outside the buffer pool. A PUTBYTE macro specified a BCU address outside the buffer pool: .x'0403' X'0405' A GETBYTE macro specified a BCU with an incorrect text length. A PUTBYTE macro specified a BCU with an incon-ect text offset (in one or more of the buffer prefJx fieldsl, or a PUTBVTE macro with the operand UPDATE'" YES specified a 8CU with an incorrect text length. X'0407' A GETIME macro specified'invalid options. _ .. Related and Mi.... Errors (llytas X'06', X'07', X'OS') X'Q406' '.noous X'0501' X'0502' The retry limit for unresolVed level 1 interrupts was exceeded. The retry limit for unl'esolved level 3 channel adapter interrupts was exceeded. X'0503' A nonrecoverable channel adapter check occurred. A nonrecoverable communication scanner check occurred. A type 2 channel adapter cycle steal protection exception occurred. A type 2 channel adapter cycle steal addressing exception occurred. The retry limit for recoverable channel adapter checks was- exceeded. The retry limit for recoverable communication scanner checks was exceeded. X'0504' X'0505' X'0506' X'0507' X'05OS' X'05OA' X'060S' X'05QC' 266 A channel adapter check could not be resolved. A communication scanner check could not be reSOlved. A program level 1 interrupt could not be reSOlved. 3704 and 3705 Progr.m Reference Handbook ~--" ~ X'OSOO' X'OSOE' J'OSOF' X'OS10' A machine check or IPL request was not serviced by hardware. A program level 3 interrupt could not be resolved. A program level 4 timer interrupt request expired and the timer interval was not scheduled. NCP generation conflict-the NCP was not configured for the type of communication scanner installed. X'OS21, NCP generation contiict-progra~ level 1 was not configured for the type of X'OS22' channel adapter installed. NCP generation conflict-an interrupt occurred from an inactive or undefined. channel adapter. The channel adapter, if installed, should have been switched offline by the operator at the 3705 and should have remained disabled. a'OS23' X'OS24' Type 3 scanner addressing exception. Type 3 scanner storage protection exception. ANS initiated by the remote NCP. X'0701' ANS initiated at the remote controller's panel. X'0702' X'0703' SIM received by the remote NCP. X'OSOO' The link used by load program 2 was not defined at NCP generation. "';Errors Detected in Level S (Byte 0 = X'10. X'30) X'1001' A BCU with a Restart command contained an error in the text length field. The line control block (LCBl contained an invalid resource 10. X'1002' X'1003' X'1004' X'1005' X'1006' X'100l' X'100S' X'1009' X'100A' X'100B' X'100P' X'1000' X'100E' No Reset command was found at the end of an operation that was being reset. X'100F' The device base (DVBl contained an invalid resource 10. An invalid system resource 10 was specified in the BCU. An invalid checkpoint data length was specified in ~he BCU. The BH set pointer (OVIBHSET) in the OVB did not match any entry in the system BH set table (BST). ,-,X'lOID' X'1011' X'1012' X'1OEE' X'10FF' X'3000' ~J'3001' "'X'3002' X'3003' X'3004' X'300S' X'3006' r The subtask sequence pointer in the leB was not initialized. The BTU contained an invalid command modifier. After BHA execution, the device input queue was empty (point 1 I. After BHR execution, the line I/O Queue was empty (point 21. After BHR execution, the point 3 BHR queue was empty. A task associated with the point 3 BHR queue was dispatched. The backspace BHR was dispatched, but the queue was empty. A data manipulation error occurred in the backspace BHR. The date/time BHR was dispatched, but the queue was empty. AI~:"-'skiP' flags were set in the service order table (SOT). The number of dial digits passed from the host was not equal to the BTU text length. X'300l' fi/<'300S' X'3009' X'300A' IOBPOll points outside SOT. Pending sessions.count is negative. A task was dispatched with an empty aCB. (NCP#l. Invalid UIB status in PIU. (NCP#). Invalid XIO return code. (NCP#). Invalid XPORT return code. (NCP#). Module CXDESSA entered when Deactivate Line halt is in progress. (NCP#). CXOCPSI unable to rout. PIU to SSCP. (NCP#I. Reset Immediate XIO failed. (NCP#1. Invalid PIU Format. (NCP#I. Segmentation parameter N = zero. (NCP#1. Segmentation parameters conflict. (NCP#I. Run Terminator triggered with invalid status. (NCP#). NCP/PEP ABEND and EP Hardstop Codes 2S7 X'300B' X'3OOC' X'3000' X'300E' X'300F' X'3010' X'3011' X'3012' X'3013' X'3014' X'301S' X'3016' Invalid Network Address in LKB. (NCP#). Invalid input passed to routine. (NCP#). LCB contains no PIU. (NCP#I. CXDKFMR passed a request code to a routine which does not handle that request code. (NCP#) .. XID link failed on validated PIU. (NCP#). XPORT failed on validated PIU. (NCP#I. XID SETMDOE failed. (NCP#). Invalid UIB type field. (NCP#). Invalid network address in CCU •. (NCP#) Remote NCP received SNRM from local NCP. (NCP#). Remote NCP ,eoeivad DISC from local NCP. (NCP#I. X'3017' Remote detected permanent error in path to local and ANS is not in system. (NCP#). Inbound flow in SSCP-PU session of a type 1 PU. X'301S' Begin bracket PIU not on queue. SOLCiBSC Path Function Abend Codes A OEaUE macro was issued by SPF CPM-in and there was no error Ptu on X'3019' the APPL process OCB. X'301A' An ADVAN maaD was issued by SPF CPM-in and there was no error flU X'301B' on the APPL process OCB. An XPORT macro, issued by SPF CPM-in, failed for unknown reason. An,XPORT macro, issued bV SPF CPM-in. failed for an unknown feason X'30le' during FI01-to-FIDO conversion. X'3010' X'301 eo X'301F' X'3020' X'3021' X'3025' X'3026' X'3027' X'3028' 258 An XPORT macro, issued by SPF CPM-in, failed for an unknown reason during the export of a FIOI PIU. An XPORT macro was issued by an IBM point 3 BHR before the PIU was converted. A DEQUE macro was issued by SPF CPM·out and there was no error PIU on the APPL process nCB. An XPORT macro, issued by the build error module (CXDSERR), failed for an unknown reason. A POINT macro was issued by the build error module (CXDSERR) and there was no PIU on the APPL proce!;s aCB. lines or ,links not quiesced count went negative. Auto network shutdown RVT scan error. (SNA) An undefined Contact Poll command was detected dUring SNA auto network shutdown. The remote NCP detected a condition on the active link to the local NCP which requires backup link monitoring. Although there are backup links to the local controller, there is no backup monitor code. 3704 and 3705 Program Referenoe Handbook '" W Load Program 2 (LPG2) Error Cod.. (conditiom causing an unconditional hardstop). X'30FO' No local/remote communication link defined as active in the remote ILP configuration data set (COS). X'30Fl' Type 1 Scanner failed to enable, hardware error or CDS definition error. X'30F2' CDS invalid. Load Program 2 (LPG2i Abend Cod.. (condition. cau.ing a conditional hardstop). X'3F01' No local/remote communication link active (enable failed or transmit initial failed). X'3F02' OISC (disconnect) received while monitoring one line. LPG2 re-IPLs to monitor all COS lines. X'3F03' SNRM (set normal response mode) received while monitoring one line and X'3F04' X'3F05' Timer expiration. User-specified inactive interval has expired. load final not yet received. LPG2 re-IPLs to monitor all lines. X'3F10' Level 1 error. SIM (set initialization mode) received during the load or dump state. NCPIPEP ABEND and EP Hardstop Codes 259 Section 13: line Character Codes ASCII OMiracter Code (even parity 2848/22601 S/3fiJJ PDF Code 03 06 OA 18 21 22 24 27 28 2. 20 2E &/370 Code 03 2E 37 18 18 18 5B 06 0 3 5 6 9 02 04 05 07 E2 E4 E5 E8 E9 60 7C C3 CS C6 C9 01 03 3F 41 42 44 65 66 69 ~~.. 65 71 72 74 77 7. 7E ~ f + 4B 40 4E 50 53 55 56 59 SA SF 60 63 3C (Note 2) (Note 3) OA 6A 5A 3A C8 3A 42 22 12 (Note 1) 40 4E 60 4B 36 39 OC ETX ACK LF CAN 66 58 36 4E 2E IE 7E 41 21 11 71 - < ? A 8 0 G Code 81 82 01 02 37 3D 84 95 AO A3 AS AS A9 AA AC AF Bl B2 B4 B7 B8 BB BD BE C3 C5 C6 C9 CA 69 59 K CC 39 M N 65 • 65 U 35 40 20 70 03 63 V y Z CF 01 02 04 07 08 00 El E2 E4 E7 EB ES ED EE 58 33 5 @ C E F fB DB 47 '" Q 09 E3 E6 E7 4F 27 R 17 77 T W OF 3F I Notes. 1. Displayed on the Model 4 Printer. 2. Displayed on the mark 0). 3. Displayed on the 4. Olsplayed on the (¢I. S/370 H I J L 0 ~ PDF Code 09 05 4B 2. ASCII S/3fiJJ Graphics Character 72 47 35 21 ASCII Control ilia,..... 70 48 FO F3 F5 F6 F9 5E 4C 6F Cl C2 C4 C7 30 33 Line Code 60 30 X f\J F3 F5 F6 F9 FA FC 40 7B 6C 50 50 5C 6B 61 Fl F2 F4 F7 F8 5E 7E 6E 83 B5 B6 89 91 93 96 98 99 A3 A6 A7 A7 Bl 82 . 84 87 92 94 96 97 A2 A4 AS AB A9 SF Un. Code CO AO 90 04 82 E2 02 B2 CA AA 9A FA C6 A6 96 F6 8E EE DE BE El 01 Bl C9 A9 99 F9 C5 A5 95 F5 80 DO C3 A3 93 F3 BB EB 08 BB 87 E7 07 .7 CF AF 9F Control Qlar8Gter Graphics 1lIa_" SOH STX EDT NAK 5' # "& l i 1 2 4 7 8 ; . 0 ,> f i i I a q , t . w x {Note 41 b d 9 h k m n P , ," V , 2260 as the New Line {AI symbol. Causes a carriage return and line feed on the 1050 2260 as the EOM (-I symbol. Prints on the 1050 Model 4 Printer as the exclamation 2260 as the Check (-) symbol. Prints on the 1050 Model 4 Printer as the quote ("). 2260 as the Start MI { .. I symbol. Prints on the 1050 Model 4 Printer as the cent sign Line Character Codes 261 S/38O PDF Codo 00" 00" 01 02 03" 04 05" 86 07 OS 88 SA SA 08 8C 00 OE SF 10 91 92 13 94 15 16 17" U.. Codo 00 17 01 02 03 Codo 37 20 2E 2F 16 04 05 15 25 OS OC OD IE IF 40 4F 7F 78 A4 68 25 26 8C 60 7D 4D 9B 19 lA lA lA 9B lC 90 9E IF 20 AI A2 A7 AS 29 2A AB 2C AD AE 2F BO 31 32 B3 34 86 B6 37 38 B9 SA 3B BC 3D 50 6C 4E 68 60 4. 61 FO FI F2 F3 F4 F6 F6 F7 F8 F" 7A 6E 4C 7E 11-1._. - ASCII SI370 00' (00)" 01 02 03" 05" 86 07 OS B8 (SA) SA 08 8C 00 OE SF 10 91 92 13 94 15 16 17" 9B 19 lA lA (IA) 9B lC 90 9E IF 20 AI A2 a..r..... G_ QIafICIIr NUL NUL SOH 40 STX ETX EOT END ACK BEL 85 HT LF LF VT FF CR SO 51 OLE DCl OC2 Dca 0C4 NAK Cl C2 C4 45 C7 CB 49 4A C8 4C CO CE 4F DO 51 52 03 54 05 OS 67 SYN CAN 68 DB EM SU8 SU9 SU8 ESC FS GS RS US Sf' 25 26 A7 AS 29 2A AB 2C AD AE 2F BO 31 32 B3 34 B6 88 37 38 SI370 Code 6E 6F 7C Cl C2 ca C4 C5 CO C7 CO DA 5B I>C 50 6E OF E H I J K L M N 49 4A CB 4C CD CE 4F DO 51 0 P Q R S T U V 62 03 54 DS 06 57 W X y Z 68 DB OA 6B DC 60 6E OF EO 61 62 I \ I ~ - ·• · •• b c E3 84 E5 f E6 67 68 E9 EA ; j k I m 88 EC 60 ·• ··· ., BE EF 70 ,q F2 73 F4 t 76 w x '" I'll 79 7A FB 7C FD FE 7. Gr.phia a.._ A B C 0 E F G ... ,. AI AS A7 AS ~) 262 Uno Codo 3E BF 40 Cl C2 43 C4 45 . . 43 1IT8 23 A4 S/38O PDF Codo 3. BF V ( I DEL l- S/3f1D PDF Code 01 01 02 02 02 03 03 04 05 05 DB DB 07 07 08 08 08 09 09 DA DA DB DB DB 08 DC OC 00 00 DE DE OF OF 10 10 smo Code C5 86 16 I. 25 81 el 40 A2 E2 89 C9 A4 E4 03 00 26 84 C4 89 09 2F 79 91 01 96 05 8B ea 83 C3 92 02 A3 E3 AS E9 93 03 AB E8 88 ft ft 12 12 13 13 14 14 ea 16 AB 15 E8 16 97 IS 07 17 17 08 [I - 1nonly. .. Uno Code 10 (101 08 (88) (08) (181 lB 04 (14) 14 (OCI DC (leI lC (021 (82) (821 (121 12 (DAI DA 9A 94 (IAI lA (061 06 (181 16 (DEI DE (lEI IE (011 01 (ftl ft (091 09 (191 19 (051 06 (151 16 (001 DO (tDl 10 Ba..... Control 0 ....... a . - a......., E E LF LF LF A A SP S S I I u U eR eR CR 0 0 R R BELL BELL J J N N F F C C K K T T Z Z L L w W H H v V P P Q Q S/3f1D PDF Code 18 18 19 19 lA lA IB IC lC 10 10 IE IE IF IF IF IF IF IF 81 . 8/370 Code 83 06 82 C2 B7 C7 3B 94 D4 A7 E7 AS E5 06 07 17 32 37 38 F3 80 84 40 85 8B 7A F8 F7 68 84 F4 6B 40 F5 7F 60 5A F2 78 F6 FO Fl F9 6F 60 38 4B 3F SI El 6E 87 89 89 SA 6C 8F 90 91 92 93 93 94 96 88 97 88 99 9A . 9C 90 90 90 9E 9F 08 U.. Code (031 03 (131 13 (DB) DB lB (on ..... ......... Co..... Graphics Ch_ Q Q B B G G FIGS M M 07 (17) 17 (OFI OF IF 11F) 11F) (lFI (IFI (IFI 90 98 (84) 8E 8C 9C 92 (B81 SA 8B X X V V LTRS LTRS LTRS LTRS LTRS LTRS 3 SP 1/8 8 7 $ S I. 9E 81 91 ( 89 I 2 96 99 - 4 7/8 1/2 ~ 3/4 1/4 2 85 # 96 BD 6 0 1 9 90 83 93 88 (9B) B7 (97) 97 (971 SF [9F) 1 FIGS SP LTRS 5/8 '" / / 3/8 LTRS I) = Out onlv. line Character Codes 263 BCD Character Code 1 PDF Codo 01 02 04 07 08 OB 00 00 OE OE 10 13 15 16 19 lA lC IF 20 23 25 26 29 2A Codo 60 7C F8 98 F4 84 OF 14 OE 24 F2 82 DO EO 96 A6 36 06 Fl 81 99 A9 95 AS 2C 36 2F 31 32 05 93 A3 34 34 02 37 38 3B 3D 30 3E 40 43 45 46 49 78 4B F7 87 17 32 27 U .. Codo 40 20 .. 1581 1581 1381 38 16 16 76 OE 6E 5E (5EI A4 29 34 19 79 .. 64 67 89 6B 60 60 6E 70 73 75 76 F5 85 00 15 25 F3 93 5B 6B - Out In only. only. 45 25 15 75 EOA $ EP$ 88 88 88 3F 7A C4 14 24 SF C2 06 E6 38 .,, 9A 1 # 7 Il Il PRE 9 SP 9C 9F AO A3 AS A6 A9 AC AF Bl 82 84 B7 88 BB 80 BE CO C3 & q V m u PN PF ,k 0 PZ 6 f BS EOS$ E08 j I 9 i 5 0 LF·CA IF-CR Index 3 ® C8 AA 00 60 50 130J 130] 43 23 13 73 08 6B 15BI 58 38 07 67 57 37 5C 87 99 I ~ 97 A7 37 07 6D 4A 84 w RS HT S/370 Codo 7A 7C 7F 81 82 0 C5 CO CO CA CC CF D. 02 D. 08 08 00 DE El E2 E4 E7 E8 EB ED EE FO F3 F5 F6 F9 FA FC 08 7E Cl 09 E9 05 E5 35 05 03 E3 4F 48 7F C7 17 27 40 4E 08 E8 04 E4 34 04 02 E2 Uno Codo 4F 2F IF [7FJ CO eo..... .......... ......... Graphics P © EOT t AO 90 FO 1981 .. E8 108J IB8J x &L ,H 0 RES 8YP 84 E4 8 0 CC AC 9C IFCJ 82 E2 02 B2 CA AA (9AJ IFAJ C6 A6 96 IF6] 8E EE 10E] IBE] 181J El 01 Bl W UC lC . A R Z N V RS HT EOA (i) @ .. G Il PRE SP + Q Y M U C9 A9 I99J IF9J C5 l T PN PF K AS S 50 96 70 C6 16 26 01 6F 40 C9 80 EO 10DJ IBOJ ! FF ()= 264 BCD S/38O 79 * ,n 26 PDF Codo 80 8E 90 93 1 52 04 61 F9 2 b UC lC 49 91 4 4C 2C lC 7C 02 62 AS 16 03 26 " d RES RES BYP BYP MZ RM 94 86 8 04 4F 51 57 58 5B 50 5E 5E 61 62 ® 54 34 32 4A 2A 11A) 7A 46 Graphics Oil 84 .. 92 A2 FO CO F6 ConUoI 08 3E 01 61 51 31 40 50 ......... .......... 10 70 4A 4C 52 54 [1 S/38O S/37O 3704 and 3705 Program Reference Handbook C6 C5 15 25 5E C3 SA 68 07 E7 37 07 F Eg: ® C3 A3 93 F3 BB E. 10BJ IB8] 87 E7 07 [871 CF AF 9F IFF] , J I I " E LF-CR Attn C ! ® P © EOT DEL X BCD Character Code 2 (NCP # 01370 Code Code 01 02 60 7C F8 88 F4 04 07 08 OB OD 00 OE OE 10 13 15 16 19 lA lC IF 20 23 25 26 29 2A 2C 2F 31 32 34 34 37 38 3B 3D 3D 3E 40 43 45 46 49 4A 4C 4F 51 52 54 57 58 SB 50 5E 5E 61 62 54 67 68 6B 60 60 6E 70 73 75 76 84 OF 14 OE 24 F2 82 DO EO 96 A6 36 06 Fl 81 99 A9 95 AS 35 05 93 A3 02 7B 4B F7 87 17 32 27 40 50 98 A8 94 ... 34 04 92 A2 FO CO F6 B6 16 03 26 91 61 F9 89 F5 85 00 15 25 F3 83 5B 68 (I - In only, () '" Qut only, Only) BCD 0/360 PDF Uno Code 40 20 10 70 Com,o/ a..._, ® @ 8 h 4 d OB 68 (58) (58) (38) 38 04 64 54 34 4C 2C lC ' 7C 02 62 52 32 4A 2A [lA] 7A 46 26 16 16 76 OE 6E SE (5E) 3E 01 61 51 31 49 29 19 79 45 25 15 75 00 60 50 (3D) [301 43 23 13 73 OB 6B (5B) 5B 3B 07 67 57 37 .......... Graphics RES RES BYP BYP , 0 w ,,1 , ," RS HT $ IL IL PRE SP ,I # 7 9 & q y m u PN PF , k 0 PZ 6 f BS EOB@ EOB@ i / 9 ,~ LF-CR LF-CR Index ,3 ® 79 7A 7C 7F 81 82 88 88 UC LC E~ Code 87 2 b EOA 01370 Cod. 84 MZ RM $ BCD 0/360 PDF 8B 80 8E 90 93 99 9A 9C 9F AO A3 AS AS A9 AA AC AF Bl B2 B4 B7 B8 BB BD BE CO C3 CS C6 C9 CA CC CF 01 02 04 08 DB DO DE El E2 E4 E7 E8 EB ED EE FO F3 FS F6 F9 FA FC FF 97 A7 37 07 60 4A 5C C8 3F 7A C4 14 24 SF C2 06 E6 U .. Code ,. [7F] CO AO © EOT • x &EL ! H (88) 88 E8 108) IB8) 84 E4 CC AC 82 E2 02 B2 CA AA 19A} IFA( C6 A6 96 F6 8E EE [DE] [BEl [81) El 01 81 C9 A9 (99) (F9) CS AS 95 80 ED 100) [BD] C3 A3 93 F3 8B EB lOB) C6 C5 15 25 SE C3 5A 12 07 E7 37 07 Graphics FO 7E Cl 09 E9 05 ES 35 05 03 E3 4F 13 7F C7 17 27 40 4E 08 E8 04 E4 34 C9 .......... 90 9C [FC] 02 E2 50 70 C6 16 26 01 6F 40 ~.racter 4F 2F 38 06 04 eo..... 0 RES 8YP B 0 W uc LC : A R Z N V RS HT EOA G) @ L T " G IL PRE SP + Q Y M U PN PF K S ! F BS EOB ® , J ( I " E LF-CR [BBI Attn 87 E7 07 87. CF AF 9F IFF) ® C ! P © X EDT DEL Line Character Codes 265 Correspondence CfI PDF Code 01 02 04 07 08 DB OD DE 10 13 19 lA lC lF 20 23 25 26 29 2A 2C 2F 31 32 34 37 38 38 3D 3D 3E 40 43 45 46 49 4A 4C 4F 51 52 54 58 5B 5D 6E 61 62 64 67 68 6B 6D 6D 6E 70 73 75 76 79 7A $/360 S/370 Code 5A A3 F4 61 F5 97 14 24 F2 7E 89 92 36 06 Fl 87 A2 88 9' 84 35 05 A5 A4 F. 60 F8 68 17 32 27 40 91 96 93 7D 85 34 04 4B 95 A9 F6 98 16 26 94 A7 FO A8 F7 5E OD 15 25 F3 B6 A6 82 81 83 .. " acte Line Codo 40 20 10 70 08 6B 58 38 04 64 4C 2C lC 7C 02 62 52 32 4A 2A lA 7A 46 26 16 76 DE 6E 5E 15E) 3E 01 61 51 31 49 29 19 (79) 45 25 15 OD 6D 5D [3D1 43 23 13 73 DB 68 (58) 5B 3B 07 67 57 37 4F 2F Cod Correspondence Control Graphics Charactitf """...... ® I I 7C 7F 81 82 5 P 84 6B t 4 RES 8YP 2 · ; k UC LC ,, 1 ·, h d RS T,b E~ @ •-8" IL PRE PRE SP j 0 I · PN PF ," 6 q BS EOB ® ,m 0 V 7 ; LF·CR LF·CR Index 3 f ® S/360 PDF Codo w $/370 Line Cod. Codo 37 07 6E .3 58 6C D7 24 7C 4E C9 D2 36 lF [7F1 CO AD 8B 8E 90 93 99 9A 9C 9F AD A3 A5 A6 A9 AA AF Bl B2 84 B7 B8 88 8E CO C3 C5 C6 C, CA Dl D2 D4 D8 D8 DD El E4 E2 E7 E8 E8 EB ED ED EE FO 87 F3 F5 F6 F9 FA FC ,, b ( J-Inonlv. Out onlv. ( ) = 266 3704 and 3705 Program Reference Handbook 06 4F C7 E2 CB D9 C4 05 E5 E4 4D 6D 5C 6B 27 40 Dl D6 D3 7F C5 48 D5 E9 4C D8 16 D4 5D E7 E8 50 3F 79 14 15 25 7A 6F C6 E6 C2 Cl C3 37 Correspondence Contrm Graphics Character Character EOT (£) @) T 90 $ 88 E8 [88J % P BYP 84 E4 CC AC [9C1 [FC1 82 E2 D2 B2 CA AA [FA] C6 A6 96 F6 8E [EEl [BEl [811 El Dl 81 C, A. [C51 AS 9. 8D ED [DOl C3 93 A3 F3 8B (E81 EB [D81 [DB] [8B1 87 FO E7 07 B7 CF AF [9F1 @ + I K UC LC [ ± G S H R D Tob V EOA @ U I - PRE SP J 0 L E N , Z Q BS M I EOT © X Y & RES LF·CR Attn # ? F W EOT © B A C Co<'''PO nde n.. Ch araeter Cod.2 INCP#O ny I) Correspondence 8/360 PDF $/370 Line eon"", Graphics Codo Codo Codo Character Character 01 SA 40 ! ('!) 02 04 07 06 OB 00 OE 10 13 19 lA Ie IF 20 23 25 26 29 2A 2C 2F 31 32 34 37 38 3B 3D 3D 3E 40 43 45 48 49 4A 4C 4F 51 52 64 58 5B 50 5E 81 62 64 67 68 68 60 60 6E 70 73 75 76 79 7A A3 F4 61 F5 97 14 24 F2 7E 89 92 36 06 Fl 87 A2 88 99 84 35 OS AS A4 F9 60 F8 6B 17 32 27 40 91 96 93 70 85 34 04 4B 95 A9 F6 98 16 26 94 A7 FO A8 F7 5E 00 . 15 25 F3 A6 82 8, 83 [l-lnonly. 20 10 70 64 4C 2C lC 7C 02 62 52 32 4A 2A lA 7A 48 26 16 76 OE 6E 5E (5E) 3E 01 61 51 31 49 29 19 1791 45 25 15 57 37 4F 2F 84 88 RES BYP BB 8E 2 · ; k d AA " 9 - co IL PRE PRE SP i 0 I · ,n 8 q ® m x 0 Y 7 ; LF·CR LF-CR Index 3 f ® AF 81 82 B4 B7 B8 BB BE w · b C3 C5 C6 C9 CA Dl 02 0' 08 08 oD El E4 E2 E7 E8 EB EB ED ED EE FO B7 F3 F5 FB F9 FA FC 09 C4 05 ES E4 40 60 5C 12 27 40 01 06 03 7F C5 13 05 E9 4C 08 16 04 50 E7 E8 50 3F 79 14 15 2. 7A 6F CB EB C2 Cl C3 37 Graphics Character © ® T $ % P BYP @ + I E4 , , 4F C7 E2 C8 EDT 84 AC [9CI {Fe] 82 E2 D2 B2 CA 8 BS EOB E8 [B81 CC 06 Control Character 88 C9 , PN PF IF [7FI CO AO 90 02 36 1 9 E~ @ 93 37 07 6E E3 5B 6C 07 24 7e 4E Correspondence Uno Codo 99 h RS T,b 80 S/360 S/370 Cod. 9A 9C 9F AO A3 AS AS A9 ue LC 00 60 50 [3D] 43 23 13 73 08 BB [581 58 3B 07 67 5. P 4 06 58 38 04 I 7C 7F 81 82 t 68 PDF Cod. K UC LC [ AA [FA] C6 A6 96 F6 8E EE [8EI [811 El 01 Bl C9 A9 C5 AS 95 80 ED 1001 C3 93 T,b EOA @ V U I - PRE SP J 0 L E N Z ¢ Q BS M I A3 F3 8B IEBI E8 [081 [081 [881 87 FO E7 07 87 CF AF [9FI ± G S H R 0 EDT © X Y & RES LF-CR Attn # ? F W EDT © B A C , { ) = Out only_ Line Character Codes 267 PDF 'E8CD 5/370 1 oj.. Code 40 04 7C F8 07 88 20 10 70 08 F4 08 DB 84 00 88 OF I. DE 24 F2 82 00 EO l58i 58 01 02 00 DE DE 10 13 15 16 I. lA lC IF 20 96 AS 38 06 25 26 F1 81 99 A9 29 95 2A 2C 2F 31 32 34 A5 35 05 93 A3 02 7B 4B F7 87 00 23 34 37 38 38 30 30 30 3E 40 43 45 46 49 4A 4C 4F 51 52 54 57 58 5B 50 5E 5E 61 62 64 67 68 6B 60 60 6E 70 73 75 76 {I "51360 Code 60 Code 17 32 27 40 50 98 A8 94 A4 34 04 92 A2 FO CO F6 86 16 03 2ti 91 61 FO 89 F5 85 00 15 2. F3 B3 5B 01 (3&! 38 04 eo_, Ch ....... Q'l} 8 h 4 d RES RES BYP 8YP 34 4C 2C lC 7C 02 62 52 32 4A 2A (IAi 7A 46 2ti (16) 16 76 DE 6E (5E) 5E 15E) 3E 01 61 51 31 2 b 49 29 [19] 79 45 25 15 75 00 60 50 (3D) (30i 43 23 13 73 DB 6B (58) 5B 3B 07 67 57 (37) MZ RM • RS HT I ~ E~ 0 r # # 7 9 Il Il Il PRE SP q y m u PN PF ,k 0 PZ 6 f ~ Eoa 8 j I 9 i 5 0 Nl NL cF AS AA AC AF ., 82 B4 B7 88 BB BO BE C3 C5 C6 C9 CA CC CF 01 02 D4 08 DB 00 DE El E2 E4 E7 E8 EB EO EE FO F3 F5 F6 F9 3 ® AS co & $ ® IF EDT 617 CO 4A AD 6C 99 9A oe 9F AD A3 AS FA FC FF 36 06 7E Cl os E9 05 E5 35 D. 03 E3 7F 5F sE C7 I7FI 34 E2 50 70 C6 16 26 01 6F 40 C9 6C C5 15 25 5E C3 5A 4F 07 E7 37 07 In only. 3704 and-3705 Program Reference Handbook x ,®"l f H E8 (D8i (B8i 0 RES BYP 8 0 W UC lC 93 " E2 02 82 CA AA [gAl (FAi C6 A6 96 F6 A R Z N V RS HT E~ @ G EE (BBl l T ). BE B7 E7 07 .7 CF AF (9FI [FF] ,Ii. < 84 E4 CC AC (oei [Fe] (BE] (81i El 01 Bl C9 A9 (991 {49} C5 A5 95 80 EO (DOl (BOI C3 A3 93 F3 B3 EB (OBI .04 :02 P © FO 27 4E 08 E8 04 E4 Character 90 (DEI 40 G_'" 88 17 ( ) '" Out only. 268 ,- Control Character 37 4F 2F C8 7A C4 14 24 4C C2 06 E6 88 80 8E 90 U.. Code 6B 97 A7 37 07 87 93 ,, ," SI360 S/310 Cod. 84 w ,1 BS EOB 76 79 7A 7C 7F 81 82 0 UC lC EOA PDF Code 88 64 54 """..... - GraptJics Il PRE SP + Q Y M U PN PF K S ! F BS EDB ® J ? I I % E Nl IF ; C I I ® P © EDT DEL X 11"-" EBCDIC Charactar Code EBCDIC PDF 81360 8/370 line Cod. Cod. Cod. 05 06 07 OA 08 DC 00 OE OF 00 01 02 03 04 05 06 07 OA DB OC 00 DE OF 00 01 02 03 04 10 10 11 12 13 14 15 16 11 12 13 14 15 16 17 17 lB 19 lA lC 18 19 lA lC 10 1E 10 IE IF 20 21 22 24 25 26 27 2A 20 2F 32 3, 35 36 37 3C 30 3F ,0 4A 48 'C 40 4E 4F 50 SA 5B 5C 50 5E 5 A M E A S P 0 F C 0 0 E 1F 20 21 22 24 25 26 27 2A 20 2F 32 34 35 36 37 3C 3D 3F 40 4A 48 4C 40 ,E 4F 50 5A 56 5C 50 5E SF SF 60 61 68 6C 60 6E 6F 60 61 6B 6C 60 6E 6F Control Character Graphics Character NUL SOH STX ETX PF HT LC DEL SMM VT FF CR SO 51 OLE OCI OC2 OC3 RES NL BS IL CAN EM CC IFS IGS IRS IUS (ITS) OS SOS FS 8YP LF EOS/ETS PRE/ESC SM ENO BEL SYN PN RS UC EDT DC. NAK SUB SP ¢ < I + I & , ~ } ~ I % > 7 EBCDIC PDF 8/360 8/370 Line Cod. Cod. Cod. 7A 7B 7C 70 7E 7F 81 B2 83 8, 85 86 87 88 89 91 92 93 9, 95 96 97 98 99 A2 A3 A4 A5 A6 A7 A8 A9 Cl C2 C3 C. CS C6 C7 C8 C9 01 02 03 D. 05 06 07 08 09 E2 E3 E4 E5 E6 E7 E8 E9 FO F1 F2 F3 F. F5 F6 F7 F8 F9 Control Character Graphics Character 7A 7B 7C 70 7E 7' 61 82 83 84 85 86 87 88 89 91 92 93 94 95 96 5 A M E A S P 0 F C 0 0 E # '!' = ," ,b ., d f h I j k I m , 0 97 P 98 99 A2 A3 A4 A5 A6 A7 A8 A9 Cl C2 C3 C4 C5 C6 C7 CB C9 01 02 03 q D. 05 06 07 08 09 E2 E3 E. E5 E6 E7 EB E9 FO F1 F2 F3 '4 F5 F6 F7 F6 F9 line Character Codes , , t ," ,w ,y A 8 C 0 E F G H I J K L M N 0 P 0 R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 269 ITA2 Character Code SI360 PDF Cod. . smo Code Une Code ITA2 Co..... ......... 20 81 Cl (101 10 08 [M] (181 18 IF IF 04 04 05 05 40 40 04 [84] SP SP A2 E2 06 06 89 CO (141 14 (OCI ID DB A4 E4 03 08 08 08 09 84 09 C4 OA OA 99 DO 08 91 Dl 01 01 02 o' 03 03 07 OB OC OC DO CO 25 DO OD 10 .s D6 M C6 83 OD OE OE ca OF 92 D2 OF 10 A3 E3 10 A9 11 11 E. 12 93 D3 12 13 A6 E6 13 14 B8 14 C8 lS AB 15 E8 16 97 16 D7 17 98 17 D8 {}-In only. ()-Outonly. (011 01 (11) 11 (09) 09 (191 19 (05) 05 (16) 10 (OD) OD (lD) lD E E A A S S I I U U OC (1C] IC 1021 O' [82] (021 (121 12 (OAI OA (lAI lA (061 06 (181 16 (OEI OE (lEI lE Graphics a.racblr CR CR CR CR D D R R J J N N F F C C K K T T Z Z l l W W H H y y P P a a ITA2 SI360 PDF Cod. 8/370 Cod. 18 18 19 19 lA lA lB 18 lC lC lD 10 lE lE lF lF lF as D6 B' C2 87 C7 .6 36 94 D4 A7 E7 A5 E6 00 08 07 1F 17 lF 3' 37 1F Uno Code (031 03 38 OFI 3F F3 90 60 98 8S 94 8C 9C 9. 96 98 7D F8 F7 .D F4 2A 2F 6B 7A 4D F5 4E 6D F2 F6 FO Fl F9 6F 98 36 DC 4B 61 7E 06 86 87 89 SA BB 88 8C 8E 8F 90 91 92 93 96 96 97 9D 9E 9F (lFI FIGS FIGS M M X X V V LTRS LTRS LTRS LTRS LTRS LTRS LTRS LTRS 3 8 7 WRU SA (1AI 19AI Chlr.cter 0 0 G G DB (1BI 18 (071 07 (171 17 (OFI OF (lFI lF (1FI I1FI (1FI (1FI G....... 8 B 13 (OBI 83 lF Ch...cter U31 81 1F Conttal 4 BELL BELL 86 8E 9E 81 91 ( 5 + 89 ) 99 95 2 6 0 1 9 7 SO 9D 83 93 [98] (871 97 8F [9F] FIGS LTRS .i ~ .. 270 3704 and 3705 Program Reference Handbook KATAKANA ChanIcter Code 01 02 04 07 08 sma Code BE 20 10 70 83 08 so 00 DE 10 13 19 lA lC IF 14 24 9F SA AD 94 36 06 20 23 98 92 2. 28 8E 93 A6 9E 36 29 2A 2C 2F 31 05 AE 32 34 86 89 37 AF A9 B7 38 3B 3D 3D 3E 3E 40 40 43 45 17 32 OB 27 OB 40 4A A2 91 BD A6 9B 4C 34 4F 51 52 54 lA 9A 95 BC 6B 5B 5D 6E 5E 61 B2 84 67 9D 16 03 26 A4 A7 AC 97 46 4B Uno Code A3 AA 88 86 68 64 6B 60 60 BE 70 73 76 76 78 79 82 a..racter "" . 68 38 04 62 62 RSTP HT , •"t 0 f ? ; ,[ 1'" In only. (1- Out only. *Two character sequence. " , ? 3 I 1 CR/LF 37 4F t 0 CR/Lf LF (37) ,,• SP 15BI 67 8B 80 8E 90 .3 VT' 58 67 Ol PRE VT" 8KSP E08 EOB BA 01 88 l' 50 99 7 IDLE IDLE PN PF 90 84 87 ", '" (19) (79) 45 2. 15 00 60 3B 07 82 1 29 (3D) 3D 43 23 13 73 OB 6B 0 'J 46 26 01 61 51 31 4. ? , 32 (OU • 7A 7C 7F 7F 81 T UC LC 02 16 78 OE 6E 6E 15E) (3E) 3E Code , 4C 2C 4A 2A lA 7A PDF Cha...... RES BYP 64 lC 7C Ol'llphics 1 ? 08 OD 16 26 81 8F .....,.. KATAKANA SI31IO PDF Code 7 SOA "v .. •• 9A 9C 9F AD A3 A5 A6 A9 AA AC AF Bl B2 B4 B7 BB BA BB BD BD BE CO C3 C5 C6 C9 CA 01 02 04 DB DB DD El E2 E4 E7 E8 EB ED EE FO F3 F6 F6 F9 FC FF SI31IO sma Code 8C 37 07 OF 80 8F F8 C8 F4 C4 14 24 F2 C2 OB E6 36 OB Fl Cl 09 E9 06 E5 35 O. 03 E3 BB 4B F7 E7 C7 17 26 27 40 6C 08 EB D4 E4 02 E2 FO F6 C6 16 01 6B F9 ,. C9 F5 C6 26 F3 C3 A6 6B 07 37 07 KATAKANA L1.. Code 2F IF 7F (7FI CO AO eo..... "'-, ......G..phIcs EaT DEL PAD ; 90 FO 88 E8 (08] (88] 8 H 4 0 RES 8YP 2 84 E4 S co AC (OC] (FC] a W UC LC 82 E2 02 82 CA AA (SA] [FAJ C6 A6 96 F6 BE AE EE IDEI IBDI IBE] 1811 El 01 Bl C. A9 C6 A. 95 80 ED IDD C3 1 A R Z N V RSTP HT L T 0 7 X G IDLE EOB PRE SP .a Y M U K S 0 6 F 8KSP ~ A3 93 F3 8B E8 lOBI IBB] 87 E7 07 B7 CF 19F] IFFI 1 9 1 6 E CR/LF LF 3 C EaT DEL "P " Line Character Codes 271 Data Interchange (TWX) Character Code 1 moo PDF Code 80 80 $/370 Code 36 84 85 87 89 8A SA 8B 8e 80 80 80 8E 8F 38 24 37 20 2F OS IS 25 DB DC 03 OD 26 DE OF 92 34 B4 04 '13' AD AI A2 A3 A4 AS A6 A7 AB A9 AA AB Ae AD AE AF AF BO 81 B2 B3 B. 85 B6 B7 B8 B9 BA BB Be BD BE BF CO el el e2 3e 40 SA 7F 7B SB 6C 50 70 4D SO se 4E 6B 60 4B 61 El FO FI F2 F3 F. FS F6 F7 F8 F9 7A SE .C 7E 6E 6F 7e 81 el 82 B4 ., " 1WX Uoe Cod. (011 (01) (leI 120J AI EO '91 (51) 51 01 31 (B1) BI (Bl) 70 FI 89 49 29 Control Dlaracter NULL NULL EOT EOT WRU BELL X-oo TP Aux On TPAuxOff 04 5P 44 C4 25 A4 6' ES IS 94 54 OS 3' BS 75 F4 13A) 00 8e 'C CC 2e AD 60 EC IC 90 50 DC 30 BO 7C FO 02 (83) 83 (43) ! " # $ % ~ I l + - i I 0 I 2 3 4 5 6 7 8 9 <: = > ? @ A A 8 Uno Cod. C2 C3 C3 C2 B3 C3 43 C4 C4 B4 C4 85 os 86 C6 87 C8 e7 88 e8 e9 89 CA CA CB CB CC ec CD CD eE CE CF CF DO DO 01 01 02 02 03 03 04 04 05 OS 06 06 07 07 08 08 09 D. OA DA DB DE OF Fe FF FF FF FF I) = In only. ( I = Out only. 272 1WX $/370 Code c. so 51 X-off moo Cod. PDF CS es C6 C6 e7 e7 HT LF LF VT FF CR eR eR C8 85 Graphics Character 3704 and 3705 Program Reference Handbook C8 C. " DI .2 02 93 D3 94 04 95 05 96 06 97 07 98 08 99 09 A2 E2 A3 E3 A4 E4 AS ES A6 E6 A7 E7 A8 E8 A9 E9 79 4F 60 49 00 07 17 32 le21 C2 (23) 23 IA21 A2 1621 62 (E3) E3 (13) 13 1921 92 (52) 52 ID31 03 1321 32 IB31 B3 (73) 73 (F2) F2 lOBI DB 18BI 8B (4B) 4B (CB) eB 12AI 2A (AB) AB (6Bl 6B (EA) EA (lA) lA (9B) 9B (58) 5B OA 7A F8 BA (FE) (FE) IFEI IFEI eo",," Character Graphics a.. ...... B e C 0 0 E E F F G G H H I I J J K K L L M M N N 0 0 P P a a R R 5 5 T T U U V V W W X X y Y Z Z I t ~ ) Rubout Rubout Rubout Rubout f . - o ta IntarchanlJl (TWX) Character Code 3 tNCP # Only) TWX S/3ID S/3ID POF 11310 U.. G....... POF SI370 Code Code 36 38 84 84 24 37 20 2F 05 : 85 81 89 SA 8A 25 86 08 8C DC 80 SO 80 80 8E 8F 91 03 00 DO 2B OE OF 11 92 94 94 04 98 18 AD Al A2 A3 A4 AS AS A1 AS AS AA AB AC AD AE AF AF BO Bl B2 83 84 8S 86 87 88 89 BA BB BC BD BE BF CO Cl Cl [) ,. 34 3C 40 SA 1F 18 58 8C 60 10 40 50 5C 4E 68 60 48 61 El FO Fl F2 f3 F4 F5 f6 F1 F8 f. 7A 5E 4C 1E 6E 6F 7C 81 Cl Code 101) 101) I1C) (201 Al EO 91 161) Sl 01 31 (81) (81) (Bl] 181) 10 Fl -. CIIo.- Code Code NULL NULL C2 82 EOT EOT C3 C3 C4 C4 C2 CS LF LF C5 C8 C8 C1 C1 81 C1 CO 88 C8 C9 C8 VT ff CR CR CR/EOT CR SO C9 CA 51 X..n TPAuxOn TP_Off C8 X..ff [03) CTt.RX! EOT 04 SI' 89 49 29 CA CB CB CC CC 85 I 44 C4 # 25 A4 84 E5 15 S "~ I 54 t 05 + 94 34 8S 1S F4 IlAl 00 8C 4C CC 2C AD 60 EC lC 90 SO DC 3D BD 7C FO 02 193) 83 IC2) C2 123) 23 1A2) A2 162) 62 IE3) E3 CD CO CE CE CF CF DO DO 01 01 02 02 03 03 D4 i / 0 1 2 3 4 5 6 7 8 9 04 05 OS 06 06 07 01 DB 08 D9 DO DA DA OS .~ > .., A A DE OF OF fC FF FF FF FF C5 86 C6 89 C9 ., 01 92 02 93 03 94 04 9S OS 98 06 91 01 98 08 99 D9 A2 E2 A3 E3 A4 E4 AS ES AS E6 A7 E7 A8 E8 AO E9 79 4F 16 6Il 49 00 - .......... .......... eo-I 143) 43 HT BELL """" C2 83 C3 84 C4 85 WIIU TWX Uno B 8 C C 0 D E E F F G G H H I I (13' 13 102) 92 152) 52 103) 03 132) 32 193) 83 (13) 13 IF2) F2 108) 08 188) 8B 148) 48 ICB} CB 12A) 2A IA8} AS 16B) 6B lEA) EA I1A) lA 19B) 98 158} 59 DA 7A IF81 IFB) 8A J J K K L L M M N N 0 0 P P Q Q R R 5 S T T U U V V W W X X V V Z Z ( t ~ ~ I 07 n (FE) (FE) (FE) Rubout Rubout RubO\lt 32 IFE) Rubout In only. () '" Out only. Line Character Codes 273 ZSC3 CharKter Code PDF Code 01 01 02 02 02 03 03 04 05 05 06 06 07 07 DB DB 08 OS 09 09 OA OA 08 08 OC DC 00 00 OE OE OF OF 10 10 11 11 12 12 13 13 14 " 15 15 16 16 17 SJ360 S/370 Code 85 C5 25 25 37 81 Cl 40 A2 E2 89 C9 A4 E4 03 00 00 15 84 C4 99 09 91 01 95 OS .0 C6 S3 C3 92 02 A3 E3 A9 E. 93 03 AS EO 88 ea AS ES 97 07 98 08 17 [J= In only. (J = Out only. 274 U"" Code ZSC3 Control Character (lO) 10 (08) 188J 11FJ LF LF LF (lSl IS 04 A A 5P (14) 5 5 14 (OC) ) OC I (lC) lC (02) 02 \821 (02) Graphics Character E E U U CR CR CR CR (12) 12 (OA) 0 0 OA R J J (lA) lA \061 06 (16) lS (OE) DE (lEI lE (01) 01 111) 11 (091 09 (19) 19 105) 05 (15) 15 (00) 00 (10) 10 R N N F F C C PDF Cod. 18 IS ,. 19 lA lA 18 lB lC lC 10 10 lE lE lF lF lF lF lF lF lF 81 83 84 85 85 85 S7 89 SA K K ss se T T Z Z L L W W H H y SO 8E 8F 90 9' 93 94 95 96 96 99 Y 9A P P 98 a a ge 9E 9F S/360 S/370 Cod. .0 06 .2 C2 .7 C7 26 3B 94 04 A7 E7 AS E5 00 06 07 17 3' 38 3F 60 4E 40 70 2A 2F Fl 20 61 F' 6B F4 F8 40 48 50 F3 OF F5 F9 7A FS FO 3B F7 7E 06 3704 and 3705 Program Reference Handbook ZSC3 line Code eo"".. Character 03 (13) 13 lOS) 08 18 18 • G G (07) M M X X V V (17) (IF) 90 9S [1141 94 (80) 8C 9C 92 SA 9A 86 96 8E 9E 81 89 99 85 9S 80 83 93 S8 [9B1 87 8F [9F1 Character FIGS FIGS 07 17 (OF) OF OF) lF I1F) OF) (IF) OF) Graphics 0 0 B 103) tTRS tTRS lTRS lTRS lTRS lTRS lTRS - + SP Bell Bell 1 WRU I 2 :. S ( j 3 ? 5 9 6 0 FIGS 7 = .tTRS • (' ::,,/ 1030 Controller .. © . . ® .. F @ _TEXT • (Y) © . ® ( Polling t 1030 .. @ End of Block Positive Message Received End of Transmission (Reset) m x 3 if So ~ ~" '!l0- Controller @ . A . ©B » ~ '" ® ~ 6 @ 00- i. .g 5 . ... ..0• Polling TEXT ® LRC © Reset Terminals Terminal Address Component Select Code for Keyboard Negative Reply Reset, Resume Polling or Addressing Terminal Address Component Select Code for Reader 1 Reader Ready to start message Message End of Block Check Character Generated by the 1050 Positive Message Received (No data check). End of Transmission @ Reset Terminals Indicates message for a printer Terminal Address Conditions 1031 to answer Ready to receive End of Address (Text Model Message (Data characters must be separated by three PAD characters. PAD characters keep ® 1050 : TEXT 1000 "0 1030 1 Ready to send message Message ( Addressing Controller ~B Reset Terminals Terminal Address Negative Reply (Not Ready) Terminal Address €" © Controller ©A .. @ .. @ . 1050 . ® LRC • ® LRC • © Addressing @ • (2) " ~ m t\ .., 3 =-So .., g, ..... S" ~ ~ 0- Reset Terminals Terminal Address Component Select Code for Printer 1 (2) TEXT TEXT line at Mark levell. End of Block Positive Message Received End of Transmission (Reset) f. 0 Terminal ready to receive End of Address Message End of Block Check Character Generated by the controller Negative Message Received (detected a data check). Message Repeated (Program Controlled) End of Block Check Character Generated by the controller Positive Message Received (No data check). End of Transmission (Reset) !::i ~ Controller ~ Dial TTY a !::i fii ,g"" ~ "it - TTY _ID,ACK Text ------.. XOFF",WRU _ _ID,ACK Text ~ XOFF*,EOT -----... Controller dials TTY to perform WRU function. TTY gives identification code and go-ahead signal. (Always 20 characters.) Message sent. Go-ahead signal to TTY. TTY identification and go-ahead Message sent. Transmission is finished: go on-hook. ~ Text -----------+- XOFF" - Tape Controller if ~ ----ID,ACK Keyboard Attended Controller dials TTY to perform WRU function. Identification code and go-ahead signal. (Always 20 characters.) Message sent. End of text. Paper Tape g g, Dial TTY Dial Tape Paper-tape Punch .. { ID,ACK Text XOFF*,EOT • .. Dial Tape II' .. ID,ACK .. Text XDFF* XON Paper-tape Reader Controller dials tape terminal. Terminal identification and go-ahead to controller. Message sent. End of text, end of transmission. Controller dials tape terminal. Terminal identification and go-ahead to controller. Turns on tape transmitter. { Message sent. End of text. XDFF* ,EDT ---~.~ End of text, end of transmission. *May be followed by a maximum of three delete characters. "f\ 1\ ~1F", « ( ( ,". ( ( BSC Terminals Polling Controller Terminal EOT Polling Addressing Controller EOT Controller resets terminals. }-- Controller sends polling characters, then turns the line around. characters, ENO Text Addressing m x "~ S, -c g, ~. ~ Co ~ Co ~ ~. ~ ~ characters, __---ACKO Terminal sends message. Controller resets terminals. Controller addresses the terminal, then turns the line around. ENO Text 3 Terminal • Terminal ready to receive. Controller sends message. SeCtion 16: MDR Record Formats The network control program (NCP) and the host access method provide records as input to the Miscellaneous Data Racorder (MDR). The aceoss method recognize. NCPl and NCP2 MDR record. by the system response (X'OA') in the BTU. NCP# MOR records are identified by the second two bytes of the request/response unit (RU) in tho FIDl PIU. For MDR records, RU byte 1 = X'03' and RU byte 2 = X'Sl'. Bytes 3 and 4 of tho RU oontain the network address of tho failing unit, and byte 5 is the beginning of tho MDR record. The text portion of tho MDR records consists of a field of up to 35 byte•. The third byte of the field is the recording mode byte, which is used to differentiate among the types of NCP MOR records. The fourth byte, the record 10 byte. is always set to X'OS'. indicating to the host that this i•• 3704 or 3705 MOR record. In some of the records there is a field labeled Abend/Malfunction Code. If the record represents an error that caused the NCP to abend, this field contains the appropriate abend code. In this instance the MDR record never reaches the host, but remains in the check record pool (CRP). If, however, the error condition was one that might have caused an abend but was recovered from, the record is transferred to the host, and the abend code is treated as a malfunction code. When the error condition is one that could not cause an abend, this field is set to zero. When the MDR record ·is in the CRP, two CAP control bytes precede each record. Aefer "to the data area layout for more information abOut the CRP. MOR Record Format. 2Bl ~ !:l The records for permanent line errors and line statistics are created by the' iine error ree,order routine (C;XDILER). Record Format for Permanent Line Errors ~I ~ !:l ~ =l' .8 2(2) Recording 0(0) Line Interface Address 5(5) 4(4) 6(6) BTU Command BTU Modifier (BCHCMD)" (BCHMOD)" 8(8) BTU Flags (BCHSFLAG)" Record ID-X'OS' lOB Modifiers (lOBCMODS)" lOB Immediate Control Command (lOBIMCTL)" 14(E) 12(C) 15(F) lOB ~ g 18(12) 17(11) lOB 108 Initial Error Status Extended Status lOB Status (lOBSTAT)" Initial Error (lOBERST)* Extended (IOBEXTST)* if .,.5. ~ 3(3) 11(B) 9(9) lOB Command (lOBCMAND)" ~ " ~ *** Mode=X'OO' 1/0 Counter (DVBSDRT)" Status (IOBEREST)* 20(14) Temporary Error Counter 21(15) 22(16) 2740 Graphic Response Syte** 24(18) Device Features Device Type (DVBTYPE)* (DVBSDRE)* (DVBFEAT1)* I (DVBFEAT2)* *Indicates the control block field from which this MDA record field is loaded. (See "Data Area Layouts" section for field definitions.) **2740 graphic response byte is ~eroed if not applicable. *** Applies to SSC/55 devices as well as lines. " . .' .".,. (:. «- ~. ( ( 2(2) 0(0) Rocord Format for Station Statlsti"" C) Line Interface Address Recording Mod...X'OI' 1 3 (3)Record IO=X'05' 4(4) Hex Zeros 18(12) 110 Counter (OVBSORT)* 20(14) 24(18) 22(16) Temporary Error Counter Device Features (reserved if SOLC) (OVBSORE)* ------- ------- or SeB station or SCB total type (SCBTVPE) ifSOLC. retry count (SCBTRTCT) ifSOLC. - Device Type (OVBTVPE)* (OVBFEAT1)* I (OVBFEAT2)* • Indicates the control block field from which the MDR record field is loaded. (See "Data Area Layouts" section for field definitions), is " [" ." ~ ~ ~ ------------or SCB trans- mission counter (SCBTCNT) ifSOLC. i ~ The records on this and the following pages are created by revel 1 error propessing routines. They are preparitd fo~ transfer to the host by the error record transfer routine (CXOI ERT). Record Format for Type 1 Channel Adapter Errors [ 1 0(01 !:J 51 =!' ~ \4(4) \' \ AbehdiMalfunction Code 2(21 1 Recording Mode=X'10' 13(31 Record 'ID=X'05' 6(61 Error Record Type=~'84' (Type lCA) \ 'j " fif t Hex Zeros 16(1'0) External Register X'6:7' Type 1 CA Controls J ". T ,~, " /""''''''. ,"'t" , , { ( (:' ( Record Format for Type 2 Channel Adapter Errors Abend/Malfunction Code 4(4) 5(5) Error Record Lost Check Type* Record Count ICRPLCRCT) 121C) 8(8) 6(6) External Register X'50' INCWAR External Register X'56' Check Register X'58' Bus Out Diagnostic External Register X'5C' Command Register 'Type 2 CA 1=X'04' Type 2 CA 2=X'02' **With a 3705 over 64K, the first two bits of the address are the low-order two bits of the previous field. ;;: C :0 :0 [ " o ~ !li External Register X'52' Control Word Byte Count 18(12) External Register 22(16) Hex Zeros Record ID=X'05' lOlA) X'51' , OUTCWAR Register 20(14) Aecording Mode=X'10' External Register 16(10) 141E) External Register X'55' Control Register \3(3) 2(2) 0(0) External Register X'59' Cycle Steal Address Register** ~ Record Format for Type 1 Communication Scanner Errors 0(0) '"~ , Cl. !:l lJl I 4(4) Error Record Type = X'CO' 15(5) Lost Check Record Count (Type 1 Scanner) 13(3) Record ID=X'05' External Register External Register X'44' X'74' Status Register Lagging Address Register 16(10) 12(C) Interrupted Program Level's Instruction Address Register (Register 0) ~ ~ 1 6 (6) Recording Mode=X'll' 8(8) ICRPLCRCT) ~ ... ~ 1 2 (2) Abend/Malfunction Code m External Register X'79' Program Level Interrupted _J Record Format for Type 2 Communication Scanner Errors Cl. 0(0) g- /2( 2 ) Abend/Malfunction Code ~ 4(4) Error Record Type'" 1 5 (5)Lost Check Record Count (CRPLCRCT) 616 1 External Register X'43' Check Register 1 Record ID=X'05' External Register X'74' Lagging Address Register 16(10) Interrupted Program Level's Instruction Address Register (Register 0) External Register X'79' Program Level Interrupted 2 Scanner-l=X'40' 2Scanner-2:::X'20' 2 Scanner-3=X'10' 2 Scanner-4=X'08' "fI---. /313) 8(8) ) 121C) "'Type Type Type Type Recording Mode=X'11' .. " I '.,m-'", , , t £ t t Record Format for Type 3 Communication Scanner Errors 0(0) 4(4) Error Record Tvpe* 1 515 Lost Check } Record Count ICRPLCRCT} 1 616 } 121C) *Type 3 Scanner-l=X'41' Type 3 Scanner-2=X'21, Type 3 Scanner-30=X'11' Type 3 Scanner-4=X'09' s: o :XI i?i' 8 a. ." o 3 it ~ Abend/Malfunction 12(2 ) Code Recording Mode=X'll' 13(3)Record IO=X'05' SIS} External Register External Register X'43' Check Register 1 X74' Lagging Address Register 16110} Interrupted Program Level's External Register X'79' Instruction Address Register Program Level (Register 0) Interrupted 11S112} External Register X'42' Check Register 0 ~ Record Format for Input/Output Instruction Exceptions 0101 !:l Abend/Malfunction ~ m a. ~ I Code 4141 13131 Record ID=X'05' BIBI Error Record Type=X'20' Lost Check 5151Record Count ICRPLCRCTI 1 6161 External Register Instruction on which the error X'74' Lagging Address Register occurred. 1 121CI 161101 I nterrupted Program Level's ~ External Register X'79' Program Level Instruction Address Register (Register 0) :0 !a. Interrupted ~ ~ ~I 2121 Recording Mode=X'12' Record Format for Unresolved Program Level 1 Interrupt Requests (Type 2/3 scanner) g 0101 Abend/Malfunction "" 4141 5151 6161 2121 Recording Mode=X'13' Code Record ID=X'05' 8181 Error Record Lost Check External Register External Register Type=* Record Count X'76' Adapter Interrupt X'74' Lagging Address Register ICRPLCRCTI 13131 Requests Group 1 161101 121CI External Register X'79' Program Level Interrupted L. *Type 2 scanner=X'01' Type 3 scanner=X'03' 181121 Interrupted Program Level's Instruction Address .Register (Register 0) .. T External Register X'7E' CCU Interrupt Requests Group 1 /"" ,",'. I.· ; ~ ( ( c: ( 1 2 (21 Recording 1 3 (31Record ( Record Format for Invalid Instruction Operation Codes 0(01 Abend/Malfunction Code 4(41 Error Record Type=X'OS' 1 5 (51 Lost Check 1 6 (61 Record cou~~ (CRPLCRCT S(SI Instruction on which error occurred. 12(CI External Register X'14' Lagging Address Register 16(101 Interrupted Program Level's Instruction Address Register External Register X'7S' Program Level (Register 0) Interrupted I Record Format for Unresolved Program Level 3 Interrupt Requests This record is created by the level 3 Touter (CXCCRTR). 0(01 Abend/Malfunction Code s: o :c :c 8a. ." o 3 or ffi 4(41 Error Record Type=X'03' ID=X'05' Mode=X'12' \5(51Lost Check \6(61 1 2 (21 Recording Mode=X'13' 1 3 (31 Record ID=X'05' S(SI Record Count External Register X'77' Adapter Interrupt (CRPLCRCTI Requests Group 2 1 1S (121 Hex Zeros External Register X'7F' CCU Interrupt Requests Group 2 15 o Record Format for Permanent SDLe Errors 0(0) !:l . 2(2) Recording mode. Line interface address ~ 5. ~ 4(4) - 6(6) SGB Link scheduling flag. (SCBSSCF) I ~ ?; ~ £ iii' 5. go ~ 3(3) Record 10. X'OS' X'03'=Station error X'02'=Link error - 7(7) Reserved Output control flag. (SCBOCF) 8(8) LXB command. (LXBCMANO) 11(B) 9(9) LXB LXB modifiers (LXBCMOOS) Immediate control cmd. (LXBIMCTL) 12(C) lS(F) . 14(E) LXB status. (LXBSTAT) LX BSTAT LXBSTATC • 21 (15) 20(14) SGB Total retry Received BLU count. command field. (SCBTRTCT) (LXBRBLUC) 28(lC) SGB receive • 29(101 LXB extended status. (LXBEXTST) 22(16) (LXBERST) LXBERST LXBHSTAT 24(18) Reserved. SeB station tYpe. (SCBTYPE) • 30(lE) count. SCB send count. (SCBNR) (Bits 4,5,6) (SCBNS) (Bits 4,5,6) 17(11) LXB error status. eca control and type flags. (CCBCTL) 32(20) Command field received from 18(12) SCB transmission LXB initial error extended status. (LXBEREST) secondary station. (SCBTCNT) -. 26(lA) * 27(lB) - 25(19) Transmit BLU SCB current SCP pass command field outstanding count. count. (CCBCFLD) (SCBCOC) (SCBPCNT) _.- -- •• * 34(22) 33(21) N(R) and N(S) Command reject received from reason: secondary station. X'08'=lnvalid N(R). X'Q4'=Frame too long. X'02'=Oata received inSor NS format. X'Ol'=lnvalid command. SECCFR This field is present only if this record is for a station (for a link, field contains all zerosJ. **This field stored only for duplex" links. ***This field stored only if Command Reject was the cause of the MDR record being formatted. 'l.,' T - counter. /""'~ '1If - Section 16. EP Storage Maps EP (oldba.. ) Addres. (hex) I WI 000-500 680 888 6FO 6F6 700 700 702 710 Description Destroyed by dump. Direct addressables for Ie and STC instructions. 10 for CYANUC module. Pseudo BCB. (Type 1 scanner only) Character service routine address. (Type 1 scanner only) Direct addressables for lH and 5TH instructions. Pointer to c:;h~nnel v.ector table .. {The c.ontents of this location are destroyed if a dump is taken on a 3705 with dual RCS.· IPL register save a"rea. Queue control flags: X'40' - Stacked status serviCe. X'20' - Sense'service. X'10' - TID sequence. .,; I 711 712 714 718 71C 720 724 728 72C 72E 730 780 780 7AO 70C 7EO 800 840 ... ... ... ... ... X'QS' - Do not dequeue TIC. Active command count. (Equals the number of lines active.) aC8 table. (Address of last CCB using TID.) Priority-data-service-out queue (POSOO). Data-senlice-out queue (OSOQ). Data-service-in queue (OSlO). Status-out queue (SOQ). Sense-out queue (SNOO). Stacked-status queue (SSQ). Address pointer to the first character serviced (CSPQ1). Address pointer to last character serviced (CSPQ2). SVCO Group 0 register save area for RDS. Direct addressables for Land ST instructions. Group 0 register save area for level 1. Pointer to last entry in error log. Error log. Line vector table (Type 1 scanner) Line vector table. (Type 2 scanner) Channel vector table. (Begins on the first doubleword boundary following the line vector table.) Character control block. (Begins on the first doubleword boundary following the channel vector table). Line Group Table. (Begins on the first doubleword boundary following the last character control block.) Trace table pointers. (Immediately follows the EP load module.) Trace table. (Immediately follows the trace table pointers.) EP Storage Map 291 EP (new base) AddnIo (hex) Description 000-500 Destroyed by dump. Direct addros..bl.s for IC and src instructions. 680 10 for CYANUC module. 68B OIannel adapter select flag of IPL channel. 697 Levell ERP oount. 69B Module 10 (CYENUC). 69A Version and modification level. 6A2 Pseudo BCB.6FO Character service routine address. (Type 1 scanner only). 6F6 700 Direct addressables for LH and STH instructions. 700 Pointer to channel vector table. (The contants of this location are destroyed if a dump is taken on a 3705 with dual ROS. IPL register save area. 702 710 Pointer to CHCB for the first channel adapter 4. Pointer to CHCB for the second channel adapter 4. 712 Pointer to the next CHVT to be checked by the timer routine. 718 Address of the CHCB initialized for panel USB. 71A 71C Address of the error log. 71E Contents of ABAft when a level 1 interrupt occurs. Contents of Input X'79' when a level 1 interrupt occurs. (Indicates an 720 interrupted level.) 722 Contents of Input X'7&' when a level 1 interrupt occurs. (Indicates an adapter request.) Log·trace indicator: X'Dl' =Store log entry at byte displacements 6 and 7 724 of the trace entry. 726 72C 72E 730 760 760 7AO 840 ... ... ... ... ... Unhang subchannel switch: X'01' = Action is in progress to unhang the subchannels. Addre.. pointar to the first character serviced (CSP01). Address pointar to last character serviced (CSPQ2). SVCO Group 0 register save area for ROS. Direct addressables for Land ST instructions. Group oregister save area for level 1. Line vector tabl. (Type 2 scanner). Channel Control Block (CHCB). (Begins on the first doubleword boundary following the line vector table.) Character oontrol block. (Begins on the first doubleword boundary following the channel vector table). Line Group Tabhl. (Begin. on the first doublewrod boundary following the last character oontrol block.) Trace table pointe... (Immediately follows the EP load module.) Trace table. (Immediately follows the trace table pointers.) (/ 292 3704 and 3706 Program Reference Handbook ,~ (, ( External Register X'41' 0 Bit Positions 0 t Byte 0 3 4 0 0 0 X X X X X () Byte 1 3 4 7 X 0 0 Field ( I-" ~ Address Bits ! Interface X'O'· X'F' Type 1 Scanner Interface Address Bits ~ ~ I. '"" I ~ ~. oil tl '" ~ External ~ Bit Positions . i1 ~ c. ~ Register X'40' I U , OO=Scanner·l 01=;$canner-2 10=Scanner-3 11=Scanner4 ~ ;." ;,; ~ " , I Field ijl 4' ~c. U Address Bits .g g I OOO=Not Used 00l=Not Used Interface X'O'· X'F' 010=LIB pas 1 011=LlB pas 2 100=LlB pas 3 101=LlB pas 4 110=LlB pas 5' 111=LlB pas 6' *Invalid for Type 2 Scanner-l Note: Interface addressing in the 3704 with a Type 2 Scanner follows the same addressing scheme as a 3705 Type 2 Scanner-l, LIB position 1. Interface address bits 4,5,6,7, and 8 specify lines O-F in LIB Type Al. However, addresses 1,3, C, 0, E, and F are reserved. Ifthe scanner supports two LIas (LIB positions 1 and 2), all interface addresses are used. Type 2 &anner Interface Address Bits l /.".., 'T', /~, ",~ , , c: t. (c t INTERFACE ADDRESS ASSIGNMENTS (HEX) S/L (HEX) • Type 1 LIB position 1 Scanner 2 3 4 Type 2/3 Scanner-l LIB position 1 2 3 4' 00 01 02 03 1-> o I I I I I I I I I I I I I I I 1 2 3 - - ~ ~ f ~. '" 1ll LIB position 1 2 3 4 5' 6' Storage Address ASsignments (part 1 of 2) 5 6 7 rr 20 930 30 840 850 860 900 910 920 940 950 960 870 970 800 AOO 1810 Al0 A20 A30 1A40 1A50 1A60 1A70 BOO Bl0 B20 830 840 B50 B60 B70 9 8 A B C D r r 90 8AO BO 9CO 9DO 880 8DO 980 990 9AO 9BO 1A80 A90 1AAO ABO I ACO BCO 1ADO BBO B90 BAO BBO BCO BDO STORAGE ADDRESSES (HEX) E F r 8FO 8EO 9FO 9EO 1AEO 1AFO BEO BFO rr r 02 03 04 05 - 4 846 868 848 86A 86C 84E 850 852 54 876 6 878 858 a7A 5A 87C 85C a7E 85E 860 862 864 866 86E 870 872 874 840 882 T44 84A I 88C 84C 188E 1890 1892 894 896 1898 89A 1a9C 189E 880 864 1886 1888 188A 8AO 8A2 8A4 8A6 8A8 8AA 8AC 8AE 8BO 862 8B4 8B6 868 8SA 8BC 8BE OA OB OC OD OE OF - 940 960 980 9AO 9CO 9EO 3705 EXPANSION MODULE 1 Type 2/3 Scanner-2 4 STORAGE ADDRESSES (HEX)" STORAGE ADDRESSES (HEX) - - 942 962 982 9A2 9C2 9E2. 944 964 984 9A4 9C4 9E4 946 986 986 9A6 9C6 9E6 948 968 988 9A8 9C8 9E8 94A 96A 98A 9AA 9CA 9EA 94C 96C 98C 9AC 9CC 9EC 94E 96E 98E 9Ae 9CE 9EE 960 970 990 9BO 9DO 9FO 962 972 992 9B2 9D2 9F2 954 974 994 9B4 9D4 9F4 956 976 996 9B6 9D6 9F6 958 978 998 9B8 9D8 9F8 95A 97A 99A 9BA 9DA 9FA 95C 97C 99C 9BC 9DC 9FC 95E 97E 99E 9BE 9DE 9FE ~ INTERFACE ADD.RESS ASSIGNMENTS (HEX) S/L (HEX) ~ ~ ~ ~ Type 2/3 Scanner·3 !II, I °111213141516171S 3705 EXPANSION MDDU LE 2 f'" i I'" LIB position 1 2 3 4 5' 6' 12 13 14 15 16 17 - A40 A60 ABO AAO ACO AEO A42 A62 A82 AA2 AC2 AE2 A44 A64 A84 AA4 AC4 AE4 A46 A66 AS6 AA6 AC6 AE6 lA lB lC 10 lE IF - B40 BOO BOO BAO BCO BEO B42 B62 B82 BA2 BC2 BE2 B44 B84 B84 BA4 BC4 BE4 B46 B66 8S6 8AS BC6 BE6 3706 EXPANSION MODULE 3 Type 2/3 Scanner-4 LIB position 1 2 3 4 5' S' -_. 191AISICIDIEIF STORAGE ADORESSES (HEX) A4S A6S ABS AAS ACB AE8 l~ A6A ABA AA ACA AEA A6C A8C AAC ACC AEC A4E A6E ABE AAE ACE AEE A50 A70 A90 ABO ADO AFO A52 A72 A92 AB2 AD2 AF2 A54 A74 A94 AB4 AD4 AF4 A56 A76 A96 AB6 AD6 AF6 A58 A78 A9B ABB AD8 AF8 A5A A7A A9A ABA ADA AFA A5C A7C A9C ABC ADC AFC A6E A7E A9E ABE ADE AFE B54 B74 B94 BB4 BD4 8F4 S56 B76 B96 BB6 BD6 BFS B58 B78 B98 BB8 BOB BFS B5A 87A B9A BBA BOA BFA B5C B7C B9C BSC BDC BFC B5E B7E S9C BBE BDE BFE STORAGE ADDRESSES (HEX) B48 B68 BS8 BA8 BCS BE8 B4A B6A 88A BAA BCA SEA B4C B6C 8ac BAC BCC BEE B4E B6E BSE BAE BCE BEE B50 B70 890 BBO BOO BFO B52 B72 B92 BB2 BD2 BF2 *Not used for wpe 3 scanner **Storage addreSs X'6FO' is used for character service Storage Addre.; Assignments (part 2 of2) • ( c4f T - ~t· ;1_~ __ ' U~n 18: Index to .NCP and EP Rafaranca Material This index provides a pointer to NCP and EP reference material such as service aids, diagnostic aids, debug information, etc. Items that are in this handbook have a page number listed with their entry. If an item is located in another publication, an (X) appears under that pMicular publication's key. ~ IBM 3705 Communications Controller, N9twork Control Program~ VtJrSion I. PLM. SY30.JOO3. IBM 3704 and 3705 Communications Control/",s. Network Control ProgramNS. Version 2. PLM. SY30-3007. B C IBM 3704 snd 3705 Co",municstions Control,.,.. Network Control PragramNS, V......on 4, PLM, SY30-3013. IBM 3705 Communications Contro/Jer, Emulation Program, PLM, SY30-3001. D NCPfrCAM Network User's Guido. GC30-3009. E Guide to Using the IBM 3704 Communications Controller Control Panel. GA27-3086. Guide to Using the IBM 3705 Communications Controller Control Panel, GA27-3067. F IBM 3704 and 3705 Communications Controllers, Network Control Program, Generation and Utl/ities, Guide and Reference Manual, GC30-3000. IBM 3704 and 3705 Communications Controllers, Network Control Program/VS, Generation and Utilit;., Guide and Reference Manual, (for OSNS TCAM Users), GC30-3007. IBM 3704 and 3705 Communications Controllers, Network Control Program/VS, Generation and Utilities, Guide and Reference Manusl (for OSNS VTAM Users). GC30-300B. G IBM 3704 and 3705 Communications Controllers, Emulation Program, Generation and Utilities, Guide and Reference Manual, GC30·3002. H· IBM 3704 snd 3705 Communications Controllor, Prlnelplss of OptH'Btion, GCJO.3004. Index to NCP and EP Refarence Material 297 KEY ABC DE F G H abend codes 253 addressing . interface. line/LiB. . protect key. storage . . . . address trace (NCP) . description. . . implementation . . pointers to trace table X X X X XX X X 5. BHR . . . . . . . definition . . . . macros . . . . . . bring·up test (see initial test) BTU commands 203. BTU responses 223 BTU trace . . . . channel adapter trace codes. . . . . abend 253. EP generation . NCP generation request 211. response. . . BTU 223. system 223 commands . . . BTU 203 . . channel. . . control . . . . . . network lNCP#) 211. SDLC (NCP#J 219 teleprocessing. . . . EP 221 . . . . NCP 203 . . . . control blocks (see data area) . data area . . . . . . . layouts (see table of contents) location. . . . relationships 1. diagnostic wrap (EP). displays. . dump . . . . EP. XX X X X X X X X X X X XX X X X X X X X X X X NCP . • . dynamic display EP . . . X XX NCP X error log (EP) . error records . MDR 281 sense/status. EP . . . X X X X X NCP . error recovery . EP . . . . X NCP . • . exception responses external registers . labels.. . 237 . usage format of storage. EP . . . 231 . NCP . . ICW 243. initial test EP . . . NCP • . 298 X X 3704 and 3705 Program Reference Handbook X X X X X X X X X X X X X KEY A B C 0 E F instructions 233. . . . . . interpretive command (see OlTT or OllT) . line test (take·a-line) . line trace . functions EP. NCP format EP. NCP implementation EP . . . . NCP . . . macro . . . . . . block handler (NCP) . EP generation. . instructions. . NCP generation . supervisor (NCP) . MOR 281 . . messages and cO,des abend 253. EP generation . NCP generation response (BTU) 223. system (BTU) 223. 241 modem leads module ideOt1fication EP . . NCP . . . . . . . network commands (NCP #) 211. OLLTINCP#) 211 . . execution . _ . _ . interpretive commands. OLLT . . . EP execution . _ . _ . interpretive commands (NCP). NCP execution panel. _ . displays. functions operation protect keys registers. input/output 237 general . . request codes 211. responses . . . . BTU 223. excepti9n 231 . SOLC commands INCP#) 219. sense bit settings . EP. NCP service aids. . . . abend codes 253. address trace (NCP) . BTU trace . . . . channel adapter trace dump . . . . . . EP. NCP . initial test (bring-up test) EP.. . NCP . . . line trace . . EP. NCP 179. GH X X X X X X X X X X X X X X X X X X X X X X X X X XX X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X Index to NCP and EP Reference Material 299 KEY ABC DE F MOR 281 QLLT(NCP#) OLTT GH X X X ... X EP • . . . NCP . . • . . X X take·a-line (see line test) status bit settings. EP • • . . . NCP . . • . storage keys . . storage map (EP) • X X .X X switches, panel . . take-a-Jine (see line test) trace. . . . . . address . . . description. X . . XX X X implementation pointers 5. ~annel adapter description. table 177. EP and PEP. X . description. table 180. X line (NCP) . . description. 179. 6. translate tables 261 X X table pointers . . . . . units of tran$fer (general data flow) . EP. . . . • . . NCP . • • • • • • . • . 300 3704 and 3705 Program Reference Handbook X X X X .., .., FORMAT Nom, Imtructian C, Z 3704 3705 Cycles Cycles 0 I 2 31_ 2 I I 0 I 0 I 5 6 7 8 8 B,anch BCl Bronch C latch 2 I I 0 0 I 1 BZl Broner on Z Latch 2 I I 0 0 0 I BCT Branch on Cou", 3 I I 0 I I I I BB Branch on B,I 3 I I I M M I M LRI load Reg;He, Irnrr'tod ,:'t 3 I I 0 0 0 0 ARI Add Reg>.tel jmrrt'J:, k 3 I 0 0 I 0 SR I Subtloct Rc'9j~tt" 3 I I 0 I 0 0 3 I I 0 I I 0 3 I I I 0 0 0 0 .... 10 9 11 112 13 14 I I I T I XRi I,..., ...... ecijot .. COlTpure Reg;;le' ImmediOlt; Exclu~i"e Or Regi,t€, ImMediate ORI Or Registe, 3 I I I 0 I 0 NRI And Regisle: !mrpediol/: 3 I I I I 0 0 T'M I I I 0 !mrn<,d:olt;" R N ! )I I T CRI 15 I ! )I I Test Reg;;te, unoe, M(J,>k 3 I I LCR load Chafoc\el Registe, 3 I 0 0 0 0 0 ACR Add CholQcte, Regi,te, 3 I 0 0 0 0 , Subtract Choroclel 3 , 0 0 0 0 0 I 0 3 I 0 N, 0 0 I , r---T""" SCR RegiHel 0 I 0 0 0 I 0 0 0 I 0 0 0 1 0 0 0 0 CCR Compare ChorQcte! XCR Exclusive Or Character Regishn 3 I 0 0 0 , 0 0 , 0 0 OCR OR Choracter Registe, 3 I 0 0 0 I 0 I I 0 0 0 NCR And Character Register 3 I 0 0 0 I 0 I 0 0 0 3 I 0 0 , I I I 0 0 0 , , , 0 0 LCOR Register load Character with Offset R(;gister R2 "'2 0 0 ~ Insert Character and 5 2 0 0 5 2 0 0 Insert Ch:Jrocter 4 2 0 STC Store Chorocter 4 2 0 LH Lood Halfword 4 2 0 0 STH Store Ho I fword 4 2 0 0 ICT STC! IC Count Store Character and Count . R, R I I B N 0 I 0 0 0 0 0 0 0 0 0 0 0 , - D I: 0 D 1 R I: L Load 5 2' 0 0 ST Store 5 2' 0 0 LHR Load Holfword 3 1 0 0 I 0 0 0 0 0 0 0 AHR Add Halfword 3 1 0 0 1 0 0 1 0 0 0 0 1 0 0 I 0 0 I 0 , 0 0 0 0 I 0 0 0 I 0 0 0 Regi~tef Regi~ter XHR Subtroct Halfword Register Compare Holfword Register Exclusive Or Holfword OHR OR Helfword Register NHR And Holfword LHOR Load He I fword with Offset Register 3 LR Lood Register 3 AR Add Registel 3 5HR CHR Reg;~tel Reg;~ter 3 3 3 3 3 , , , , , - R2 , - , I , D , , I , 0 0 0 I 0 0 0 0 I , , , 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 , I 0 0 0 0 I 0 0 0 0 0 I I 0 0 0 0 1 0 I 0 0 0 0 0 0 0 0 I 0 0 0 0 0 0 0 Re9i~ter 3 I 0 0 X. Exclusive Or Register 3 I 0 0 OR :JR Register 3 0 NR And Register 3 , 0 0 0 , , , LOR Load with Offset Register 3 I 0 0 , I BALR 8ranch & Link Register 4 2 0 0 , IN Input 2 , 0 OUT Output 2 I 0 8AL Branch & link 3 2 ,0'011 LA Load Address 3 2 I EXIT Exit 2 , , ,, - I 0 ,, , , , , 0 I , , 0 R 0 0 I I 0 0 0 0 0 0 0 0 0 I~ E 0 0 0 I I , , I , , 0 E I nstruction Bit Structure 0 0 Subtract 0=+ 0 0 I Compare Registel * '" 3 Cycles with Extended Addressing 0 0 0 SR ,.. '" Instructions that con olter condition latches. )11 " - 0 1 I C' 0 0 0 3 , 0 0 R, 0 , 0 0 0 0 0 a 0 0 I 0 0 ~O , 0 0 0 1 0 0 I 0 0 16 :I 0 A f: / GY30-3012-4 Intern.lonel B"~..... Meehlne, Corporellon De.. Proc....... DIYI,lon 1133 W..lch..ler Av_, White PIIIInI, New York 1Il104 (U.S.A. only) IBM World Trllde CorporMion 121 UnltllCl Nellon, PIeD, New York, New YOrk 10017 (lnterMllonel)
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-c041 52.342996, 2008/05/07-21:37:19 Create Date : 2018:10:07 16:06:40-08:00 Modify Date : 2018:10:07 16:14:16-07:00 Metadata Date : 2018:10:07 16:14:16-07:00 Producer : Adobe Acrobat 9.0 Paper Capture Plug-in Format : application/pdf Document ID : uuid:453b0195-f735-844e-81a6-7637a71cf3c8 Instance ID : uuid:4c33984d-00bd-e143-bd7f-a779ea3a9f46 Page Layout : SinglePage Page Mode : UseNone Page Count : 312EXIF Metadata provided by EXIF.tools