CP Conventions •••••..••••...••••••••••..••••..•••..•...•......••...•.....•..... 276
CP Coding Conventions .......................................................... 276
CP Loadlist Requirements ........................................................ 278
How to Add a Console Function to CP••.•.••.••••..•••••.•••••..••.•..•••••.•••.•..•• 280 Print Buffers and Forms Control •••••.•••••.•••••••••••••••••.•••••.•••••..••••..••• 281
Adding New Print Buffer Images ................................................... 283UCS Buffer Images for the 1403 Printer ........................................... 283 UCSB Buffer Images for the 3211 Printer .......................................... 285
FOB Buffer Images for the 3289 Model 4 Printer .................................... 288UCC Buffer Images for the 3203 Printer .......................................... 289
PIB Buffer Images for the 3262 Model I and II Printers ...............................2.91 Forms Control Buffer ............................................................ 292
IBM3800 Printing Subsystem •••••••.•••••••••••••••..•••.•••••.•••••.••••••••.•••• 295 Using the 3800 Printer as a Dedicated Device ......................................... 295 Using the 3800 Printer as a Real Spooling Device ...................................... 295
Specifying Printer Options ...................................................... 296
Creating Control Tables ....................................................... 296
Storing and Loading Control Tables .............................................. 297
Recovering from I/O Errors .................................................... 297
Displaying Printer Control Information ............................................ 297Using the 3800 Printer as a Virtual Spooling Device .................................... 297
Defining a Virtual3800 Printer .................................................. 298
Loading the Virtual3800 and Printing Virtual 3800 Spool Files ......................... 298
Recovering from I/O Errors .................................................... 299
Displaying Control Information ........................ . . . . . . . . . . . . . . . . . . . . . . . . . . 299
Journaling Logon, Autolog, and Link Commands..••••••••.••••••••••••..••••••..••••••.. 300 Suppressing Passwords Entered on the Command-Line ••••.•••••••••••••.••••..••••••..•.• 301 Part 2. Conversational Monitor System (CMS) .•••••••.••••••••••••.••••••.••••••.••••• 302 Introduction To CMS •••••••••.•.•..••••••••••••••••••••.•••.••..•••••••.•.•.•••. 303 The CMS Command Language ..................................................... 303 The File System ................................................................ 303 Migration from the 800-byte File System to the Extended File System ...................... 304 Migration Considerations ...................................................... 305 Coexistence of VM/SP CMS and Earlier Versions of CMS ............................ 308 Converting CMS Files ......................................................... 309 Program Development ............................................................ 309 ABEND Processing ............................................................. 310 ABEND Exit Routine Processing ................................................ 310 CMS Abend Recovery ......................................................... 311
Interrupt Handling InCMS ••••••.••.••••.•••••••••••••.•••••••••••••.••••••••..••• 312 SVC Interruptions ............................................................... 312
Internal Linkage SVCs ........................................................ 312
Input/Output Interruptions ........................................................ 313
Terminal Interruptions ........................................................... 313
Reader/Punch/Printer Interruptions ................................................ 314
User-Controlled Device Interruptions ................................................ 314
Program Interruptions ............................................................ 314
External Interruptions ............................................................ 314
Machine Check Interruptions ...................................................... 314
Functional InC ormation•••••.••••.••.•••••.•••••••••••••••••••••.•••••••••.••••.••. 315
RegisterUsage ................................................................. 315
Structure of DMSNUC ........................................................... 315
USERSECT(User Area) ...................................................... 315
DEVTAB (Device Table) ..................................................... 316
Structure of CMS Storage ......................................................... 317
Free Storage Management ........................................................ 323
GETMAIN Free Storage Management ............................................ 323
DMSFREE Free Storage Management ............................................ 324
Contents xix
CP Coding Conventions .......................................................... 276
CP Loadlist Requirements ........................................................ 278
How to Add a Console Function to CP
Adding New Print Buffer Images ................................................... 283
FOB Buffer Images for the 3289 Model 4 Printer .................................... 288
PIB Buffer Images for the 3262 Model I and II Printers ...............................
IBM
Specifying Printer Options ...................................................... 296
Creating Control Tables ....................................................... 296
Storing and Loading Control Tables .............................................. 297
Recovering from I/O Errors .................................................... 297
Displaying Printer Control Information ............................................ 297
Defining a Virtual
Loading the Virtual
Recovering from I/O Errors .................................................... 299
Displaying Control Information ........................ . . . . . . . . . . . . . . . . . . . . . . . . . . 299
Journaling Logon, Autolog, and Link Commands
Interrupt Handling In
Internal Linkage SVCs ........................................................ 312
Input/Output Interruptions ........................................................ 313
Terminal Interruptions ........................................................... 313
Reader/Punch/Printer Interruptions ................................................ 314
User-Controlled Device Interruptions ................................................ 314
Program Interruptions ............................................................ 314
External Interruptions ............................................................ 314
Machine Check Interruptions ...................................................... 314
Functional InC ormation
Register
Structure of DMSNUC ........................................................... 315
USERSECT
DEVTAB (Device Table) ..................................................... 316
Structure of CMS Storage ......................................................... 317
Free Storage Management ........................................................ 323
GETMAIN Free Storage Management ............................................ 323
DMSFREE Free Storage Management ............................................ 324
Contents xix