cms user guide: GC20-1819-0_cmsUG_Feb76.pdf System/370 Model 158 introducted in 1972 VM/370 was written in assembly language The basic components of the System/370 Model 158 were the IBM 3158 Processing Unit, the display console, and an optional console printer. upgradable to a maximum of 4 megabytes of memory VM/370rel6 run hercules emulator: hercules -f 370.cnf run x3270: x3270 connect to localhost:3270 alt-c to clear in telnet session: SHUTDOWN in x3270: cp ipl cms both these commands turn on cms ipl 190 returns "CMS VERSION 6.0 - 08/29/85 06:32" TERMINAL MODE VM BEGIN listf list seems to do the same thing locate /something/ ed hello assemble ed hello text edit junk file type junk file a erase junk file while in edit ------------- input starts inputting lines, hit enter on a null line to stop save save the file quit quit the edit program type hello text a1 set dos on set impcp on set impex on query blip query rdymsg query search display disks you can access A R/W C R/O S R/O query disk a query disk c query impcp query library query operator request info on operator cp query terminal cp query virtual storage cp query virtual dasd cp terminal linedel / change the linedel character to / cp display g display general registers cp close punch cp logoff log off system cp logon operator log on system as operator cp set msg off turn off messages cp message operator message send operator a message cp sleep lock your keyboard (attn key to end) cp enable all access 190 c fmode a return on an empty line tells you what mode you're in, e.g. CMS (DOS ON) rename junk file * crap file = renames junk file to crap file vmfdump assemble fcobol indicate indicate resource use and contention cp set pf1 immed #cp display psw program pf1 function key tape rew logout filetypes --------- assemble fortran direct macro cobol pli update languages --------- assembler, fortran, cobol, APL examples -------- page 351 for an example for an assembly language program