%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% The DraiN e'Zine! #1.00 %%%% Editor Ang3ldust %%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Issue #1.00 - Command Guide to the MPE/iX Operating System 12-1-92 - e'Zine! Birthday. Next year I want a cake! Author: Hewlett-Packard and their nice help facility, along with a little of my own MPE/iX knowledge. No dictionary, bad spelling. I need Microsoft Word or something that checks spelling. Intro... With no more VaS, something has to take over! Well, here is The DraiN e'Zine!, the first one, but what the hell, if you don't like it, you don't have to read it! Remember, this is not a newsletter, not a digest, not some lame 2 issue crap. This is The DraiN e'Zine!... What's an e'Zine? Well I guess Electronic Magazine. No pages though. If this is useful at all, print it out and keep it for the next system you fuck your way into. "If you haven't bashed a gay yesterday, DO IT TODAY!" Hacking it: MPE/iX Common/Default Accounts (Since MPE/iX is not a well known OS, espically not as well known, as, say, VAX, it still has stupid operators who leave in default accounts. Here they are.) Format for login is: HELLO [SESSION] Users: MGR MGT MAIL FIELD User default passwords: MGR, FLD Accounts: SUPPORT HPOFFICE RJE SUPPORT TELESUP Account default passwords: HPONLY, OFFICE Groups: PUB HPONLY HP3 HPP187 HPP198 HPP186 Group default passwords: PUB, HPONLY So try stuff like MAIL.TELESUP,PUB and MGT.SUPPORT,PUB something will work! Most MPE/iX will greet you with : as your system prompt, also as your login. So, to login as MGR.SUPPORT, type (at the login thinge prompt) HELLO MGR.SUPPORT,PUB Which will login you under group PUB. You can try different groups. The bad part about this system is that ANY field can be passworded, and to tell the fields, MGR.HPOFFICE, MGR is the USER, HPOFFICE is the account. One place that runs MPE/iX is Westinghouse, wec.com on Internet and 422xxx on Sprintnet. Most 422xxx hosts I've found are Westinghouse. (For those of you who are still in the dark, Telenet and Sprintnet are the same thing!) Tip: There is a Internet-Sprintnet gateway! Telnet to: hermes.merit.edu and at the Which Host? type Sprintnet- It is Merit (yuch) but it works if you don't want to make another call to your local Sprintnet PAD. Sample login: Well, I was going to have a sample login, but since the gateway system I used to get to my MPE/iX system was abused by other nerds who kept using the outdial, its gone. So I can't access the HP 3000. Oh well, there's lots more out there!! The real stuff: Native Mode Commands These commands operate in Native Mode in the MPE/iX operating system. In the Help Facility, they are denoted by the notation (NM). Bbxl Copy Option Vsreleasesys ++=====================++ Bbxlcomp Deletevar Pasxl Vsreserve || The EXIT command is || Bbxlgo Do Pasxlgo Vsreservesys || a subcommand of the || Bbxllk Echo Pasxllk Vstore || Help Facility. An || Calc Elseif Pause Vsuser || attempt to access || Ccxl Endwhile Print Warn || this entry with || Ccxlgo Errdump Return Welcome || >EXIT || Ccxllk Exit Rpgxl While || within the Help || Chgroup Ftnxl Rpgxlgo Xeq || Facilitity fails. || Cob74xl Ftnxlgo Rpgxllk || Instead, from the || Cob74xlg Ftnxllk Showvar || system prompt, do || Cob74xlk Input Sysgen || this -- :HELP EXIT || Cob85xl Link Vsclose || to get the text on || Cob85xlg Listredo Vsopen || the EXIT command. .|| Cob85xlk Octcomp Vsrelease ++=====================++ Compatibility Mode Commands The following commands were part of the MPE V/E operating system. Their functionality has been enhanced in the MPE/iX operating system. In the Help Facility, they are denoted by the notation (CM). Altacct Listf Purgeuser Startsess Altgroup Listftemp Redo Store Altuser Listgroup Report Data Listuser Restore Debug =Logoff Run Else Newacct Set Hello Newgroup Setcatalog Help Newuser Setdump If Purgeacct Showcatalog Listacct Purgegroup Speed HP sytem variables are listed under the entry HPVARS and VARIABLES. Unchanged Commands These commands function as they did in the MPE V/E operating sytem. Abort Bbasic Deletespoolfile Fortprep Listeq Abortio Bbasicgo Disallow Fortran Listlog Abortjob Bbasicomp Disassociate Freerin Lmount Accept Bbasicprep Discrps Ftn Log Allocate Breakjob Dismount Ftnprep =Logon Allow Build Down Getlog Mount Altjob Bye Download Getrin Openq Altlog Changelog Dstat Headoff Outfence Altsec Cobolii Editor Headon Pascal Altspoolfile Coboliigo Endif Job Pascalgo Associate Coboliiprep Eod Jobfence Pascalprep Basic Comment Eoj Jobpri Prep Basicgo Console Fcopy Jobsecurity Preprun Basicomp Continue File Ldismount Purge Basicprep Deallocate Fortgo Limit Recall Unchanged Commands (continued) These commands function as they did in the MPE V/E operating sytem. In the Help Facility, they have neither the (CM) nor the (NM) notation. Refuse Save Showtime Up Release Secure =Shutdown Vmount Rellog Segmenter Shutq Rename Setjcw Spl Reply Setmsg Splgo Reset Showallow Splprep Resetacct Showdev Startspool Resetdump Showin Stopspool Resume Showjcw Stream Resumejob Showjob Streams Resumelog Showlog Suspendspool Resumespool Showlogstatus Switchlog Rpg Showme Tell Rpggo Showout Tellop Rpgprep Showq Tune These commands are not supported in MPE/iX. Almost all of them are concerned with optimizing the performance of the system. These optimizing functions now reside in the background of the MPE/iX system. ()COMMAND LOGON FULLBACKUP PURGEVSET VINIT ALTVSET GIVE QUANTUM AUTOALLOCATE LISTVS SHOWALLOCATE CACHECONTROL MIODISABLE SHOWCACHE COBOL MIOENABLE SHOWCOM COBOLGO MOFF STARTCACHE COBOLPREP MON STOPCACHE EOF MPLINE TAKE FOREIGN PARTBACKUP SYSDUMP (see SYSGEN) SYNTAX RULE: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::: The old MPE-V/E syntax (shown in :::::::::::::::::: ::::::::::::::::: the syntax diagrams) always works :::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The MPE-V/E syntax conventions are maintained throughout the Help Facility for consistency. You may use the MPE-V/E syntax convention for and command: NM, CM, or UNCHANGED. But you may use the more flexible syntax for any NM command except :SETVAR. Suppose that the NM :CMDNAME command has the following syntax: :CMDNAME KEYWORD1 = value1; KEYWORD2 = value2;... KEYWORDn = valueN Because it is a NM command, you may choose how you enter the command at the keyboard or in a job stream. For the NM command :CMDNAME, the following forms of entry are valid: :CMDNAME KEYWORD1 = a; KEYWORD2 = b... ;KEYWORDn = n :CMDNAME a, b,... ,n :CMDNAME a, b; KEYWORD7 = g; KEYWORD4 = d ;KEYWORD3 = c The order relationship between parameters is still important: positional parameters must come before keyword parameters, as they did in MPE-V/E. This is true for all commands, NM, CM, or UNCHANGED. Because this order relationship is enforced, the following attempt to enter positional parameters after a keyword parameter will produce an error: :CMDNAME a, b;KEYWORD7 = g, h Introducing a keyword variable (delimited with a semi-colon) terminates positional assignment. The positional "h" produces an error. The online documentation for the :EXIT command causes a problem. The word "EXIT" is reserved in the Help facility. As a result, attempting to access the EXIT text from within the Help Facility ">EXIT" fails. You may call up the :EOJ command ">EOJ and then use to "page" forward to the EXIT command text. * OR * You may invoke the Help Facility and the text for EXIT at the system prompt this way -- "HELP EXIT ". This "direct" access to the Help Facility gives you the text specified and then returns to you to the system prompt. COMMANDS LISTED BY CLASS Commands for: Enter: ---------------------------------------------------- SUBSYSTEMS SUBSYSTEMS COMMUNICATE WITH USERS COMMUNICATE MANAGING ACCOUNT, GROUP, ETC. MANAGE MANAGE DEVICES DEVICES MANAGE FILES FILES VARIABLES (AND JCWs) VARS MANAGE JOBS & SESSIONS JOBSESS MANAGE RESOURCES RESOURCES MANAGE THE SPOOLER SPOOLING MANAGE SYSTEM & USER LOGGING LOGGING MANAGE VOLUME SETS VOLUMES SYSTEM PROGRAMMING PROGRAMMING CREATING AND MANAGING UDCs UDC LANGUAGES (basic, c, fortran) LANGUAGES DATA COMMUNICATION DATACOMM ---------------------------------------------------- You may at any time enter the name of a command to find that topic. You may enter SUMMARY to return to that topic Commands to Access Subsystems and Utilities DEBUG Starts the system debugger utility program. EDITOR Starts the EDIT/3000 subsystem. FCOPY Starts the FCOPY subsystem. HELP Starts the HELP subsystem. SEGMENTER Starts the MPE segmenter. SYSGEN Starts configuration dialog and/or installation tape creation Commands to Communicate with Other Users TELL Sends a message to another active session. TELLOP Sends a message to the system console. WARN Sends an urgent message to jobs and sessions. WELCOME Used to create the system welcome message. Commands to Manage Accounts, Groups, and Users ALTACCT Changes the attributes of an existing account. ALTGROUP Changes the attributes of an existing group. ALTUSER Changes the attributes of an existing user. LISTACCT Displays information about specified account(s). LISTGROUP Displays information about specified group(s). LISTUSER Displays information about specified user(s). NEWACCT Creates a new account. NEWGROUP Creates a new group. NEWUSER Creates a new user. PURGEACCT Removes an account(s) from the system. PURGEGROUP Removes a group(s) from the system. PURGEUSER Removes a user(s) from the system. REPORT Displays information about the logon account and group. Commands for Managing Devices ABORTIO/ Aborts one pending I/O request for a device. =ABORTIO ASSOCIATE Gives a user operator control of a device. DISASSOCIATE Removes operator control of a device from a user. DOWN Removes a device from normal system use. DOWNLOAD Downloads format information to a line printer. HEADOFF Stops header/trailer output to a device. HEADON Starts header/trailer output to a device. REFUSE Disables jobs/sessions (and/or data) on a device. SET Sets terminal configuration. SETMSG Enables/disables receipt of messages on the terminal. SHOWDEV Reports the status of I/O devices SHOWIN Reports the status of input devices. SHOWOUT Reports the status of output devices. SPEED Sets the I/O speed for a terminal. STREAMS Enables/disables the STREAMS device -- allows user to submit job/data streams to a designated device. UP Returns device (not disk) stopped with DOWN command to normal function on the system. Commands to Manage Files ALTSEC Changes a file's security provisions. BUILD Creates and allocates a new, empty file on disk. COPY Copies on file to another file. DATA Enters data into the system from a device file. FILE Declares file attributes for a file when it is opened. LISTEQ Displays all active file equations for a job or session. LISTF Displays the description of permanent files. LISTFILE Declares the file attributes to be used when a file is opened. LISTFTEMP Displays the description of temporary files. PRINT Prints the contents of a file. PURGE Removes a file from the system. RELEASE Removes all security provisions from a file. RENAME Changes the name of a file. RESET Cancels file equations. RESTORE Returns files stored on tape to the system. SAVE Saves a file the permanent system file domain. SECURE Restores security provisions to a file. STORE Copies disk files onto magnetic tape for storage. Commands to Manage Variables and Job Control Words DELETEVAR Deletes a variable defined during a session. INPUT Interactively assigns a value to a variable. SETJCW Creates or assigns a value to a job control word (JCW). SETVAR Assigns values to MPE/iX variables SHOWJCW Displays the current status of job control words. SHOWVAR Displays specified variable names and their values. Commands to Manage Jobs and Sessions ABORT Aborts the current program or operations. ABORTJOB Aborts a job or session. =ABORTJOB ACCEPT Permits designated device to accepts jobs/sessions/data ALTJOB Alters the attributes of jobs waiting or scheduled. BREAKJOB Suspends an executing job. BYE Ends an interactive session. CALC Evaluates and expression. CHGROUP Switches user from group to group within an account. DO Used to edit/reexecute commands in the history stack. :EOD Denotes end-of-data on input stream. EOJ Ends a batch job. EXIT Terminates one level of the command interpreter. HELLO Initiates an interactive session. JOB Initiates a batch job (stream but not interactive) JOBFENCE Defines input priority for job or session to execute. JOBPRI Sets or changes default/maximum job execution priority. JOBSECURITY Restricts user resources and job execution. LIMIT Limits the number of concurrent jobs/sessions. LISTREDO Displays the contents of the history stack. =LOGOFF Aborts all executing jobs/sessions. =LOGON Enables jobs/sessions after a =LOGOFF. REDO Edit/reexecute commands in the history stack. RESUME Resumes execution of a suspended operation. RESUMEJOB Resumes a suspended job. SHOWJOB Displays Status information about jobs/sessions. SHOWME Reports job/session status for a user logon. SHOWTIME Displays the current time and date. STARTSESS Creates a session on device for Prog. Sess. user. Commands to Manage System Resources ALLOCATE Loads a CM program or procedure into main memory. ALLOW Enables a user to access a specific operator command. ALTPROC Changes characteristics for the specified processes. CONSOLE Moves the system console from another terminal. DEALLOCATE Deallocates program or procedure loaded with ALLOCATE. DISALLOW Prohibits access to specified operator command. DISCRPS Enables/disables Rotational Position Sensing on device. ERRDUMP Dumps a process or system error stack. FREERIN Release a global Resource Identification Number. GETRIN Acquires a global Resource Identification Number. OUTFENCE Defines minimum priority to print an output spoolfile. PAUSE Suspends current activity for specified time (seconds). RECALL/=RECALL Displays all pending resource request messages. REPLY/=REPLY Reply to pending resource request message at console. RESETACCT Resets system counters for an account to zero. SHOWALLOW Displays the operator commands allowed (ALLOW). SHOWPROC Displays information about processes. SHOWQ Displays process scheduling data and subqueue contents. =SHUTDOWN Initiates a shutdown of MPE/iX. TUNE Changes filter/priority limits for circular subqueues. Commands to Manage the Spooler ALTSPOOLFILE Alters output spoolfile characteristics. DELETESPOOLFILE Deletes a spoolfile from disk. LISTSPF Produces a listing of spooled input and output files. OPENQ Opens spool queue for logical device/dev class. RESUMESPOOL Resumes suspended spooler output to device. STARTSPOOL Initiates the spooler process for a device. SHUTQ Closes spool queue for logical device/dev class. SPOOLER Controls spooler processes. SPOOLF Alters output spoolfiles characteristics. STOPSPOOL Terminates spooling to specified device/dev class. SUSPENDSPOOL Suspends output to a spooled device. Commands to Manage User/System Logging ALTLOG Alters attributes of existing user logging identifier. CHANGELOG Changes user logging file without interrupting logging. GETLOG Establishes a logging identifier on the system. LISTLOG Lists active logging identifiers. LOG Starts, restarts, or stops user logging. RELLOG Removes a logging identifier from the system. RESUMELOG Resumes system logging following suspension. SHOWLOG Displays status of system log file. SHOWLOGSTATUS Displays status of user log files. SWITCHLOG Closes current system log file, creates & opens new. Managing Volumes (Disk Drives) DSTAT Displays current status of system disk drives. DISMOUNT Releases reserved volume (MPE V). LDISMOUNT Releases system-wide reserved volume (MPE V). LMOUNT Reserves a volume system-wide (MPE V). MOUNT Reserves a volume. VMOUNT Enables/disables the movable volume facility. VSCLOSE Closes a specified volume set; takes it offline. VSOPEN Reopens a volume set closed with VSCLOSE. VSRELEASE Releases volume set reserved by VSRESERVE. VSRELEASESYS Cancels previously issued VSRESERVESYS command. VSRESERVE Reserves a particular volume set online, system-wide. VSRESERVESYS Reserves a volume set online system-wide. VSUSER Lists all users of reserved, mountable volume set. Commands to Manage System Programming COMMENT Inserts a comment into a job stream. CONTINUE Overrides a job error to continue execution. ECHO Displays a message on terminal/printer. ELSE Provides alternative execution sequence for IF. ELSEIF Provides alternative execution sequence for IF. ENDIF Terminates an IF block. ENDWHILE Terminates a WHILE block. ERRCLEAR Zeroes out all Hewlett-Packard predefined variables. ESCAPE Allows simulatulation of all aspects of the CI error handling. IF Controls execution sequence in job/command file/UDC. LINK Creates an executable program file. OCTCOMP Converts compiled MPE V/E program in NM code for MPE/iX. PREP Prepares a compiled source program for execution. PREPRUN Prepares and executes a program compiled in a USL file. RUN Executes a specified program. WHILE Controls execution sequence in job/command file/UDC. Commands to Manage or Execute UDCs and Command Files OPTION Modifies the environment of UDCs and command files. RETURN Returns execution to the calling environment. SETCATALOG Places a UDC in the UDC directory. SHOWCATALOG Displays information about user defined commands. XEQ Executes a program or command file. Commands to Compile, Link, and Execute Programs BASIC BASIC Beings execution of the CM Basic/V interpreter. BASICGO Compiles, prepares, and executes a CM Basic/V program. BASICOMP Compiles A CM Basic/V program. BASICPREP Compiles and prepares a CM Basic/V program. BBASIC Beings execution of the CM Business Basic /V interpreter. BBASICGO Compiles, prepares, and executes Business Basic/V prog. BBASICOMP Compiles a Business Basic/V program in CM. BBASICPREP Compiles and prepares a Business Basic/V program in CM. BBXL Beings execution of the HP Business Basic/XL interpreter. BBXLCOMP Compiles a Business Basic/XL program. BBXLGO Compiles, links and executes a Business Basic/XL program. BBXLLK Compiles and links a Business Basic/XL program. C CCXL Compiles a C/XL program. CCLXGO Compiles, links and executes a C/XL program. CCXLLK Compiles and links a C/XL program. COB74XL Compiles a COBOL II/XL program (1974 entrypoint). COB74XLG Compiles, links and executes a COBOL II/XL program ('74) COB74XLK Compiles and links a COBOL II/XL program ('74 entrypoint) COB85XL Compiles a COBOL II/XL program (1974 entrypoint). COB85XLG Compiles, links and executes a COBOL II/XL program ('74) COB85XLK Compiles and links a COBOL II/XL program ('74 entrypoint) COBOLII Compiles a II program. on a COBOL 74 compiler COBOLIIGO Compiles, links and executes a II program a 74 compiler COBOLIIPREP Compiles and links a II program on a COBOL 74 compiler. FORTRAN FORTGO Compiles, prepares, and executes a CM FORTRAN66/V program FORTPREP Compiles and prepares a CM FORTRAN 66/V program FORTRAN Compiles a CM FORTRAN 66/V program FTN Compiles, prepares, and executes a CM FORTRAN 77/V prog FTNGO Compiles and prepares a CM FORTRAN 77/V program FTNPREP Compiles a CM FORTRAN 77/V program FTNXL Compiles a FORTRAN 77/XL program. FTNXLGO Compiles, links and executes a FORTRAN 77/XL program. FTNXLLK Compiles and links a FORTRAN 77/XL program. PASCAL PASCAL Compiles a CM Pascal/V program. PASCALGO Compiles, prepares, and executes a CM Pascal/V prog. PASCALPREP Compiles and prepares a CM Pascal/V program. PASXL Compiles a Pascal/XL program. PASCXLGO Compiles, links and executes a Pascal/XL program. PASXLLK Compiles and links a Pascal/XL program. RPG RPG Compiles an RPG program and creates and object file. RPGGO Compiles, prepares, and executes an RPG program. RPGPREP Compiles and prepares an RPG program. RPGXL Compiles an RPG/XL program and creates and object file RPGXLGO Compiles, links and executes an RPG/XL program. RPGXLLK Compiles and links an RPG/XL program. SPL SPL Compiles a CM SPL/V program. SPLGO Compiles, prepares, and executes a CM SPL/V program. SPLPREP Compiles and prepares a CM SPL/V program. Commands for Data Communication APPCCONTROL NRJE DHCFCONTROL NRJECONTROL DSLINE NSCONTROL LINKCONTROL REMOTE MRJECONTROL SNACONTROL OPERATION After you suspend a program or MPE/iX command operation by pressing [Break], the ABORT command terminates that program or operation. Programs do not terminate while critical system code is executing on their behalf, but will terminate immediately following execution of that code. The ABORT command is available only from a session and only during BREAK, but it does not disrupt the session. Some operations abort immediately upon entering BREAK without requiring the ABORT command. An ABORT command results in the Job Control Word (JCW) being set to the SYSTEM 0 state. For a discussion of Job Control Words, refer SETJCW. This command may be issued from a session (in BREAK only). It is not executable from a job or a program. Pressing [Break] has no effect on this command. ________________________________________________________________________ | %%% [The DraiN Distribution Board - PHACtory (313)884-2617] %%% | | %%% [PHANet/NuKENet/USEnet/Internet email - The PHACtory] %%% | ~------------------------------------------------------------------------~