• Page iiiPreface
  • Page viiContents
  • Page 3INTRODUCTION TO DEBUGGING
  • Page 18How to Use VM/370 Facilities to Debug
  • Page 31Summary of VM/370 Debugging Tools
  • Page 37Comparison of CP and C!VIS Facilities for Debugging
  • Page 38An Overview of VM/370 Commands that Can BeUsed for Debugging
  • Page 42Debugging CP on a Virtual Machine
  • Page 42CP Internal Trace Table
  • Page 44Reading CP Abend Dumps

    • Page 44Reading CP Abend Dumps
    • Page 44REASON FOR THE ABEND
    • Page 46REGISTER USAGE
    • Page 46SAVE AREA CONVENTIONS
    • Page 48VIRTUAL AND REAL CONTROL BLOCK STATUS

      • Page 48VIRTUAL AND REAL CONTROL BLOCK STATUS
      • Page 48VMBLOK
      • Page 49Figure 9: CP control block relationships
      • Page 51VCHBLOK
      • Page 52VCUBLOK
      • Page 52VDEVBLOK
      • Page 54RCHBLOK
      • Page 55RCUBLOK
      • Page 55RDEVBLOK
      • Page 58Figure 10. CP Device Classes, Types, Models, and Feature
    • Page 61IDENTIFYING AND LOCATING A PAGEABLE MODULE
    • Page 61VMDUMP RECORDS: FORMAT AND CONTENT
  • Page 64Debugging with CMS

    • Page 64Debugging with CMS
    • Page 64CMS Debugging Commands
    • Page 66Nucleus Load Map
    • Page 68Load Map
    • Page 68Reading CMS Abend Dumps
    • Page 70Figure 12. CMS Control Blocks
  • Page 73Part 2. Control Program (CP)

    • Page 73Part 2. Control Program (CP)
    • Page 75VM/370

      • Page 75VM/370
      • Page 75Introduction to the VM/370 Control Program
      • Page 83Program States
      • Page 84Using Processor Resources
      • Page 86Interruption Handling
    • Page 87Performance Guidelines

      • Page 87Performance Guidelines
      • Page 88General Information
      • Page 89Virtual Machine I/O
      • Page 90Paging Considerations
      • Page 93VM/370 Performance Options
      • Page 99VM/370Extended Co-ntro-I .. P-rog-ram Support (ECPS)
    • Page 107Performance Observation and Analysis

      • Page 107Performance Observation and Analysis
      • Page 107Load Indicators
      • Page 114The MONITOR Command
      • Page 128LOAD ENVIRONMENTS OF VM/370
    • Page 131Accounting Records

      • Page 131Accounting Records
      • Page 131Accounting Records for Virtual Machine ResourceUsage
      • Page 131Accounting Records for Dedicated Devices andTemporary Disk Space
      • Page 132Accounting Records for LOGON, AUTOLOG, andLINK Journaling
      • Page 133Accounting Records Created by the User
      • Page 134Operational Notes
      • Page 134User Accounting Options
    • Page 136Generating Saved Systems

      • Page 136Generating Saved Systems
      • Page 136The NAMESYS Macro for Saved Systems
      • Page 138Using the SAVESYS Command
      • Page 139Shared Segments
      • Page 139Discontiguous Saved Segments
      • Page 144Shared Segment Protection
    • Page 147The Virtual Machine Communication Facility

      • Page 147The Virtual Machine Communication Facility
      • Page 148Figure14. Virtual Machine Communication Facility (VMCF) Subfunctions
      • Page 149Using the Virtual Machine Communication Facility
      • Page 152VMCF Protocol
      • Page 157Descriptions of VMCF Subfunctions
      • Page 163Invoking VMCF Subfunctions
    • Page 177Special Message Facility
    • Page 178VM/370 Use of the IBM 3850 MSS
    • Page 183Timers In a Virtual Machine
    • Page 186CP In Attached Processor Mode
    • Page 190DIAGNOSE Instruction In a Virtual Machine

      • Page 190DIAGNOSE Instruction In a Virtual Machine
      • Page 191DIAGNOSE Code X'OO' -- StoreExtended-Identification Code
      • Page 192DIAGNOSE Code X'04' -- Examine Real Storage
      • Page 192DIAGNOSE Code X'08' -- Virtual Console Function
      • Page 194DIAGNOSE Code X'OC' -- Pseudo Timer
      • Page 194DIAGNOSE Code X'1 0' -- Release Pages
      • Page 195DIAGNOSE Code X'14'Manipulation
      • Page 198DIAGNOSE Code X'18' --Standard DASD I/O
      • Page 199DIAGNOSE Code X'1 C' -- Clear Error RecordingCylinders
      • Page 199DIAGNOSE Code X'20' -- General I/O
      • Page 200DIAGNOSE Code X'24' -- Device Type and Features
      • Page 202DIAGNOSE Code X'28' -- Channel ProgramModification
      • Page 203DIAGNOSE Code X'2C' -- Return DASD Start ofLOGREC
      • Page 204DIAGNOSE Code X'30' -- Read One Page of lOGRECData
      • Page 204DIAGNOSE Code X'34' -- Read System Dump SpoolF i I e
      • Page 205DIAGNOSE Code X'38' -- Read System Symbol Table
      • Page 205DIAGNOSE Code X'3C' -- VM/370 Directory
      • Page 205DIAGNOSE Code X'48' -- Issue SVC 76 From a Second, Level VM/370 Virtual Machine
      • Page 205DIAGNOSE Code X'4C' -- Generate AccountingRecords for the Virtual User
      • Page 209DIAGNOSE Code X'50' -- Save the 370X ControlProgram Image
      • Page 209DiAGNOSE Code X'54' -- Control the Function of thePA2 Function Key
      • Page 209DIAGNOSE Code X'58' -- 3270 Virtual ConsoleInterface
      • Page 210DIAGNOSE Code X'5C' -- Error Message Editing
      • Page 211DIAGNOSE Code X'60' -- Determining the VirtualMachine Storage Size
      • Page 211DIAGI\JOSE Code X'64' -- Finding; Loading!' andPurging a Named Segment
      • Page 213DIAGNOSE Code X'68' -- Virtual MachineCommunication Facility (VMCF)
      • Page 214DIAGNOSE Code X'74' -- Saving or Loading a 3800Named System
      • Page 215DIAGNOSE Code X'78' -- MSS Communication
      • Page 216DIAGNOSE Code X'84' -- Directory update in place
    • Page 223CP Conventions

      • Page 223CP Conventions
      • Page 223CP Coding Conventions
      • Page 226CP Loadlist Requirements
    • Page 227How to Add a Console Function to CP
    • Page 227Print Buffers and Forms Control

      • Page 227Print Buffers and Forms Control
      • Page 234Forms Control Buffer
      • Page 229Adding New Print Buffer Images
      • Page 2353203 Model 4 and 5 Printer Forms Control and PrintBuffer
    • Page 237IBM 3800 Pri nting Subsystem

      • Page 237IBM 3800 Pri nting Subsystem
      • Page 238Using the 3800 Printer as a Dedicated Device
      • Page 239Using the 3800 Printer as a Real Spooling Device
    • Page 242Suppressing Passwords Entered on theCommand-Line
    • Page 241J ou·rna ling LOGO N, AUTO LOG, and LI N KCommands
  • Page 243Part 3. Conversational Monitor System (CMS)

    • Page 243Part 3. Conversational Monitor System (CMS)
    • Page 244Introduction to CMS
    • Page 247Interrupt Handling In eMS
    • Page 252Functional Information

      • Page 252Functional Information
      • Page 252Register Usage
      • Page 252Structure of DMSN UC
      • Page 253Structure of eMS Storage
      • Page 254Figure 26. Devices Supported by a CMS Virtual Machine
      • Page 257fiqure 27. CM S Storaqe Map
      • Page 255Free Storage Management
      • Page 267CMS Handling of PSW Keys
      • Page 268CMS SVC Handling
      • Page 279CMS Interface for Display Terminals
      • Page 281How to Add a Command or EXEC Procedure toeMS
      • Page 282OS Macro Simulation under eMS
      • Page 298DOS /VS Support under eMS
      • Page 329Saving the CMS System
    • Page 339Assembler Virtual Storage Requirements
    • Page 339Overlay Structures
  • Page 343Part 4. Remote Spooling CommunicationsSubsystem (RSCS)

    • Page 343Part 4. Remote Spooling CommunicationsSubsystem (RSCS)
    • Page 345Introduction to RSCS
    • Page 346VM/370 Spool System Interface
    • Page 346RSCS Command Language
    • Page 348Structure of RSCS Virtual Storage
    • Page 349RSCS Supervisor
    • Page 351Functional Information
    • Page 354Rses Message Handling
    • Page 354Interruption Handling
    • Page 356Logging I/O Activity
  • Page 359Appendixes

    • Page 359Appendixes
    • Page 361Appendix A: System/370 Information
    • Page 364Appendix B: M U L TI-LEAVI N G
    • Page 373Appendix C: VM Monitor Tape Format andContent
  • Page 383Index
  • Page iiistupid page numbers

    • Page iiistupid page numbers
    • Page i00001
    • Page ii00002
    • Page iii00003
    • Page iv00004
    • Page v00005
    • Page vi00006
    • Page vii00007
    • Page viii00008
    • Page ix00009
    • Page x00010
    • Page xi00011
    • Page xii00012
    • Page xiii00013
    • Page xiv00014
    • Page xv00015
    • Page xvi00016
    • Page xvii00017
    • Page xviii00018
    • Page 1001
    • Page 2002
    • Page 3003
    • Page 4004
    • Page 5005
    • Page 6006
    • Page 7007
    • Page 8008
    • Page 9009
    • Page 10010
    • Page 11011
    • Page 12012
    • Page 13013
    • Page 14014
    • Page 15015
    • Page 16016
    • Page 17017
    • Page 18018
    • Page 19019
    • Page 20020
    • Page 21021
    • Page 22022
    • Page 23023
    • Page 24024
    • Page 25025
    • Page 26026
    • Page 27027
    • Page 28028
    • Page 29029
    • Page 30030
    • Page 31031
    • Page 32032.0
    • Page 32.1032.1
    • Page 32.2032.2
    • Page 33033
    • Page 34034
    • Page 35035
    • Page 36036
    • Page 37037
    • Page 38038
    • Page 39039
    • Page 40040.0
    • Page 40.1040.1
    • Page 40.2040.2
    • Page 41041
    • Page 42042
    • Page 43043
    • Page 45045
    • Page 44046
    • Page 45047
    • Page 46048
    • Page 47049
    • Page 48050
    • Page 49051
    • Page 50052
    • Page 51053
    • Page 52054
    • Page 53055
    • Page 54056
    • Page 55057
    • Page 56058
    • Page 57059
    • Page 58060
    • Page 59061
    • Page 60062
    • Page 61063
    • Page 62064.0
    • Page 63064.1
    • Page 64064.2
    • Page 65065
    • Page 66066
    • Page 67067
    • Page 68068
    • Page 69069
    • Page 70070
    • Page 71071
    • Page 72072
    • Page 73073
    • Page 74074
    • Page 75075
    • Page 76076
    • Page 77077
    • Page 78078
    • Page 79079
    • Page 80080
    • Page 81081
    • Page 82082
    • Page 83083
    • Page 84084
    • Page 85085
    • Page 86086
    • Page 87087
    • Page 88088
    • Page 89089
    • Page 90090
    • Page 91091
    • Page 92092
    • Page 93093
    • Page 94094
    • Page 95095
    • Page 96096
    • Page 97097
    • Page 98098
    • Page 99099
    • Page 100100.0
    • Page 101100.1
    • Page 102100.2
    • Page 103101
    • Page 104102.0
    • Page 105102.1
    • Page 106102.2
    • Page 107103
    • Page 108104
    • Page 109105
    • Page 110106
    • Page 111107
    • Page 112108
    • Page 113109
    • Page 114110
    • Page 115111
    • Page 116112
    • Page 117113
    • Page 118114
    • Page 119115
    • Page 120116
    • Page 121117
    • Page 122118
    • Page 123119
    • Page 124120
    • Page 125121
    • Page 126122
    • Page 127123
    • Page 128124
    • Page 129125
    • Page 130126
    • Page 131127
    • Page 132128
    • Page 133129
    • Page 134130
    • Page 135131
    • Page 136132
    • Page 137133
    • Page 138134
    • Page 139135
    • Page 140136
    • Page 141137
    • Page 142138
    • Page 143139
    • Page 144140
    • Page 145141
    • Page 146142
    • Page 147143
    • Page 148144
    • Page 149145
    • Page 150146
    • Page 151147
    • Page 152148
    • Page 153149
    • Page 154150
    • Page 155151
    • Page 156152
    • Page 157153
    • Page 158154
    • Page 159155
    • Page 160156
    • Page 161157
    • Page 162158
    • Page 163159
    • Page 164160
    • Page 165161
    • Page 166162
    • Page 167163
    • Page 168164
    • Page 169165
    • Page 170166.0
    • Page 171166.1
    • Page 172166.2
    • Page 173167
    • Page 174168
    • Page 175169
    • Page 176170
    • Page 177171
    • Page 178172.0
    • Page 179172.1
    • Page 180172.2
    • Page 181173
    • Page 182174
    • Page 183175
    • Page 184176
    • Page 185177
    • Page 186178
    • Page 187179
    • Page 188180
    • Page 189181
    • Page 190182
    • Page 191183
    • Page 192184
    • Page 193185
    • Page 194186
    • Page 195187
    • Page 196188
    • Page 197189
    • Page 198190
    • Page 199191
    • Page 200192
    • Page 201193
    • Page 202194
    • Page 203195
    • Page 204196
    • Page 205197
    • Page 206198.0
    • Page 207198.1
    • Page 208198.2
    • Page 209199
    • Page 210200
    • Page 211201
    • Page 212202
    • Page 213203
    • Page 214204
    • Page 215205
    • Page 216206.0
    • Page 217206.1
    • Page 218206.2
    • Page 219207
    • Page 220208
    • Page 221209
    • Page 222210
    • Page 223211
    • Page 224212
    • Page 225213
    • Page 226214
    • Page 227215
    • Page 228216
    • Page 229217
    • Page 230218
    • Page 231219
    • Page 232220
    • Page 233221
    • Page 234222
    • Page 235223
    • Page 236224
    • Page 237225
    • Page 238226
    • Page 239227
    • Page 240228
    • Page 241229
    • Page 242230
    • Page 243231
    • Page 244232
    • Page 245233
    • Page 246234
    • Page 247235
    • Page 248236
    • Page 249237
    • Page 250238
    • Page 251239
    • Page 252240
    • Page 253241
    • Page 254242
    • Page 255243
    • Page 256244
    • Page 257245
    • Page 258246
    • Page 259247
    • Page 260248
    • Page 261249
    • Page 262250
    • Page 263251
    • Page 264252
    • Page 265253
    • Page 266254
    • Page 267255
    • Page 268256
    • Page 269257
    • Page 270258
    • Page 271259
    • Page 272260
    • Page 273261
    • Page 274262
    • Page 275263
    • Page 276264
    • Page 277265
    • Page 278266
    • Page 279267
    • Page 280268
    • Page 281269
    • Page 282270
    • Page 283271
    • Page 284272
    • Page 285273
    • Page 286274
    • Page 287275
    • Page 288276
    • Page 289277
    • Page 290278
    • Page 291279
    • Page 292280.0
    • Page 293280.1
    • Page 294280.2
    • Page 295281
    • Page 296282
    • Page 297283
    • Page 298284
    • Page 299285
    • Page 300286
    • Page 301287
    • Page 302288.0
    • Page 303288.1
    • Page 304288.2
    • Page 305289
    • Page 306290
    • Page 307291
    • Page 308292
    • Page 309293
    • Page 310294
    • Page 311295
    • Page 312296
    • Page 313297
    • Page 314298
    • Page 315299
    • Page 316300
    • Page 317301
    • Page 318302
    • Page 319303
    • Page 320304
    • Page 321305
    • Page 322306
    • Page 323307
    • Page 324308
    • Page 325309
    • Page 326310
    • Page 327311
    • Page 328312
    • Page 329313
    • Page 330314
    • Page 331315
    • Page 332316
    • Page 333317
    • Page 334318
    • Page 335319
    • Page 336320
    • Page 337321
    • Page 338322
    • Page 339323
    • Page 340324
    • Page 341325
    • Page 342326
    • Page 343327
    • Page 344328
    • Page 345329
    • Page 346330
    • Page 347331
    • Page 348332
    • Page 349333
    • Page 350334
    • Page 351335
    • Page 352336
    • Page 353337
    • Page 354338
    • Page 355339
    • Page 356340
    • Page 357341
    • Page 358342
    • Page 359343
    • Page 360344
    • Page 361345
    • Page 362346
    • Page 363347
    • Page 364348
    • Page 365349
    • Page 366350
    • Page 367351
    • Page 368352
    • Page 369353
    • Page 370354
    • Page 371355
    • Page 372356
    • Page 373357
    • Page 374358
    • Page 375359
    • Page 376360
    • Page 377361
    • Page 378362
    • Page 379363
    • Page 380364
    • Page 381365
    • Page 382366
    • Page 383367
    • Page 384368
    • Page 385369
    • Page 386370
    • Page 387371
    • Page 388372
    • Page 389373
    • Page 390374
    • Page 391375
    • Page 392376
    • Page 393377
    • Page 394378
    • Page 395379
    • Page 396380
    • Page 397381
    • Page 398382
    • Page 399383
    • Page 400384
    • Page 401_1
    • Page 402_2
    • Page 403_3
    • Page 404_4
    • Page 405replyA
    • Page 406replyB
    • Page 407xBack