• Assign SYSIN or SYSIPT to the disk on which an ESERV file, containing control statements for the ESERV program, resides. When you enter the ASSGN command, you must supply the logical unit and the device; for example: assgn sys100 printer assigns the logical unit SYS100 to the printer. When you want to make an assignment to a disk device, you must specify the mode letter at which the disk is accessed. The command: assgn sys010 b assigns the logical unit SyS010 to your B-disk. The system logical units you can assign and the valid device types you can assign to them in CMS/DOS follow. These units can be assigned to disk (mode), TAPE, or READER. If you make an assignment to SYSIN, both SYSRDR and SYSIPT are also assigned the same device. The system logical unit for listings can be assigned to disk (mode), PRINTER, or TAPE. Terminal or operator output or messages can be assigned to PRINTER or TERMINAL •. CMS/DOS always assigns SYSLOG to TERMINAL by default, so you never have to make this assignment except when you want to alter it. Punched output, for example text decks, can be assigned to PUNCH, disk (mode), or TAPE. The system logical units SYSCLB, SYSRLB, and SYSSLB can be assigned to private core image, relocatable, and source statement libraries, respectively. The only valid assignments for these units is to disk (mode). If you want to reference private libraries with the DSERV, ESERV, FETCH, SSERV, or RSERV commands, you must assign SYSCLB, SYSRLB, or SYSSLB to the disks on which the libraries reside. You can assign programmer logical units SYSOOO through SYS241 with the ASSGN command. This deviates from DOS/VS, where the number of programmer logical units varies according to the number of partitions. MANIPULATING DEVICE Besides assigning I/O devices, the ASSGN command can also negate a previous assignment: assgn syspch ua or specify that, for a given device, no real I/O operation is to be performed during the execution of a program: assgn sys009 ign Section 9. Developing DOS Programs Under CMS 157