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 always do /shutdown in hercules to exit or type shutdown in x3270 /cold tells hercules to do a cold start of the system 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 basic test run basic program test cobol test run cobol program test dir show information on files gcc hello c compile hello c GLOBAL TXTLIB PDPCLIB load hello start RESLIB DELETE GCCLIB listfile list files on disk a listf * * c list files on c ('access 190 c' first) listf * * b list files on b locate /something/ ed hello assemble ed hello text ed test basic edit file test for basic edit junk file type junk file a type ipvx exec a erase junk file type profile exec type rexxtest exec example of a rexx program 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 set reserve userid xx query blip query rdymsg query search display disks you can access A R/W C R/O S R/O query disk a (no query disk like in VM/SP) 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 logon maint log on system as system programmer (password: cpcms) cp login maint same thing?? cp login cmsuser log on as cmsuser (password is cmsuser) 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 network load raddr ncpname network enable all network shutdown filetypes --------- assemble fortran direct macro cobol pli update languages --------- assembler, fortran, cobol, APL examples -------- page 351 for an example for an assembly language program using vm370sixpack ------------------ vm370sixpack-1_2.zip help cpcmds help cmscmds help welcome ( more help gcclib help s380 Does not have XEDIT