userids ------- operator operatns maint user: maint pass: suileag documentation on vm/sp 3 ------------------------ SC24-5237 glossary -------- DCSS DisContiguous Saved Segment startup for vm/sp 5 ------------------- run vmsp.sh in the hercules emulator type "ipl 140" switch to x3270 window system will automatically log you in as operator to login as a different user in the x3270 window type "logoff" login as user "maint" with password "suileag" certain functionality not available when not logged in as maint in x3270 character set can be set to APL (CP 037) try clear reset erase-input if you get stuck commands -------- asterisk followed by text is treated as a comment e.g. *blah blah access 190 a access 190 as a commands list the commands you are authorized to use cp commands same, use when it cms mode cp def stor 1984K cp define storage 1M cp ipl cms debug start a debugging session x dump start ret (exit out of debug) dial userid (vaddr) DMSPLU FN FT FM DATE TIME cmsacc lists disks accessed profile similiar to cmsacc exec test1 execute exec file test1 (this will not work if you have a file called test1 a1 a1) test1 will also run exec file test1 (rexx in my case) erase ball exec a1 erase file ball exec a1 filelist list files on drive a fcobol gives "CMS/DOS ENVIRONMENT NOT ACTIVE." help access the help system help help get help on help help eserv help msg DMS402W get help on error DMS402W help msg DMSSET401S get help on error DMSSET401S help cms tape help cms help cp define help srpi get help on the Server-Requester Programming Interface (SRPI) morehelp while inside the help system PF12 toggles cursor to the top and bottom ht halt typing (use this to break out of a long listf) hx halt all programs and return to cms indicate shows use of resources 00:14:50 CPU - 006% APU - 000% Q1-00 Q2-00 STORAGE-004% EXPAN-001 00:14:50 PAGING-0043/SEC STEAL-085% LOAD-000% ipl 190 listf * * x list files on drive x listf * exec e list exec files on drive e listf * exec * list exec files on all drives listf ( l list files on drive a in long form list all * locate maint find the addresses of CP control blocks associated with maint query apl display if apl mode is on or off query names display users logged in query users display number of users logged in query cmslevel displays "VM/SP Release 5, Service Level 521" query v stor displays information on virtual storage STORAGE = 16384K query set displays all settings query disk displays information about your disks query maint displays information about user maint query time displays time and date query reader query terminal query all displays information about ??? LABEL CUU M STAT CYL TYPE BLKSIZE FILES BLKS USED-(%) BLKS LEFT BLK TOTAL MNT190 190 A R/W 30 3380 4096 233 3025-67 1475 4500 MNT295 295 D/A R/O 14 3380 4096 67 701-33 1399 2100 MNT194 194 E/A R/O 27 3380 4096 614 2469-61 1581 4050 MNT294 294 F/A R/O 21 3380 4096 2210 2999-95 151 3150 MNT384 394 G/A R/O 76 3380 4096 775 7876-69 3524 11400 MNT193 193 R/A R/O 27 3380 1024 768 6928-55 5627 12555 MNT190 190 S R/O 30 3380 4096 213 3025-67 1475 4500 query 140 DASD 140 CP OWNED VMSRES 0011 query 141 DASD 141 CP OWNED VMPK01 0009 query 143 DASD 143 CP OWNED VMPK03 0000 query 144 DASD 144 CP OWNED VMPK04 0005 query 1a0 DASD 1A0 CP SYSTEM VMSP80 0000 query 381 TAPE 381 FREE IBM 3380 is a direct access storage device IBM 3420 is a magnetic tape drive (note that q option also works) note that q with suffice, e.g. q search release 190 release 190 rename new a1 a1 new exec a1 rename file new a1 a1 to new exec a1 savesys cms (use this with caution) set apl on set dos on DMSSET401S VM size (1000000) cannot exceed CMSDOS start address (E00000) (does cp def stor 1984K negate this?) DMSLBR not in CMSBAM segment; ESERV support not available set fullscreen on turn on fullscreen mode in cms set cmsdos dosinst set pf06 retrieve program function key 6 to retrieve previous command shutdown shuts down system terminal apl on vmfasm this is the command to use for updating and assembling VM/370 code xedit junk file a xedit junk file on drive a x junk file a (acceptable shortform) top (goes to top of file) bottom (goes to bottom of file) f7 page up f8 page down help (pf1 activates help, pf4 returns) input text (adds text to current line, double return exits input mode) file (saves file and exits) qquit (quit and do not save edits) next 10 (scroll down 10 lines) set prefix on left (puts prefix window on left) set prefix on right (puts prefix window on right) delete 1 (deletes line 1) prefix window: d deletes a line a adds a line a3 adds 3 lines m sets a line to move, p for preceeding f for following c sets a line to copy, p for preceeding f for following i inserts a line / sets line as current at the top spaces clears out a prefix command xedit profile exec a edit commands that are executed when a user logs on xedit a a a1 this file has information on user maint1 type s exec a1 print out file s exec on disk a type ry exec a1 print out file ry exec on disk a type vmusers direct a1 print out info on vmusers? files ----- files appear to have a maximum of 8 characters with an 8 character extension? cuu 19d appears to have apl help files APL HELPCMSQ A1 APL HELPCMSS A1 APL HELPQUER A1 APL HELPSET A1 rs exec a1 (look at file and try to execute) dmkrio text a1 vmusers direct a1 cmsacc exec a1 ipl cms a1 notes ----- CMS is not case sensitive a with caret is insert key check file 5750AAK (installation tape?) hit "clear" button to advance display or use alt-c hit "<----" button to orient cursor alt-d deletes a character alt-f flips text alt-r reset alt-2 clears screen ctrl-m same as enter compose c with | gives ¢ note that the system uses 3380 tapes http://rapidshare.com/files/281254657/cbm401.zip hercules utilties ----------------- dasdls sysres.3380.cckd dasdls *.cckd errors ------ DMKLNM108E MAINT 129 not linked; volid PROFPK not mounted DMKLNM108E MAINT 130 not linked; volid SQLPK not mounted examples of rexx programs ------------------------- loop exec a1 print hello 10 times t exec a1 display time and userid