Table of Contents

BSCBLOKS Source

References

Source Listing

BSCBLOKS.COPY.txt
  1. *COPY BSCBLOKS 00001000
  2. PUSH PRINT 00001200
  3. AIF ('&SYSPARM' NE 'SUP').BSC01 00001400
  4. PRINT OFF,NOGEN 00001600
  5. .BSC01 ANOP 00001800
  6. BSCBLOK DSECT 00002000
  7. SPACE 1 00003000
  8. *** BSCBLOK - BINARY SYNCHRONOUS COMMUNICATION CONTROL BLOCK 00004000
  9. * 00005000
  10. * 0 +-----------------------------------------------+ 00006000
  11. * | BSCSCCW1 | 00007000
  12. * 8 +-----------------------------------------------+ 00008000
  13. * | BSCSCCW2 | 00009000
  14. * 10 +-----------------------------------------------+ 00010000
  15. * | BSCSCCW3 | 00011000
  16. * 18 +-----------------------------------------------+ 00012000
  17. * | BSCPCCW1 | 00013000
  18. * 20 +-----------------------------------------------+ 00014000
  19. * | BSCPCCW2 | 00015000
  20. * 28 +-----------------------------------------------+ 00016000
  21. * | BSCPCCW3 | 00017000
  22. * 30 +-----------------------------------------------+ 00018000
  23. * | BSCPCCW4 | 00019000
  24. * 38 +-----------------------------------------------+ 00020000
  25. * | BSCECCW1 | 00021000
  26. * 40 +-----------------------------------------------+ 00022000
  27. * | BSCECCW2 | 00023000
  28. * 48 +-----------------------------------------------+ 00024000
  29. * | BSCUECCW | 00025000
  30. * 50 +-----------------------------------------+-----+ 00026000
  31. * | BSCSEL | B*1 | 00027000
  32. * 58 +-----+-----------------------------------------+ 00028000
  33. * | B*2 | B*3 | BSCINDEX | BSCRESVD | 00029000
  34. * 60 +-----------------------+-----------------------+ 00030000
  35. * | BSCSPTR | BSCAUSER | 00031000
  36. * 68 +-----------------------+-----------------------+ 00032000
  37. * | BSCUCOPY | BSCRSTRT | 00033000
  38. * 70 +-----------+-----------+-----------+-----------+ 00034000
  39. * | BSCCNT | BSCSENSE | BSCRCVD | BSCSEND | 00035000
  40. * 78 +-----------------------+-----------------------+ 00036000
  41. * | BSCRPTR | BSCRROBN | 00037100
  42. * 80 +-----------------------+-----------+-----------+ 00038000
  43. * | BSCTMRQ | BSCRESP | | 00039000
  44. * 88 +-----------------------+-----------+ 00040000
  45. * | | 00041000
  46. * = BSCREAD = 00042000
  47. * | | 00043000
  48. * 128 +-----------------------------------------------+ 00044000
  49. * 00045000
  50. *** BSCBLOK - BSC CONTROL BLOCK 00046000
  51. SPACE 1 00047000
  52. BSCSCCW1 DS 1D CCW FOR WRITE RESET 00048000
  53. BSCSCCW2 DS 1D CCW FOR ADDRESSING OR SELECTION 00049000
  54. BSCSCCW3 DS 1D CCW FOR READ RESPONSE TO SELECTION 00050000
  55. BSCPCCW1 DS 1D CCW FOR WRITE RESET 00051000
  56. BSCPCCW2 DS 1D CCW FOR GENERAL/SPECIFIC POLLING 00052000
  57. BSCPCCW3 DS 1D CCW FOR NO-OP COMMAND CCW 00053000
  58. BSCPCCW4 DS 1D CCW FOR READ TEXT 00054000
  59. BSCECCW1 DS 1D CCW FOR WRITE ERROR RESPONSE 00055000
  60. BSCECCW2 DS 1D CCW TO TRANSFER CONTROL TO READ CCW 00056000
  61. BSCUECCW DS 1D CCW FOR READ RESPONSE ON TIMEOUT 00057000
  62. BSCSEL DS 7X ADDRESSING/POLLING ENTRY 00058000
  63. BSCFLAG DS 1X B*1 BSCBLOK FLAGS 00059000
  64. BSCFLAG1 DS 1X B*2 BSCBLOK FLAGS 00060000
  65. BSCLINE DS 1X B*3 LINE COORDINATE FOR INPUT AREA 00061000
  66. BSCINDEX DS 1H INDEX VALUE FOR AVAILABLE SPACE IN BUFFER 00062000
  67. BSCRESVD DS 4X RESERVED FOR FUTURE USE 00063000
  68. BSCSPTR DS 1F WRITE CCW STRING ADDR/ADDR OF BUFFER 00064000
  69. BSCAUSER DS 1F ADDRESS OF ACTIVE RESOURCE 00065000
  70. BSCUCOPY DS 1F ADDRESS OF COPY REQUESTOR'S NICBLOK 00066000
  71. BSCRSTRT DS 1F ADDRESS OF RESTART CCW STRING 00067000
  72. BSCCNT DS 1H RETRY COUNT 00068000
  73. BSCSENSE DS 1H SENSE BYTES FROM REMOTE STATION 00069000
  74. BSCRCVD DS 1H EXPECTED RECEIVED ACK (ACK-0/ACK-1) 00070000
  75. BSCSEND DS 1H SENDING ACK (ACK-0/ACK-1) 00071000
  76. BSCRPTR DS 1F ADDRESS OF THE READ BUFFER @VA08730 00072100
  77. BSCRROBN DS 1F ADDRESS OF ACTIVE USER IN QUEUE 00073000
  78. BSCTMRQ DS 1F POINTER TO TRQBLOK FOR POLL DELAY 00074000
  79. BSCRESP DS 1H RESPONSE BUFFER FOR SELECTION 00075000
  80. BSCREAD DS CL264 READ BUFFER FOR POLLING @VA05141 00076500
  81. SPACE 1 00077000
  82. BSCSIZE1 EQU *-(BSCREAD+1) READ BUFFER SIZE IN BYTES 00078000
  83. BSCSIZE2 EQU (BSCREAD-BSCBLOK) BSC HEADER SIZE IN BYTES 00079000
  84. BSCSIZE EQU (*-BSCBLOK+7)/8 BSCBLOK SIZE IN DOUBLE WORDS 00080000
  85. SPACE 1 00081000
  86. * BITS DEFINED IN BSCFLAG: 00082000
  87. BSCRVI EQU X'80' SENDING RVI RESPONSE 00083000
  88. BSCENQ EQU X'40' ENQ IN DATA FROM STATION 00084000
  89. BSCCOPY EQU X'20' COPY FUNCTION IS ACTIVE 00085000
  90. BSCOPIED EQU X'10' INITIATE COPY FUNCTION 00086000
  91. BSCREGEN EQU X'08' REGENERATION ERROR 00087000
  92. BSCTSTRQ EQU X'04' IGNORE INPUT PROCESSING 00088000
  93. BSCLOG EQU X'02' BYPASS FORCE MESSAGE AT LOGOFF 00089000
  94. BSCSCAN EQU X'01' SECOND SCAN FOR WRITE REQUEST 00090000
  95. SPACE 1 00091000
  96. * BITS DEFINED IN BSCFLAG1: 00092000
  97. BSCETB EQU X'80' STATION TRANSMITTED BLOCK RECORD 00093000
  98. BSCIGN EQU X'40' IGNORE BLOCK RECORD 00094000
  99. BSCPA1 EQU X'20' INDICATOR TO CALL DMKCFMBK 00095000
  100. BSCINBID EQU X'10' INITIAL BID SEQUENCE REQUIRED 00096000
  101. BSCFORCE EQU X'08' USER FORCE IN PROGRESS 00097000
  102. BSCHALT EQU X'04' HALT I/O HAS BEEN ISSUED FOR THIS DEVICE 00098000
  103. BSCSHUT EQU X'02' NETWORK SHUTDOWN IN PROGRESS @VA11623 00098100
  104. EJECT 00099000
  105. POP PRINT 00100000
  106. SPACE 00101000