Table of Contents

SYSLOCS Source

References

Source Listing

SYSLOCS.MACRO.txt
  1. MACRO 00001000
  2. SYSLOCS 00002000
  3. .* THIS MACRO GENERATES SYSTEM COUNTS AND POINTERS 00003000
  4. .* IT IS 'LIVE' IN THE DMKSYS PROGRAM, BUT A 'DSECT' IN ALL OTHERS: 00004000
  5. .* ADD MORE DATA TO THE END, AS NEEDED. 00005000
  6. AIF ('&SYSECT' EQ 'DMKSYS').SYS1 SKIP 'DSECT' IF DMKSYS PRG 00007000
  7. PUSH PRINT 00007200
  8. AIF ('&SYSPARM' NE 'SUP').SLO01 00007400
  9. PRINT OFF,NOGEN 00007600
  10. .SLO01 ANOP 00007800
  11. SYSLOCS DSECT - NOTE: USE ASYSLC = V(DMKSYSLC) TO REFERENCE 00008000
  12. AGO .SYS2 SKIP 'ENTRY' CARDS. 00009000
  13. .SYS1 ANOP @V60BBBC 00010000
  14. .* @V60BBBC 00010020
  15. .* BEFORE GOING ANY FURTHER, LET'S BE SURE ALL THE @V60BBBC 00010040
  16. .* REQUIRED MACROS HAVE BEEN SPECIFIED. @V60BBBC 00010060
  17. GBLC &SY$USR HRC033DK 00010086
  18. GBLC &SY$IPL HRC036DK 00010094
  19. GBLC &SY$OWN HRC036DK 00010096
  20. GBLC &SY$RES @V60BBBC 00010100
  21. GBLC &SY$OPR @V60BBBC 00010120
  22. GBLC &SY$COR @V60BBBC 00010140
  23. GBLC &SY$TIME @V60BBBC 00010160
  24. GBLC &SY$MON @V60BBBC 00010180
  25. GBLC &SY$JRL @V60BBBC 00010200
  26. GBLC &SY$ID HRC108DK 00010210
  27. LCLB &FAIL @V60BBBC 00010220
  28. AIF ('&SY$USR' NE '').OK05 HRC033DK 00010250
  29. &FAIL SETB 1 @V60BBBC 00010260
  30. MNOTE 16,'====> SEVERE ERROR. THE SYSUSR MACRO MUST BE SPECIFI+00010290
  31. ED IN THIS ASSEMBLY. <====' @V60BBBC 00010300
  32. .OK05 ANOP , HRC033DK 00010303
  33. AIF ('&SY$OWN' NE '').OK10 HRC033DK 00010306
  34. &FAIL SETB 1 HRC033DK 00010309
  35. MNOTE 16,'====> SEVERE ERROR. THE SYSOWN MACRO MUST BE SPECIFI+00010312
  36. ED IN THIS ASSEMBLY. <====' HRC033DK 00010315
  37. .OK10 AIF ('&SY$RES' NE '').OK20 @V60BBBC 00010320
  38. &FAIL SETB 1 @V60BBBC 00010340
  39. MNOTE 16,'====> SEVERE ERROR. THE SYSRES MACRO MUST BE SPECIFI+00010360
  40. ED IN THIS ASSEMBLY. <====' @V60BBBC 00010380
  41. .OK20 AIF ('&SY$OPR' NE '').OK30 @V60BBBC 00010400
  42. &FAIL SETB 1 @V60BBBC 00010420
  43. MNOTE 16,'====> SEVERE ERROR. THE SYSOPR MACRO MUST BE SPECIFI+00010440
  44. ED IN THIS ASSEMBLY. <====' @V60BBBC 00010460
  45. .OK30 AIF ('&SY$COR' NE '').OK40 @V60BBBC 00010480
  46. &FAIL SETB 1 @V60BBBC 00010500
  47. MNOTE 16,'====> SEVERE ERROR. THE SYSCOR MACRO MUST BE SPECIFI+00010520
  48. ED IN THIS ASSEMBLY. <====' @V60BBBC 00010540
  49. .OK40 AIF ('&SY$TIME' NE '').OK50 @V60BBBC 00010560
  50. &FAIL SETB 1 @V60BBBC 00010580
  51. MNOTE 16,'====> SEVERE ERROR. THE SYSTIME MACRO MUST BE SPECIF+00010600
  52. IED IN THIS ASSEMBLY. <====' @V60BBBC 00010620
  53. .OK50 AIF ('&SY$MON' NE '').OK60 @V60BBBC 00010640
  54. &FAIL SETB 1 @V60BBBC 00010660
  55. MNOTE 16,'====> SEVERE ERROR. THE SYSMON MACRO MUST BE SPECIFI+00010680
  56. ED IN THIS ASSEMBLY. <====' @V60BBBC 00010700
  57. .OK60 AIF ('&SY$JRL' NE '').OK70 @V60BBBC 00010720
  58. &FAIL SETB 1 @V60BBBC 00010740
  59. MNOTE 16,'====> SEVERE ERROR. THE SYSJRL MACRO MUST BE SPECIFI+00010760
  60. ED IN THIS ASSEMBLY. <====' @V60BBBC 00010780
  61. .OK70 ANOP HRC036DK 00010801
  62. AIF ('&SY$IPL' NE '').OK80 HRC036DK 00010802
  63. MNOTE 4,'SYSIPL MACRO NOT SPECFIED. DEFAULT VALUE OF NO AUTO I+00010803
  64. PL HAS BEEN SET' HRC036DK 00010804
  65. .* HRC036DK 00010805
  66. ENTRY DMKSYSIP AUTO IPL START TYPE HRC036DK 00010806
  67. .* HRC036DK 00010807
  68. DMKSYSIP DC X'00' NO AUTO IPL (DEFAULT) HRC036DK 00010808
  69. .* HRC036DK 00010809
  70. .OK80 ANOP HRC036DK 00010810
  71. AIF ('&SY$ID' NE '').OK90 HRC108DK 00010811
  72. MNOTE 0,'SYSID macro not specified. Default value assumed.' 00010812
  73. .* HRC108DK 00010813
  74. ENTRY DMKSYSIC,DMKSYSIL,DMKSYSID HRC108DK 00010814
  75. .* HRC108DK 00010815
  76. DMKSYSIC DC F'0' Count of entries in SYSID list HRC108DK 00010816
  77. DMKSYSIL DS 0XL14 No list entries HRC108DK 00010817
  78. DMKSYSID DS 0D HRC108DK 00010818
  79. DC CL8' ' Default system id (blank) HRC108DK 00010819
  80. .* HRC108DK 00010820
  81. .OK90 ANOP HRC108DK 00010821
  82. AIF (NOT &FAIL).OK99 HRC108DK 00010822
  83. MEXIT HRC108DK 00010823
  84. .OK99 ANOP ALL PRESENT AND ACCOUNTED FOR HRC036DK 00010850
  85. .* NEED 'ENTRY' CARDS FOR 'DMKSYS' PROGRAM. @V60BBBC 00010860
  86. ENTRY DMKSYSLC 00011000
  87. DMKSYSLC DS 0D - ENTRY POINT FOR 'SYSLOCS' INFORMATION 00012000
  88. SPACE 00013000
  89. ENTRY DMKSYSDT,DMKSYSTM,DMKSYSLW,DMKSYSLG 00014000
  90. ENTRY DMKSYSNM,DMKSYSMA,DMKSYSMU,DMKSYSND 00015000
  91. ENTRY DMKSYSLB,DMKSYSUD,DMKSYSPL 00016000
  92. ENTRY DMKSYSDW 00017000
  93. ENTRY DMKSYSLE,DMKSYSLD,DMKSYSCD,DMKSYSES 00018000
  94. ENTRY DMKSYSCK 00019000
  95. .SYS2 ANOP 00020000
  96. SPACE 00021000
  97. DMKSYSDT DC CL8'MM/DD/YY' - DATE OF SYSTEM LOG MESSAGE 00022000
  98. DMKSYSTM DC CL8'HH:MM:SS' - TIME OF SYSTEM LOG MESSAGE 00023000
  99. DMKSYSLW DC X'00',X'00',CL10' ' WEEKDAY OF SYSTEM LOG MESSAGE 00024000
  100. DMKSYSLG DC A(0) - POINTER TO 1ST LOG MESSAGE BLOCK 00025000
  101. SPACE 2 00026000
  102. DMKSYSNM DC F'0' - CURRENT NUMBER OF USERS ON THE SYSTEM 00027000
  103. DMKSYSMA DC F'0' - MAXIMUM NUMBER OF USERS ALLOWED ON 00028000
  104. DMKSYSMU DC F'0' - MAXIMUM NUMBER OF USERS ON THE SYSTEM 00029000
  105. DMKSYSND DC F'0' - NUMBER OF DIALED USERS ON THE SYSTEM 00030000
  106. SPACE 2 00031000
  107. DMKSYSLB DC A(0) - POINTER TO USER DIRECTORY LOCK BLOCK 00032000
  108. DMKSYSUD DC A(0) - POINTER TO START OF USER DIRECTORY ON SYSRES 00033000
  109. DMKSYSPL DC A(0) - POINTER TO A LIST OF VIRTUAL PAGE BUFFERS 00034000
  110. DC A(0) - RESERVED FOR FUTURE USE 00035000
  111. SPACE 2 00036000
  112. DMKSYSDW DC X'00',X'00',CL10' ' DAY OF WEEK IN HEX & EBCDIC 00037000
  113. SPACE 2 00038000
  114. DMKSYSLE DC X'7B' - DEFAULT LINE-END (POUND-SIGN) 00039000
  115. DMKSYSLD DC X'4A' - DEFAULT LINE-DELETE (CENT-SIGN) 00040000
  116. DMKSYSCD DC X'7C' - DEFAULT CHARACTER-DELETE (AT-SIGN) 00041000
  117. DMKSYSES DC X'7F' - DEFAULT EDIT ESCAPE (DOUBLE-QUOTE-MARK) 00042000
  118. SPACE 2 00043000
  119. DMKSYSLL DC AL1(130,129,72,80) DEFAULT LINE LENGTHS FOR *00044010
  120. 3210 & 3215 - 2741 & 1050 - TTY - 3270 & 3066 TERMINALS 00045010
  121. DC XL4'0' - RESERVED FOR FUTURE USE @VA05681 00046100
  122. SPACE 2 00047000
  123. DMKSYSCK DC D'0' - TIME OF DAY CLOCK VALUE LAST STORED *00048000
  124. BY ACCOUNTING, DUMP OR MACHINE CHECK 00049000
  125. SPACE 00050000
  126. AIF ('&SYSECT' NE 'DMKSYS').SYS3 00051000
  127. EJECT 00052000
  128. COPY VMBLOK 00053000
  129. EJECT 00054000
  130. COPY DEVTYPES 00055000
  131. CPCOLD EQU X'01' HRC036DK 00055200
  132. CPWARM EQU X'02' HRC036DK 00055400
  133. CPCKPT EQU X'20' HRC036DK 00055600
  134. CPFORCE EQU X'40' HRC036DK 00055800
  135. SPACE 1 00056000
  136. .SYS3 ANOP 00057000
  137. AIF ('&SYSECT' EQ 'DMKSYS').SLO02 00057150
  138. EJECT 00057300
  139. POP PRINT 00057450
  140. SPACE 00057600
  141. .SLO02 ANOP 00057750
  142. MEND 00058000