Table of Contents

BGCOM Source

References

Source Listing

BGCOM.MACRO.txt
  1. MACRO 00001000
  2. BGCOM &SECT 00002000
  3. PUSH PRINT 00002100
  4. AIF ('&SYSPARM' NE 'SUP').ACC01 00002200
  5. PRINT OFF,NOGEN 00002300
  6. .ACC01 ANOP 00002400
  7. AIF ('&SECT' EQ 'CSECT').CSECT 00003000
  8. BGCOM DSECT 00004000
  9. AGO .CONT 00005000
  10. .CSECT ANOP 00006000
  11. ENTRY BGCOM 00007000
  12. BGCOM DS 0D BACKGROUND COMM. REGION 00008000
  13. USING BGCOM,0 00009000
  14. .CONT ANOP 00010000
  15. JOBDATE DC C'00/00/00' . 00 JOB DATE 00011000
  16. PPBEG DC S(0) . 08 SUPERVISOR END 00012000
  17. EOSSP DC S(0) . 10 END OF STORAGE PROTECTION 00013000
  18. DC 11X'00' . 12 USER SCRATCH AREA 00014000
  19. UPSI DC X'00' . 23 UPSI BYTE 00015000
  20. COMNAME DC CL8'CMS/DOS' . 24 JOB NAME 00016000
  21. PPEND DC A(0) . 32 HIGHEST STORAGE ADDRESS OF PARTITION 00017000
  22. HIPHAS DC A(0) . 36 END ADDRESS OF LAST PHASE LOADED 00018000
  23. HIPROG DC A(0) . 40 END ADDRESS OF LONGEST PHASE LOADED 00019000
  24. LABLEN DC H'0' . 44 LENGTH OF PROBLEM PROGRAM LABEL AREA 00020000
  25. PIK DC X'0010' . 46 PROGRAM INTERRUPT KEY 00021000
  26. EOCADR DC A(0) . 48 END OF VIRTUAL STORAGE ADDRESS 00022000
  27. CONFIG DC B'11101000' . 52 MACHINE CONFIGURATION BYTE 00023000
  28. LTACT DC B'00010000' . 53 SYSTEM CONFIGURATION BYTE 00024000
  29. SOB1 DC B'11000100' . 54 STANDARD LANGUAGE TRANSLATOR OPTIONS 00025000
  30. SOB2 DC B'11011010' . 55 STANDARD SUPERVISOR OPTIONS 00026000
  31. JCSW1 DC B'10010000' . 56 JOB CONTROL BYTE 00027000
  32. JCSW2 DC B'00000000' . 57 LINKAGE CONTROL BYTE 00028000
  33. JCSW3 DC B'11000100' . 58 NON-STD LANGUAGE TRANSLATOR OPTIONS 00029000
  34. JCSW4 DC B'10000000' . 59 JOB DURATION INDICATOR BYTE 00030000
  35. DALC DC H'0' . 60 DISK ADDRESS OF VOLUME LABEL 00031000
  36. FOCLPT DC S(0) . 62 ADDRESS OF FOCL 00032000
  37. AIF ('&SECT' EQ 'CSECT').B1 00033000
  38. PUBPT DC S(0) . 64 ADDRESS OF PUB 00034000
  39. AGO .B2 00035000
  40. .B1 ANOP 00036000
  41. PUBPT DC S(PUBTAB) . 64 ADDRESS OF PUB 00037000
  42. .B2 ANOP 00038000
  43. FAVPT DC S(0) . 66 ADDRESS OF FAVP 00039000
  44. JIBPT DC S(0) . 68 ADDRESS OF JIB 00040000
  45. TEBPT DC S(0) . 70 ADDRESS OF TEB 00041000
  46. AIF ('&SECT' EQ 'CSECT').B3 00042000
  47. FICLPT DC S(0) . 72 ADDRESS OF FICL 00043000
  48. NICLPT DC S(0) . 74 ADDRESS OF NICL 00044000
  49. LUBPT DC S(0) . 76 ADDRESS OF LUB 00045000
  50. AGO .B4 00046000
  51. .B3 ANOP 00047000
  52. FICLPT DC S(FICL) . 72 ADDRESS OF FICL 00048000
  53. NICLPT DC S(NICL) . 74 ADDRESS OF NICL 00049000
  54. LUBPT DC S(LUBTAB) . 76 ADDRESS OF LUB 00050000
  55. .B4 ANOP 00051000
  56. SYSLINE DC AL1(56) . 78 SYSLST LINE COUNT 00052000
  57. SYSDATE DS 0CL9 . 79 SYSTEM DATE 00053000
  58. MMDD DC XL4'00' MMDD OR DDMM 00054000
  59. YYDDD DC XL5'00' YYDDD PORTION OF DATE 00055000
  60. LIOCSCOM DC 2X'00' 88 LIOCS COMMUNICATION BYTES 00056000
  61. AIF ('&SECT' EQ 'CSECT').B5 00057000
  62. PIBPT DC S(0) . 90 ADDRESS OF PIB 00058000
  63. AGO .B6 00059000
  64. .B5 ANOP 00060000
  65. PIBPT DC S(PIBTAB) . 90 ADDRESS OF PIB 00061000
  66. .B6 ANOP 00062000
  67. CHKPTID DC H'0' . 92 LAST CHECKPOINT NUMBER 00063000
  68. JOBZON DC S(0) . 94 JOB ZONE IN MINUTES 00064000
  69. DIBPT DC S(0) . 96 BACKGROUND DIB POINTER 00065000
  70. DC H'0' . 98 RESERVED 00066000
  71. AIF ('&SECT' EQ 'CSECT').B7 00067000
  72. PCPTR DC S(0) . 100 PC OPTION TABLE 00068000
  73. AGO .B8 00069000
  74. .B7 ANOP 00070000
  75. PCPTR DC S(PCTAB) . 100 PC OPTION TABLE 00071000
  76. .B8 ANOP 00072000
  77. ITPTR DC S(0) . 102 IT OPTION TABLE 00073000
  78. OCPT DC S(0) . 104 OC OPTION TABLE 00074000
  79. PWTIMS DC X'0000' . 106 KEY OF PROGRAM WITH IT SUPPORT 00075000
  80. DC H'0' . 108 RESERVED 00076000
  81. LTK DC S(0) . 110 LOGICAL TRANSIENT KEY 00077000
  82. SYSPAR DC F'0' . 112 ADDRESS OF SYSPARM 00078000
  83. JAPART DC F'0' . 116 ADDRESS OF JOB ACCOUNTING TABLE 00079000
  84. TODCOM DC A(0) . 120 ADDR OF TOD COMMUNICATIONS AREA 00080000
  85. AIF ('&SECT' EQ 'CSECT').B9 00081000
  86. PIB2PTR DC S(0) . 124 ADDRESS OF PIB EXTENSION 00082000
  87. AGO .B10 00083000
  88. .B9 ANOP 00084000
  89. PIB2PTR DC S(PIB2TAB) . 124 ADDRESS OF PIB EXTENSION 00085000
  90. .B10 ANOP 00086000
  91. PDTABB DC S(0) . 126 ADDR OF MICR DTF TABLE 00087000
  92. IJLQTTAD DC A(0) . 128 ADDR OF QTAM VECTOR TABLE 00088000
  93. AIF ('&SECT' EQ 'CSECT').B11 00089000
  94. BGCOMPT DC S(0) . 132 ADDRESS OF BACKGROUND COMREG 00090000
  95. AGO .B12 00091000
  96. .B11 ANOP 00092000
  97. BGCOMPT DC S(BGCOM) . 132 ADDRESS OF BACKGROUND COMREG 00093000
  98. .B12 ANOP 00094000
  99. OPTNBYTE DC X'00' . 134 OPTION INDICATOR BYTE 00095000
  100. RMSROPEN DC B'00000000' . 135 SYSTEM CONFIG BYTE 2 00096000
  101. COMEX DC A(0) . 136 PTR. TO SYSCOM OPTION TABLE 00097000
  102. STDOPT DC B'01000000' . 140 STANDARD JOB CONTROL OPTION BYTE 00098000
  103. TEMOPT DC B'01000000' . 141 TMPORARY JOB CONTROL OPTION BYTE 00099000
  104. DISKCONF DC X'00' . 142 DISK CONFIGURATION BYTE 00100000
  105. PROCNAM DC CL8' ' . 143 PROCEDURE NAME 00101000
  106. PSWTCH DC X'0' . 151 INTERFACE BYTE FOR CATAL. PROC. 00102000
  107. POVNAM DC CL7' ' . 152 SAVE AREA FOR STATEMENT NAME 00103000
  108. INSIZE DC X'0' . 159 81 BYTE SYSIN INDICATOR 00104000
  109. AIF ('&SECT' NE 'CSECT').END 00105000
  110. DROP 0 00106000
  111. .END ANOP 00107000
  112. EJECT 00108000
  113. POP PRINT 00108100
  114. MEND 00109000