HPlogo MPE/iX Quick Reference Guide: HP 3000 MPE/iX Computer Systems > Chapter 1 Command Descriptions

Commands Syntax

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

These are abbreviated descriptions for the commands for MPE/iX.

ABORT

Aborts the current program or operation.

   ABORT
ABORT

ABORTIO/ =ABORTIO

Aborts one pending I/O request for a device.

   ABORTIO ldev

=ABORTIO ldev

ABORTIO 53
ABORTIO 53

ABORTJOB/ =ABORTJOB

Aborts a job or session.

   ABORT JOB { #Jnnn
#Snnn
[jobname,] user.acct }
   =ABORTJOB { #Jnnn
#Snnn
[jobname,] user.acct }
   ABORTJOB #S139

ACCEPT

Permits a designated device to accept jobs/sessions and/or data.

   ACCEPT [ JOBS
DATA ] ,ldev
   ACCEPT 19

ALLOCATE

Loads a compatibility mode program or procedure into virtual memory.

   ALLOCATE [ PROCEDURE,
PROGRAM, ] name
   ALLOCATE PROCEDURE, PROC1

ALLOW

Grants a user access to a specific operator command.

   ALLOW FILE= formaldesignator[;SHOW]

or

   ALLOW { @.@
user.@
@.acct
user.acct } ;COMMANDS=command[,command, ...]
   ALLOW FILE=ALLOWTMP;SHOW
ALLOW USER.TECH;COMMANDS=REPLY,ABORTIO

or

   ALLOW
>MGR.MANUAL;COMMANDS=BREAKJOB
>EXIT

ALTACCT

Changes the attributes of an existing account. See Chapter 7 for a listing of account capabilities and defaults.

   ALTACCT acctname

[;PASS=[password]][;FILES=[filespace]][;CPU=[cpu]]
[;CONNECT=[connect]]

[;CAP=[capabilitylist]][;ACCESS=[(fileaccess)]]
[;MAXPRI=[subqueuename]]

[;LOCATTR=[localattribute]][;ONVS=volumesetname]
ALTACCT AC2;PASS=GLOBALX;FILES=50000

ALTGROUP

Changes one or more attributes of a group.

   ALTGROUP groupname[.acctname]  [;PASS=[password]]
[;CAP=[capabilitylist]]

[;FILES=[filespace sectors]] [;CPU=[cpu seconds]]
[;CONNECT=[connect minutes]]

[;ACCESS=[(fileaccess)]] [;ONVS=volumesetname]
[;HOMEVS=volumesetname]

ALTGROUP GROUPX;PASS=PASS2

ALTGROUP LEILA;ONVS=TIME_LORD;FILES=10000
ALTGROUP LEILA;HOMEVS=DICHONDRITE

ALTJOB

Alters the attributes of waiting or scheduled jobs.

   ALTJOB [JOB=] {#Jnnn
#Snnn} [;INPRI=inputpriority]
[;OUTDEV={ldev
devclass}][;JOBQ=jobqueuename] [;HIPRI]
ALTJOB #J1;INPRI=10;OUTDEV=LP

ALTLOG

Alters the attributes of an existing user logging identifier.

   ALTLOG logid[;LOG=logfile {,DISC
,TAPE}][;PASS=password]
[{;AUTO
;NOAUTO}]
ALTLOG KIM;LOG=C,DISC

ALTPROC

Changes the priority for the specified process(es) if you have OP or SM capabilty. Native Mode

   ALTPROC [ [;PIN=] {pinspec  }]
{(pinspec[,pinspec]...)}
[ [;JOB=] {jobspec }]
{(jobspec[,jobspec]...)}
{ [;PRI=] pri
[;WG=]{workgrp
NATURAL_wg }}
[;TREE | ;NOTREE]
[;USER | ;ANYUSER]
[;SYSTEM]

ALTPROC 42;PRI=CM
ALTPROC O;PRI=DS
ALTPROC job=mgr.payroll; PRI=155
ALTPROC #p133;TREE;PRI=CS
ALTPROC (150,#p247,211);PRI=ES
ALTPROC job=@j; PRI=CS;ANYUSER
ALTPROC job=@j;PRI=CS; USER

ALTSEC

Changes the access permissions by altering the access control definition (ACD). Access permissions may be changed for a

  • file

  • hierarchical directory

  • device

  • device class

File access masks can also be changed with this command (only files have access masks). The file status change time stamp is updated by ALTSEC.

NOTE: The ALTSEC command does not change access permissions for MPE groups, accounts, or the root directory.

Syntax

   ALTSEC objectname [,{FILENAME
LDEV
DEVCLASS} ]
[;[ACCESS=](fileaccess[;[fileaccess][;...]])]
[ {;NEWACD=
;REPACD=
;ADDPAIR=
;REPPAIR=} {(acdpair [;acdpair][;...] )
^filereference } ]
[;DELPAIR= {(userspec [;userspec][;...])
^filereference } ]
[;COPYACD= objectname {,FILENAME
,LDEV} ] [;DELACD][;MASK]

ALTSPOOLFILE

Alters the characteristics of an output spoolfile.

   ALTSPOOLFILE {#Onnn
ldev1} {;PRI=outputpriority
;COPIES=numcopies
;DEV={ldev2
devclass}
;DEFER } |;...|
ALTSPOOLFILE #O86;DEFER
ALTSPOOLFILE 6;DEFER
ALTSPOOLFILE #O123;PRI=3

ALTUSER

Changes the attributes currently defined for a user.

   ALTUSER username[.acctname]
[;PASS=[password]]
[;CAP=[capabilitylist]]
[;MAXPRI=[subqueuename]]
[;LOCATTR=[localattribute]]
[;HOME=[homegroupname]]
[;UID=[uid]]
[;USERPASS={REQ [,EXPIRED]}
{OPT}]
   ALTUSER JONES;CAP=IA,BA,SF,PH,DS,MR
ALTUSER JONES;PASS=JJ;MAXPRI=DS

ASSOCIATE

Gives a user operator control of a device class.

   ASSOCIATE devclass
ASSOCIATE TAPE

BASIC

Interprets a compatibility mode BASIC/V program.

   BASIC [commandfile][,[inputfile][,listfile]]
BASIC MYCOMDS,MYDATA,MYLIST

BASICGO

Compiles, prepares, and executes a compatibility mode BASIC/V program.

   BASICGO [commandfile][,listfile]
BASICGO
$CONTROL USLINIT
$COMPILE MYPROG
$EXIT

BASICOMP

Compiles a compatibility mode BASIC/V program.

   BASICOMP [commandfile][,[uslfile][,listfile]]
BUILD OBJECT;CODE=USL
BASICOMP, OBJECT
$CONTROL USLINIT
$COMPILE MYPROG
$EXIT

BASICPREP

Compiles and prepares a compatibility mode BASIC/V program.

   BASICPREP [commandfile][,[progfile][,listfile]]
BASICPREP,MYCOMDS

BBASIC

Starts execution of the HP Business BASIC/V interpreter in compatibility mode.

   BBASIC [commandfile][,[inputfile][,listfile]]
BBASIC

BBASICGO

Compiles, prepares, and executes an HP Business BASIC/V program in compatibility mode.

   BBASICGO infile[,listfile]
BBASICGO MYPROG,LISTFL

BBASICOMP

Compiles an HP Business BASIC/V program in compatibility mode.

   BBASICOMP infile[,[uslfile][,listfile]]
BBASICOMP MYPROG,OBJECT

BBASICPREP

Compiles and prepares a HP Business BASIC/V program in compatibility mode.

   BBASICPREP infile[,[progfile][,listfile] ]
BBASICPREP MYCOMDS,MYPROG

BBXL

Initiates execution of the HP Business BASIC/XL interpreter.

   BBXL [commandfile][,[inputfile][,[listfile]]] [;XL=xllist]
BBXL

BBXLCOMP

Compiles an HP Business BASIC/XL program.

   BBXLCOMP textfile[,[objectfile][,listfile]]
BBXLCOMP MYPROG,OBJECT

BBXLGO

Compiles, links, and executes an HP Business BASIC/XL program.

   BBXLGO textfile[,[listfile]] [;XL=xllist]
BBXLGO MYPROG,LISTFL

BBXLLK

Compiles and links an HP Business BASIC/XL program.

   BBXLLK textfile[,[progfile][,listfile]]
BBXLLK MYSCR,MYPROG

BREAKJOB

Suspends an executing job.

   BREAKJOB #Jnnn
BREAKJOB #J68

BUILD

Creates and immediately allocates a new empty file on disk.

   BUILD filereference
[;REC=[ [recsize][,[blockfactor][,[F
U
V
B][,BINARY
,ASCII ]]]]]
[;CCTL
;NOCCTL] [;TEMP] [;DEV= [ dsdevice#
dsdevice#device
device ] ]
[;CODE=filecode] [;DISC=[ [numrec][,[numextents][,initialloc]]]]
[;RIO
;NORIO] [;MSG
;CIR
;STD
;KSAMXL
;SPOOL] [;ULABEL=numlabels] [;KEY={^filereference
keyinfo} ]
[;FIRSTREC=recnum][;REUSE
;NOREUSE]

Where:

   ;KEY=(keytype,keylocation,keysize [,DUP
,RDUP];
.
.
.

keytype,keylocation,keysize [,DUP
,RDUP])
BUILD WORKFILE;REC=-80,3,F,ASCII;DISC=2000,10,2
BUILD VFILE;DISC=500,10,1;REC=-80;DEV=VCLASS1
BUILD NEWDATA;DISC=3000,1,1;CODE=LOG

BYE

Ends an interactive session.

   BYE
BYE

CALC

Evaluates an expression.

   CALC expression
CALC 5*10-7

CCXL

Compiles an HP C/iX program.

   CCXL [textfile][,[objectfile][,[listfile]]] [;INFO=quotedstring]
CCXL

CCXLGO

Compiles, links, and executes an HP C/iX program.

   CCXLGO [textfile][,[listfile]][;INFO=quotedstring]
CCXLGO SOURCE,LISTFILE

CCXLLK

Compiles and links an HP C/iX program.

   CCXLLK [textfile][,[ [progfile]][,[listfile]]] [;INFO=quotedstring]
CCXLLK SOURCE,PROG

CHANGELOG

Changes the user logging file without stopping or interrupting the logging process.

   CHANGELOG logid [;DEV=device]
CHANGELOG KATHY

CHDIR

Changes the process' current working directory (CWD).

Syntax

   CHDIR [ [DIR=]dir_name] [;SHOW | NOSHOW]
CHDIR /MYACCT/MYGRP/dir1|

CHGROUP

Switches you from the current group to any other group within the logon account to which you are allowed access.

   CHGROUP [ [groupname] [/grouppass] ]
CHGROUP GORODA

COB74XL

Compiles an HP COBOL II/XL program using the 1974 ANSI standard entry point and creates an object file.

   COB74XL [textfile] [,[objectfile][,[listfile][,[masterfile][,newfile]]]]
[;INFO=quotedstring] [;WKSP=workspacename] [;XDB=xdbfilename]
COB74XL SOURCE,OBJECT,LISTFL

COB74XLG

Compiles, links, and executes an HP COBOL II/XL program using the ANSI 1974 standard entry point.

   COB74XLG  [textfile][,[listfile][,[masterfile][,newfile]]]
[;INFO=quotedstring] [;WKSP=workspacename] [;XDB=xdbfilename]
COB74XLG TEXTFL,LISTFL

COB74XLK

Compiles and links an HP COBOL II/XL program using the 1974 ANSI standard entry point.

   COB74XLK [textfile] [,[progfile][,[listfile][,[masterfile][,newfile]]]]
[;INFO=quotedstring] [;WKSP=workspacename] [;XDB=xdbfilename]
COB74XLK SFILE,MYPROG

COB85XL

Compiles an HP COBOL II/XL program using the 1985 ANSI standard entry point and creates an object file.

   COB85XL [textfile] [,[objectfile][,[listfile][,[masterfile][,newfile]]]]
[;INFO=quotedstring] [;WKSP=workspacename] [;XDB=xdbfilename]
COB85XL SOURCE,OBJECT,LISTFL

COB85XLG

Compiles, links, and executes an HP COBOL II/XL program using the ANSI 1985 standard entry point.

   COB85XLG [textfile][,[listfile][,[masterfile]
[,newfile]]]
[;INFO=quotedstring] [;WKSP=workspacename] [;XDB=xdbfilename]
COB85XLG TEXTFL,LISTFL

COB85XLK

Compiles and links an HP COBOL II/XL program using the 1985 ANSI standard entry point.

   COB85XLK [textfile] [,[progfile][,[listfile][,[masterfile][,newfile]]]]
[;INFO=quotedstring] [;WKSP=workspacename] [;XDB=xdbfilename]
COB85XLK SFILE,MYPROG

COBOLII

Compiles a compatibility mode COBOLII program on the COBOL 74 compiler.

   COBOLII [textfile][,[uslfile][,[listfile][,[masterfile][,newfile]]]]
[;INFO=quotedstring] [;WKSP=workspacename]
BUILD OBJECT;CODE=USL
COBOLII SOURCE,OBJECT,LISTFL

COBOLIIGO

Compiles, prepares, and executes a compatibility mode COBOLII program on the COBOL 74 compiler.

   COBOLIIGO [textfile][,[listfile][,[masterfile][,newfile]]]
[;INFO=quotedstring][;WKSP=workspacename]
COBOLIIGO TEXTFL,LISTFL

COBOLIIPREP

Compiles and prepares a compatibility mode COBOLII program on the COBOL 74 compiler.

   COBOLIIPREP [textfile]
[,[progfile][,[listfile][,[masterfile][,newfile]]]]
[;INFO=quotedstring][;WKSP=workspacename]
COBOLIIPREP SFILE,MYPROG

COMMENT

Inserts a comment into the command stream.

   COMMENT [text]
!JOB USER.TECHPUBS
!COMMENT THIS IS A SAMPLE JOB
!FORTGO MYPROG
!EOJ

CONSOLE

Changes the system console from its current device to another job-accepting terminal.

   CONSOLE [ldev]
CONSOLE 31

CONTINUE

Overrides any job error which may occur in the next command so that the job or user command (command file or UDC) continues executing.

   CONTINUE
!JOB USER.PUBS
!CONTINUE
!RUN MYPROG
.
.
.
!EOJ

COPY

Copies one file to another by creating a new file or by overwriting an existing file. The COPY command can be used to copy files to and from HFS directories. Also, users with SM capabilities are able to copy files to MPE accounts outside of their current logon account.

Syntax

   COPY [FROM=]sourcefile[[;TO=]targetfile][ ;ASK | YES | NO ]

COPY ABCD, EFG
COPY ABCD,.newgroup
COPY ABCD.grp
COPY ABCD.grp,.mygroup

COPY myfile.pub.sys, ./MyFile
COPY ./File1, myfile.pub
COPY ./dir0/file1, ./dir1/file2

DATA

Enters data into the system from a device file. (Cannot be used to enter data from $STDIN.)

   DATA[jsname,]username[/userpass].acctname[/acctpass][;filename]
DATA SESSB,BROWN.ACCT1
.
.
.
:EOD

DEALLOCATE

Deallocates a program or procedure previously loaded into memory with the ALLOCATE command.

   DEALLOCATE [PROGRAM  
PROCEDURE],name
DEALLOCATE PROGEX

DEBUG

Instructs MPE/iX to enter the system debugger.

   DEBUG [commands]
DEBUG TRACE;C

DELETESPOOLFILE

Deletes a spoolfile from disk.

   DELETESPOOLFILE {#Onnn
#Innn
ldev }
DELETESPOOLFILE 6

DELETEVAR

Deletes one or more MPE/iX session variables.

   DELETEVAR varname[,varname]...[,varname]
DELETEVAR firstvariable,secondvariable
DELETEVAR JOBNUM, SESSNUM

DISALLOW

Prohibits access to a specific operator command.

   DISALLOW FILE=formaldesignator[;SHOW]
DISALLOW {@.@
user.@
@.acct
user.acct};COMMANDS=command[,command,...]
DISALLOW USER.TECH;COMMANDS=REPLY,ABORTIO

DISASSOCIATE

Removes control of a device class from the user.

   DISASSOCIATE devclass
DISASSOCIATE TAPE

DISCRPS

Enables or disables the rotational position sensing (RPS) feature on a specified logical device.

   DISCRPS ldev {,ENABLE [{,value,value}]
,DISABLE}
DISCRPS 1,ENABLE

DISKUSE

Displays disk space usage, in sectors, for one or more directories or a directory tree.

Syntax

   DISKUSE [ [DIR=]dir_name][; TREE | NOTREE | USENAME ]
DISKUSE mydir.group.acct

DISMOUNT

Causes a volume set that was explicitly reserved by the user (with a MOUNT or VSRESERVE command) to be released. The equivalent MPE/iX command is VSRELEASE.

   DISMOUNT [{*
(blank)
volumesetname}][.groupname[.acctname]]
DISMOUNT MYSET.B.C

DO

Allows the user to reexecute any command still retained in the command line history stack.

   DO [CMD=cmdid][;EDIT=editstring]
DO 10

DOWN

Removes a device from normal system use. This command does not apply to disks.

   DOWN ldev
DOWN 7

DOWNLOAD

Downloads format information to a line printer.

   DOWNLOAD ldev [,filename
,MARGIN=nn] [,...]
DOWNLOAD 11,VFCPAY

DSTAT

Displays the current status of the disk drives on the system.

   DSTAT [ldev
ALL]
DSTAT ALL

ECHO

Displays a message on the standard list device.

   ECHO [message]
SETVAR a, 'hi there'
ECHO !a, Cathy

EDITOR

Starts the EDIT/3000 subsystem.

   EDITOR [listfile]
FILE LISTFILE;DEV=LP
EDITOR *LISTFILE

ELSE

Provides an alternate execution sequence for an IF statement in a jobfile or user command within an IF statement.

   ELSE
!CONTINUE
!PASXL MYPROG,MYUSL
!IF JCW>=FATAL THEN
! TELL USER.TECHPUBS;COMPILE FAILED
!ELSEIF JCW ≥ WARN THEN
! TELL USER.TECHPUBS;COMPILE COMPLETED WITH WARNINGS
!ELSE
! TELL USER.TECHPUBS;COMPILE COMPLETED WITH NO WARNINGS
!ENDIF

ELSEIF

Provides an alternate execution sequence for an IF statement.

   ELSEIF expression [THEN]
IF EXPN1 THEN
...
ELSEIF EXPN2 THEN
...
ELSEIF EXPN3
...
ELSE
...
ENDIF

ENDIF

Terminates an IF block.

   ENDIF

IF
.
.
.
ENDIF

ENDWHILE

Terminates a WHILE block.

   ENDWHILE
WHILE logical_expression
.
.
.
ENDWHILE

EOD

Denotes end-of-data on input stream from a jobfile (from an input other than $STDIN). It also terminates data initialized by the DATA command. The colon (:) is a required part of this command.

   :EOD
DATA SESS1,BLACK.ACCTSP
... data ...
:EOD

EOJ

Ends a batch job.

   EOJ

!JOB USER.PUBS
!RUN MYPROG1
!RUN MYPROG2
!EOJ

ERRCLEAR

Zeros out all HP predefined error-related variables.

   ERRCLEAR

ERRCLEAR

ERRDUMP

Allows a user to dump either the process or system error stack to a specified depth.

   ERRDUMP [errorstackdepth][;SYS]

ERRDUMP 1;SYS

ESCAPE

Allows the CI programmer to simulate all aspects of CI error handling. Control leaves all user commands and returns to the CI (unless a CONTINUE is in effect).

   ESCAPE [ [CIERR=] errnum]

cmd1
CONTINUE
udc1
ucmdA
ucmdB
ESCAPE
cmd2

EXIT

Terminates the command interpreter.

   EXIT

EXIT

FCOPY

Runs the FCOPY subsystem.

   FCOPY [fcopycommand]
FCOPY FROM=UDC.TECHPUBS;TO=TEMP;NEW

FILE

Declares the file attributes to be used when a file is opened. This declaration, informally known as a file equation, may be used to override programmatic or system default file specifications. With the addition of shared parameters from the NS3000/XL AdvanceNet subsystem, the declaration may specify a formal file designator that may be used to access a remote file or device in a subsequent command or intrinsic. NS3000/XL AdvanceNet is not part of the 900 Series HP 3000 Computer System Fundamental Operating System and must be purchased separately.

   FILE formaldesignator =[*formaldesignator
$NULL
$NEWPASS
$OLDPASS
$STDIN
$STDINX
$STDLIST
filereference]
[:nodespec
,filedomain] [;DEV=[ [envname]#][device][,[outpri][,numcopies]]]
[;VTERM] [;ENV=envfile[:nodespec]][;option][;access][;DEL
;TEMP
;SAVE
;SPSAVE]

Syntax for Option:

   [;REC=[recsize][,[blockfactor][,[F
U
V]]
B[,BINARY

,ASCII ]]]
[;DEN=[density]][;DISC=[numrec][,[numextents][,initialloc]]]
[;CODE=filecode]
[;RIO
;NORIO] [;STD
;MSG
;CIR
;KSAMXL
;SPOOL] [;ULABEL=numlabels]
[;KEY={^filereference
keyinfo}] [;FIRSTREC=recnum] [;REUSE
;NOREUSE]

Syntax for keyinfo:

   ;KEY=(keytype,keylocation,keysize [,DUP
,RDUP]; [vellip]keytype,keylocation,keysize
[,DUP
,RDUP])

Syntax for Access:

   [;NOCCTL  [;NOMULTI   [;NOMR    [;WAIT      [;ACC= [IN
;CCTL] ;MULTI ;MR ] ;NOWAIT] OUT
;GMULTI] UPDATE
OUTKEEP
APPEND
INOUT] ]





[;BUF=[numbuffers] [;LOCK [;COPY
;NOBUF] ;NOLOCK ] ;NOCOPY ] [;FORMS=formsmsg]


[;EXC
;SHR
;EAR
;SEMI]

[;NOLABEL
;LABEL=[ [volid][,[IBM
ANS][,[expdate][,seq] ] ] ] ][;FORMID=formid]
[;PRIVATE]


FILE SOURCE=INX
FILE DEST=OUTX
RUN MYPROG
FILE DEST=FILEX,NEW;REC=64,2,F,ASCII;DISC=800,10,2;SAVE
RUN MYPROG
FILE SOURCE=TAPE1,OLD;DEV=TAPE;REC=-80
FTNXL *SOURCE
FILE FTNTEXT=*SOURCE
FILE X=./my_file;SAVE
PURGE *X

FINDDIR (UDC)

The FINDDIR UDC executes the LISTFILE command to search for a directory.

NOTE: System-defined UDCs are not automatically available. Your System Manager must use the SETCATALOG command to make these UDCs available for your use. For example:
   SETCATALOG HPPXUDC.PUB.SYS

Syntax

   FINDDIR [ [DIR=]dir_name][ [START=]start_dir]

Refer to the LISTFILE command later in this chapter for examples.

FINDFILE (UDC)

The FINDFILE UDC executes the LISTFILE command to search for a file.

NOTE: System-defined UDCs are not automatically available. Your System Manager must use the SETCATALOG command to make these UDCs available for your use. For example:
   SETCATALOG HPPXUDC.PUB.SYS

Syntax

   FINDFILE [FILE=]filename[ [START=]start_dir]

FORMSALIGN

Configures one spooled printer or a group of spooled printers related by device class, to conditionally enter into a forms message dialog with its operator when the current spoolfile includes a forms message.

   FORMSALIGN [ DEV= ] { ldev
devclass
devname }
[;[DIALOG=] { { EACHCHANGE
EACHFILE
EACHCOPY } [, { FORMIDOVERRIDE
NOFORMIDOVERRIDE } ] } ]
[;SHOW]
FORMSALIGN LP;SHOW

FORTGO

Compiles, prepares, and executes a compatibility mode FORTRAN 66/V program.

   FORTGO [textfile][,[listfile][,[masterfile][,[newfile] ] ] ]
[;INFO=quotedstring]
FORTGO SOURCE,LISTFL

FORTPREP

Compiles and prepares a compatibility mode FORTRAN 66/V program.

   FORTPREP [textfile][,[progfile][,[listfile][,[masterfile][,[newfile]]]]]
[;INFO=quotedstring]
FORTPREP TEXTX,PROGX,LISTX

FORTRAN

Compiles a compatibility mode FORTRAN 66/V program.

   FORTRAN [textfile][,[uslfile][,[listfile][,[masterfile][,[newfile] ] ] ] ]
[;INFO=quotedstring]
FORTRAN MYSOURCE,MYUSL,MYLIST;INFO= "$CONTROL BOUNDS"

FREERIN

Releases a global resource identification number (RIN).

   FREERIN rin
FREERIN 1

FTN

Compiles a compatibility mode FORTRAN 77/V program.

   FTN [textfile][,[uslfile][,[listfile]]][;INFO=quotedstring]
BUILD FORTOBJ;CODE=USL
FTN FORTSRC,FORTOBJ,LISTFILE

FTNGO

Compiles, prepares, and executes a compatibility mode HP FORTRAN 77/V program.

   FTNGO [textfile][,listfile][;INFO=quotedstring]
FTNGO FORTSRC,LISTFILE

FTNPREP

Compiles and prepares a compatibility mode HP FORTRAN 77/V program.

   FTNPREP [textfile],[progfile][,listfile][;INFO=quotedstring]
FTNPREP FORTSRC,FORTPROG

FTNXL

Compiles an HP FORTRAN 77/iX program.

   FTNXL [textfile][,[objectfile][,[listfile]]][;INFO=quotedstring]
FTNXL FORTSRC,FORTOBJ,LISTFILE

FTNXLGO

Compiles, links, and executes an HP FORTRAN 77/iX program.

   FTNXLGO [textfile][,[listfile]][;INFO=quotedstring]
FTNXLGO FORTSRC,LISTFILE

FTNXLLK

Compiles and links an HP FORTRAN 77/iX program.

   FTNXLLK [textfile][,[progfile][,[listfile]]][;INFO=quotedstring]
FTNXLLK FORTSRC,FORTPROG

GETLOG

Establishes a logging identifier on the system.

   GETLOG logid;LOG=logfile [,DISC 
,TAPE] [;PASS=password][;AUTO
;NOAUTO]
GETLOG FINANCE;LOG=A,DISC

GETRIN

Acquires a global resource identification number (RIN) and assigns a password to it.

   GETRIN rinpassword
GETRIN MYRIN

HEADOFF

Stops header/trailer output to a device.

   HEADOFF ldev
HEADOFF 6

HEADON

Resumes header/trailer output to a device.

   HEADON ldev
HEADON 6

HELLO

Initiates an interactive session.

   HELLO [session,]user[/userpass].acct[/acctpass][,group[/grouppass]]
[;TERM={termtype
termname}][;TIME=cpusecs][;PRI={BS
CS
DS
ES}]
[;INPRI=inputpriority
;HIPRI][;INFO=ciinfo] [;PARM=ciparm]
HELLO USER.TECHPUBS

HELP

Accesses the HELP subsystem.

Direct access:

   HELP  [{udcfilename 
commandname[ keyword][,ALL]
commandfilename
programfilename
SUMMARY
CLASS
HELPSTUDY
FUNCTIONS
EXPRESTIONS
VARIABLES
OPERATORS }]

Interactive (subsystem) access:

   commandname {space or comma} keyword [,ALL]

HELPMENU
SUMMARY
CLASS
HELP
HELPSTUDY

HELP ABORT
HELP LINKALL.TEST.UI

IF

Used to control the execution sequence of a job, UDC, or command file.

   IF  expression [THEN]
!PASXL MYPROG,MYUSL
!IF JCW>=FATAL THEN
! TELL USER.TECHPUBS;COMPILE FAILED
!ELSE
! TELL USER.TECHPUBS;COMPILE COMPLETED
!ENDIF

INPUT

Permits the user to assign a string to any variable. All numeric input is treated as a string. See TYPEOF function in appendix B of the MPE/iX Commands Reference Manual, and SETVAR command in the same manual.

   INPUT [NAME=]varname[;PROMPT=prompt][;WAIT=seconds][READCNT=chars]
INPUT Response; "Enter YES or NO>"
INPUT Response; "Press any key to continue"

JOB

Defines a job to be activated with the STREAM command to run in batch mode.

   JOB [jobname,]username[/userpass].acctname[/acctpass]
[,groupname[/grouppass] ]
[;TIME=cpusecs][;PRI={BS
CS
DS
ES}]
[;INPRI=inputpriority
;HIPRI]
[;RESTART] [;OUTCLASS=[ [device][,[outputpriority][,numcopies]]]]
[;TERM={termtype}] [;PRIVATE] [;SPSAVE][JOBQ=queuename]
RUN EDITOR.PUB.SYS
/ADD
1 !JOB WXYZ,WRITER.TEC
2 !EDITOR
3 TEXT ABC
4 LIST ALL,OFFLINE
5 EXIT
6 !EOJ
//
/KEEP MYJOB
/EXIT
:
STREAM MYJOB
STREAM
JOB USER.TECHPUBS;OUTCLASS=12

JOBFENCE

Defines the minimum input priority that a job or session must have in order to execute.

   JOBFENCE priorityfence
JOBFENCE 8

JOBPRI

Sets or changes the default execution priority for batch jobs and sets a maximum execution priority for batch jobs.

   JOBPRI [maxsubqueue][,defaultsubqueue]
JOBPRI 0

JOBSECURITY

Designates what level of user may request resources and control the execution of jobs.

   JOBSECURITY {HIGH
LOW }
[;PASSEXEMPT={none} {user},{xaccess},{max}]
JOBSECURITY LOW

LDISMOUNT

Negates a previously issued LMOUNT or VSRESERVE command. This informs the system that the volume set is no longer reserved system-wide. The equivalent native mode command is VSRELEASESYS.

   LDISMOUNT [*
volumesetname][,groupname[.acctname]]
LDISMOUNT DATABASE.PAYROLL.ACCTNG

LIMIT

Limits the number of concurrently running jobs/sessions.

   LIMIT [[+ |  - ] numberjobs]
[[+ | - ],numbersessions ][;JOBQ=qname]

LIMIT 2,15

LINK

Creates an executable program file by merging the relocatable object modules from all the files in its FROM= parameter.

   LINK [FROM=file[,file[,...]][;TO=destfile]]
[;RL=rlfile[,rlfile[,...]]][;XL=xlfile[,xlfile[,...]]]
[;CAP=caplist] [;NMSTACK=nmstacksize][;NMHEAP=nmheapsize]
[;UNSAT=unsatname]
[;PARMCHECK=checklevel] [;ENTRY=entryname][;NODEBUG][;MAP]
[;SHOW]
LINK FROM=OBJCODE;TO=EXECPROG;NMSTACK=50000;MAP;SHOW

LISTACCT

Displays information about one or more accounts.

Syntax

   LISTACCT [acctset][,listfile][;PASS]
[;FORMAT={SUMMARY|BRIEF|DETAIL}]
LISTACCT HPXLII;PASS

LISTDIR (UDC)

The LISTDIR UDC executes the LISTFILE command to list all files that are directories.

NOTE: System-defined UDCs are not automatically available. Your System Manager must use the SETCATALOG command to make these UDCs available for your use. For example,

SETCATALOG HPPXUDC.PUB.SYS

Syntax


LISTDIR [ [DIR=]dir_name][ [FORMAT=]format_opt]

LISTEQ

Displays all active file equations for a job or session.

   LISTEQ [listfile]

LISTEQ

FILE EQUATIONS

FILE TAPE1;DEV=ATAPE
FILE PP;ENV=LP2.ENV.OSE;DEV=EPOC
FILE MYFILE,NEW;REC=-80,3,F,ASCII;DISC=5000;SAVE
FILE POSIX=./mydir/myfile1

LISTF

Displays information about one or more permanent files.

   LISTF [fileset][,listlevel][;listfile]
LISTF

LISTFILE

Lists file information.

   LISTFILE [{fileset ((fileset [,fileset ])}][ [;FORMAT=] format_opt]
[ [;SELEQ=] select_eq]
[ [;NAME=] pattern ]
[;PASS][;PERM
;TEMP
;PERMTEMP]
[ ;USENAME
;TREE
;NOTREE ]

Selection equations, enclosed in square brackets, have the following format:

   [FTYPE = KSAMXL | SPOOL]   [OBJECT = ACCT | GROUP | FILE | DIR]
   [ACCESS = INUSE | OPEN | LOCKED | EXCLUSIVE]
   [CODE = filecodenumber |PRIV | filecode mnemonic]
NOTE: Selection equations must be surrounded by square brackets.
   LISTFILE KSAMFMT, 7
LISTFILE ,DISC
LISTFILE [a-f]#[g-z@],3;SELEQ=[FTYPE=SPOOL]

LISTFTEMP

Displays information about one or more temporary files.

   LISTFTEMP [fileset][,listlevel][;listfile]

LISTFTEMP

LISTGROUP

Displays information for one or more groups.

   LISTGROUP [groupset][,listfile][;PASS][;FORMAT={SUMMARY|BRIEF|}]

LISTGROUP DEVELOP;PASS;FORMAT=SUMMARY
LISTGROUP @.@;FORMAT=BRIEF

LISJOBQ

Displays all job queues on system.

LISTLOG

Lists currently active logging identifiers on the system and whether automatic log file changing has been enabled.

   LISTLOG [logid[;PASS]]
LISTLOG

LISTREDO

Displays the contents of the command line history stack. You may specify the format in which the listing will appear, and whether it will appear on $STDLIST or in a file.

   LISTREDO [START=m][;END=n][;OUT=outfile][;ABS
;REL
;UNN]
LISTREDO -10,-2;OUT=*LIST;UNN

LISTSPF

   LISTSPF[  [IDNAME=]  { spoolid
(spoolid [,spoolid]...)}]
[ [;SELEQ=] { select-eq
^indirect_file }] [;DETAIL
;STATUS]

Where the select equation, enclosed in square brackets, has the following format:

   select-eq :: = [equation]

equation :: = {parm {>
>=
<
<= <>
=} value
NOT (equation)
(equation) {AND
OR} (equation) }
LISTSPF O@;SELEQ=[(PRI>2)AND(DATE<09/30/89)];DETAIL

LISTUSER

Displays information for one or more users.

   LISTUSER [userset][,listfile][;PASS]
[;FORMAT={SUMMARY|BRIEF|DETAIL}]
LISTUSER PETE;PASS
LISTUSER PETE;PASS;FORMAT=SUMMARY
LISTUSER @;FORMAT=BRIEF
LISTUSER PETE;FORMAT=DETAIL

LMOUNT

Requests a logical reservation of a volume set. This informs the system that the volume set is to be reserved system-wide. The equivalent native mode command is VSRESERVESYS.

   LMOUNT [{*
(blank)
volumesetname}] [.groupname[.acctname] ]
[;GEN=[genindex]]
LMOUNT DATABASE.PAYROLL.ACCTNG
VSRESERVESYS DATABASE.PAYROLL.ACCTNG

LOG

Starts, restarts, or stops user logging.

   LOG logid {,RESTART
,START
,STOP}
LOG LOGPROCX,START

=LOGOFF

Aborts all executing jobs/sessions and prevents any further logon. You may optionally specify one job or one session that is to remain logged on.

   =LOGOFF [#Snnn
#Jnnn]
CTRL A
=LOGOFF

or

   CTRL A
=LOGOFF #S2

=LOGON

Enables job/session processing following =LOGOFF.

   =LOGON
CTRL A
=LOGON

MOUNT

Sends a request to the system to reserve a volume set (keep it online). The set must be on line in order to have the command take effect. The equivalent MPE/iX command is VSRESERVE.

   MOUNT [{*           
(blank)
vsname}][.groupname[.acctname] ][;GEN=[genindex]]
MOUNT MYSET;GEN=43

NEWACCT

Creates a new account with an associated account manager and PUB group.

   NEWACCT acctname,mgrname[;PASS=[password]][;FILES=[filespace]]
[;CPU=[cpu]][;CONNECT=[connect]][;CAP=[capabilitylist]]
[;ACCESS=[fileaccess]]
[;MAXPRI=[subqueuename]][;LOCATTR=[localattribute]]
[;ONVS=volumesetname]
NEWACCT ACI,MNGR
NEWACCT DOCTOR,WHO;CAP=IA,BA,GL,AM,AL
NEWACCT DOCTOR,WHO;ONVS=MY_VOL
NEWACCT DOCTOR,WHO;UID=150;GID=120;CAP=IA,BA,SF,ND,GL,AM,AL

NEWDIR

Creates a directory.

Syntax

   NEWDIR [DIR=]dir_name [;SHOW | NOSHOW]
NEWDIR /MYACCT/MYGRP/DIR1
NEWDIR dir1.mygroup.myacct
NEWDIR /myacct/jones/cmdf/john

NEWLINK

This command creates a link to a file, group, account, or directory.

   NEWLINK [ LINK=] linkname[;TO=]   sourceobject[ {;SYMBOLIC} ]
:NEWLINK LINK=PAYCODE; TO=PAYROLL.CODE.SOFTWARE
:NEWLINK PAYCODE, PAYROLL.CODE.SOFTWARE

NEWGROUP

Creates a new group within an account.

   NEWGROUP groupname[.acctname][;PASS=[password]]
[;FILES=[filespace]]
[;CPU=[cpu]][;CONNECT=[connect]][;CAP=[capabilitylist]]
[;ACCESS=[fileaccess]]
[;ONVS=volumesetname][;HOMEVS=volumesetname]
NEWGROUP G2.GRIMSBY; CAP=PH,MR

NEWJOBQ

Creates a job queue.

   NEWJOBQ qname[;LIMIT=n]

NEWUSER

Defines a new user.

   NEWUSER username[.acctname][;PASS=[password]]
[;CAP=[capabilitylist]]
[;MAXPRI=[subqueuename]][;LOCATTR=[localattribute]]
[;HOME=[homegroupname]][;UID=[uid]]
NEWUSER LHSMITH;PASS=SMITTY;HOME=HOMEGPX
NEWUSER LHSMITH;UID=120;PASS=SMITTY;HOME=HOMEGPX

OCTCOMP

Converts a compiled MPE V/E program into native mode (NM) code for the 900 Series HP 3000.

   OCTCOMP [input] [,[targetfile][,[list]][;INFO=quotedstring]]
or
OCTCOMP [input] [,[targetfile][,[list][,[INFO=]quotedstring]]]
OCTCOMP SOURCEIN,OCTOUT;INFO="TRANS=1,2,3,4"

OPENQ

Opens the spool queue for a specified logical device or device class.

   OPENQ {ldev  [;SHOW]
devclass [;SHOW]
devname [;SHOW]
@ }
OPENQ 6;SHOW

OPTION

This command modifies the environment of user defined commands and command files. It is used within the command definition to set up and change the environment dynamically.

   OPTION [LIST
NOLIST] [,] [RECURSION
NORECURSION]
OPTION LIST

OUTFENCE

Defines the minimum priority that an output spoolfile needs in order to be printed.

   OUTFENCE outputpriority [;LDEV=ldev] [;DEV= {dev
devclass
devname}]

OUTFENCE 14
OUTFENCE 7;LDEV=6

PASCAL

Compiles a compatibility mode Pascal/V program. The native mode equivalent of this command is PASXL.

   PASCAL [textfile][,[uslfile][,listfile]][;INFO=quotedstring]
PASCAL PASCSRC,PASCOBJ,LISTFILE

PASCALGO

Compiles, prepares, and executes a compatibility mode Pascal/V program. The native mode equivalent of this command is PASXLGO.

   PASCALGO [textfile][,listfile][;INFO=quotedstring]
PASCALGO PASCSRC,LISTFILE

PASCALPREP

Compiles and prepares a compatibility mode Pascal/V program. The native mode equivalent of this command is PASXLLK.

   PASCALPREP [textfile][,progfile][,listfile][;INFO=quotedstring]
PASCALPREP PASCSRC,PASCPROG

PASXL

Compiles an HP Pascal/iX program.

   PASXL [textfile][,[objectfile][,[listfile][,libfile]]]
[;INFO=quotedstring]
PASXL MAIN, OBJMAIN
PASXL SUB, OBJSUB
LINK FROM=OBJMAIN,OBJSUB;TO=SOMEPROG
RUN SOMEPROG

PASXLGO

Compiles, links, and executes an HP Pascal/iX program.

   PASXLGO [textfile][,[listfile][,[libfile]]][;INFO=quotedstring]
PASXLGO SOURCE,LISTFILE

PASXLLK

Compiles and links an HP Pascal/iX program.

   PASXLLK [textfile][,[progfile][,[listfile][,libfile]]]
[;INFO=quotedstring]
PASXLLK SOURCE,PROG

PAUSE

Allows the user to suspend current activity for a specified number of seconds, or until one or more jobs complete.

   PAUSE [num_seconds]  [;JOB=jobid]  [;INTERVAL=interval_secs]  [;EXIST | WAIT | NOTEXIST]

STREAM JLOGEND
#J123
PAUSE JOB=!HPLASTJOB

PLISTF (UDC)

The PLISTF UDC executes the LISTFILE command to list descriptions of one or more disk files.

NOTE: System-defined UDCs are not automatically available. Your System Manager must use the SETCATALOG command to make these UDCs available for your use. For example:
   SETCATALOG HPPXUDC.PUB.SYS
If the PLISTF UDC is cataloged, it will override the LISTF command.

Syntax

   PLISTF [fileset] [,format_opt] [;outfile]

PREP

Prepares a compatibility mode program from a user subprogram library (USL) file onto a program file.

   PREP uslfile,progfile[;ZERODB] [;CAP=capabilitylist] [;PMAP]
[;RL=filename]
[;MAXDATA=segsize][;PATCH=patchsize] [;STACK=stacksize]
[;DL=dlsize]
[;NOSYM] [;FPMAP
;NOFPMAP]
PREP USLX,PROGX
SAVE PROGX

PREPRUN

Prepares and executes a compiled compatibility mode program.

   PREPRUN uslfile[,entrypoint] [;NOPRIV][;RL=filename] [;PMAP]
[;NOCB] [;DEBUG]

[;INFO=quotedstring] [;LMAP[;STDIN[*formaldesig
=fileref
$NULL]]]
[;MAXDATA=segsize]
[;PARM=parameternum] [;STDLIST=[*formaldesig
fileref [,NEW]
$NULL]]
[;STACK=stacksize] [;DL=dlsize] [;PATCH=patchsize]

[;LIB={G
P
S}] [;NOSYM][{;FPMAP
;NOFPMAP}] [;CAP=capabilitylist]
PREPRUN XUSL;PMAP;LMAP

PRINT

Prints the contents of a file.

   PRINT[ [FILE=]filename] [;[OUT=]outfile][;[START=]m]
[;[END=] n ][;[PAGE=]p][;{UNN NUM}][;NONOM]
PRINT MYFILE;OUT=XXY
PRINT ./posix/doc/print.doc;start=-10

PURGE

Deletes a file from the system.

   PURGE filereference[;TEMP]
[ ;ONLOCKWORD= SELECT | SKIP]
[ ;ONERROR= CONTINUE | QUIT]
[ ;NOAUTOLOCKWORD | LOCKWORD]
[ ;CONFIRM ;NOCONFIRM | ;CONFIRMALL]
[ ;SHOW | ;NOSHOW]
PURGE PFILE,TEMP
PURGE ./posix/DOC/print.doc

PURGEACCT

Removes an account and its groups and users from the system directory or from the specified volume set's directory.

   PURGEACCT acctname [;ONVS=volumesetname]
PURGEACCT ACCT1
ACCT ACCT1 TO BE PURGED? YES

PURGEDIR

Purges (unlinks) one or more directories.

Syntax

   PURGEDIR [dir=]dir_name [; CONFIRM | NOCONFIRM ]
[; TREE | NOTREE | USENAME ] [; SHOW | NOSHOW]
[; SHOWERRORS | NOSHOWERRORS]
PURGEDIR /MYACCT/MYGRP/dir1
PURGEDIR /MYACCT/MYGRP/dir1;NOTREE
PURGEDIR /MYACCT/MYGRP/dir1/
PURGEDIR /MYACCT/MYGRP/dir1 ;TREE

PURGEGROUP

Removes a group (and all files belonging to it) from the system, or from the specified volume set directory.

   PURGEGROUP groupname[.acctname][;ONVS=volumesetname]
PURGEGROUP GROUP1
GROUP GROUP1 TO BE PURGED? YES

PURGEJOBQ

Removes a job queue

   PURGEJOBQ qname

PURGELINK

This command removes a link.

   PURGELINK [LINK=] linkname
PUREGLINK PAYROLL
PURGELINK /dira/scripts

PURGEUSER

Removes a user from an account.

   PURGEUSER user[.acctname]
PURGEUSER USER1
USER USER1 TO BE PURGED? YES

RECALL /=RECALL

Displays all pending console REPLY messages.

   RECALL
=RECALL
RECALL
THE FOLLOWING REPLIES ARE PENDING:
10:05/#J19/15/LDEV # FOR "L00576" ON TAPE1600 (NUM)?

REDO

Allows the user to edit and reexecute any command still retained in the command line history stack.

   REDO [ [CMD=]cmdid][ [;EDIT=]editstring]
REDO 10

REFUSE

Disables jobs/sessions and/or data on a designated device.

   REFUSE [JOBS,][DATA,]ldev
REFUSE DATA,35

RELEASE

Releases a file from file access matrix access control. This command does not affect access control defined by lockwords or access control definitions (ACDs). It cannot be used on directories.

The file matrix access is not enforced until the file is secured with the MPE/iX SECURE command.

   RELEASE filereference
RELEASE FILE1

RELLOG

Removes a user logging identifier from the system.

   RELLOG logid
RELLOG DATALOG

RENAME

Changes identity (file name, lockword, and/or group name) of a disk file.

   RENAME oldfilereference,newfilereference[,TEMP]
RENAME OLDFILE,NEWFILE/LOCKW.NEWG.NEWACCT,TEMP
RENAME FILE2/LOCKA,FILE2/LOCKB
RENAME MYFILE.GROUP1,MYFILE.GROUP2

REPLY/=REPLY

Replies to pending resource requests at the console.

   REPLY pin,reply
=REPLY pin,reply
10:05/#J19/15/LDEV# FOR "NAS" OF TAPE1600 (NUM)?
REPLY 15,7

REPORT

Displays accounting information for the logon account and group. Any user may obtain REPORT information about the user's logon group.

   REPORT [groupset][,listfile][;ONVS=[volumesetname]]
REPORT SOPRM

RESET

Cancels file equations.

   RESET {formaldesignator
@}
RESET ALPHA

RESETACCT

Resets the running counts of CPU time or connect time accumulated by an account and by all groups within that account to zero.

   RESETACCT [ [@
acct] [,[CPU
CONNECT] ] ]
RESETACCT @,CPU

RESETDUMP

Disarms the debug call that is made during abnormal process termination.

   RESETDUMP
RESETDUMP

RESTORE

Returns files that have been stored on magnetic tape to the system.

   RESTORE [restorefile][;filesetlist][;option[;...]]

where option is:

   [;DEV=device][;SHOW[=showoption[,showoption[,...]]]]
[;FILES=maxfiles]

[;{LOCAL
GROUP=groupname
ACC[oun]T=accountname}[;...]]
[;CREATE[= {GROUP
ACCOUNT
CREATOR} [,...]]]
[;CREATOR[=username]][;{KEEP
NOKEEP}] [;{OLDDATE
NEWDATE}]
[;ONERR[or]= {QUIT
SKIP}]
[;DIRECTORY] [;LISTDIR] [;FCRANGE=filecode/filecode[,...]]
[;VOLSET=volumesetname] [;VOL=volumename]
[;VOLCLASS=volumeclassname]
FILE T;DEV=TAPE
RESTORE *T;@;KEEP;SHOW

RESUME

Resumes execution of a suspended operation.

   RESUME
RESUME
READ PENDING
Return

RESUMEJOB

Resumes a suspended job.

   RESUMEJOB #Jnnn
RESUMEJOB #J68

RESUMELOG

Resumes system logging following suspension caused by an error.

   RESUMELOG
ST/10:43/LOG FILE NUMBER 104 ERROR #46.
LOGGING SUSPENDED.
RESUMELOG
ST/10:45/LOG FILE NUMBER 104. LOGGING RESUMED.
ST/10:45/LOG FILE NUMBER 104 ON.

RESUMESPOOL

Resumes suspended spooler output to a spooled device.

   RESUMESPOOL ldev{ ;BACK [nnn FILES
nnn PAGES]
;FORWARD [nnn FILES
nnn PAGES]
;BEGINNING }
RESUMESPOOL 6;BEGINNING

RETURN

Causes execution to return from the current user command (UDC or command file) to the calling environment.

   RETURN
RETURN

RPG

Compiles an RPG/V program in compatibility mode.

   RPG [textfile][,[uslfile][,[listfile][,[masterfile][,newfile]]]]
BUILD OBJECT;CODE=USL
RPG SOURCE,OBJECT,LISTFL

RPGGO

Compiles, prepares, and executes an RPG/V program in compatibility mode.

   RPGGO [textfile][,[listfile][,[masterfile][,newfile]]]
RPGGO SOURCE,LISTFL

RPGPREP

Compiles and prepares an RPG/V program in compatibility mode.

   RPGPREP [textfile][,[progfile][,[listfile][,masterfile][,newfile]]]

RPGPREP,COMFL
SAVE $OLDPASS,NUSL

RPGXL

Compiles an RPG/XL program.

   RPGXL [textfile][,[objectfile][,listfile]] [;INFO=quotedstring]

RPGXL RPGSRC,MYRPGOBJ,LISTFILE

RPGXLGO

Compiles, links, and executes an RPG/XL program.

   RPGXLGO [textfile][,listfile] 

RPGXLGO RPGSRC,LISTFILE

RPGXLLK

Compiles and links an RPG/XL program.

   RPGXLLK [textfile][,[progfile][,listfile]]

RPGXLLK RPGSRC,RPGPROG

RUN

Executes a prepared or linked program.

   RUN progfile[,["]entrypoint["]][;NOPRIV][;LMAP][;DEBUG]
[;MAXDATA=maxstack] [;PARM=parameternum]
[;STACK=stacksize] [;DL=dlsize] [;NMSTACK=nmstacksize]
[;NMHEAP=nmheapsize]
[;LIB= {G
P
S}] [;XL="library[, ...]"] [;NOCB]
[;INFO="quotedstring"]
[;UNSAT=[`"]unsatproc[`"]] [;STDIN=[ *formaldesig
fileref
$NULL ]]
[;STDLIST=[ *formaldesig
fileref [,NEW]
$NULL ]] [;PRI= {BS
CS
DS
ES} {#}]

RUN TESTPROG;DEBUG;STDIN=*INFILE;STDLIST=RESULTS,NEW

SAVE

Saves a file in the permanent system file domain.

   SAVE {$OLDPASS,newfilereference
tempfilereference }

SAVE $OLDPASS,PROGFILE
SAVE TEMPFL
SAVE DATAFILE.GROUPX

SECURE

Restores file access matrix access control for a file. The RELEASE command suspends file access matrix access control. Enabling the fiel access matrix does not have an immediate effect on file access if the file is protected by an ACD. ACDs override the file access matrix.

   SECURE filereference
SECURE FILE1

or

   SECURE ./FILE1

SEGMENTER

Starts the MPE segmenter.

   SEGMENTER [listfile]

FILE LISTFL;DEV=LP
SEGMENTER *LISTFL

SET

Defines elements of the command interpreter. It also allows a job using a spooled $STDLIST to mark its standard list device for deletion when the job terminates.

   SET [STDLIST={DELETE 
SAVE}][;ECHO={ON
OFF}][;MSG={ON
OFF}]
[;SPEED={300
1200
2400
4800
9600
19200
19.2K}]

!JOB EXAMPLE, USER.TECHPUB,XGROUP
!CONTINUE
!RUN UPDATE.PUB.SYS;PARM=1;MAXDATA=16000
!IF JCW < FATAL THEN
!SET STDLIST=DELETE
!ENDIF
!EOJ

SETCATALOG

Causes the command interpreter to search a catalog of user defined commands (UDCs) and to establish a directory entry for each command, or to clear the previous catalog.

   SETCATALOG [catfilename[,catfilename,...[,catfilename]]][;SHOW]
[;SYSTEM]
[;ACCOUNT][;USER=username[.acctname]][;RESET][;APPEND]
[;DELETE]

SETCATALOG UDCA,UDCB
SETCATALOG UDCA
SETCATALOG UDCB;APPEND
SETCATALOG

SETCLOCK

Alters the system time or system time zone.

   SETCLOCK {DATE= date spec; TIME= time spec [;GRADUAL
;NOW]
CORRECTION= correction spec
TIMEZONE= time zone spec
;CANCEL}

:SETCLOCK DATE=07/04/1993;TIME=15:00
:SETCLOCK CORRECTION= +3600

SETDUMP

Arms the system DEBUG facility for a process abort.

   SETDUMP [DB[,ST[,QS]]][;ASCII][;DEBUG="commands"]

SETDUMP

SETJCW

Creates or assigns a value to a job control word (JCW) variable.

   SETJCW jcwname delimiter value [ {+ 
-} value]

SETJCW CURR1,100
SETJCW CURR1/WARN
SETJCW NEWJCW=LASTJCW + 56

SETMSG

Enables or disables the receipt of user or operator messages at the standard list device.

   SETMSG {OFF
ON }

SETMSG OFF
SETMSG ON

SETVAR

Assigns values to MPE/iX variables.

   SETVAR varname{ expression 
,expression
;expression}

SETVAR HPPROMPT "!HPUSER.!HPACCOUNT:"

SHOWALLOW

Displays which operator commands have been allowed.

   SHOWALLOW [user.acct
user.@
@.acct
@.@ ]

SHOWALLOW USER.SYS

SHOWCATALOG

Displays information about user defined commands (UDCs).

   SHOWCATALOG [listfile][;USER=username[.acctname]]

SHOWCATALOG ;USER=@.GRIMSBY

SHOWCLOCK

Displays information about the system date and time.

   SHOWCLOCK

:SHOWCLOCK

SYSTEM TIME: FRI, JUL 24, 1987, 8:47:35 AM
CURRENT TIME CORRECTION: -3428 seconds
TIME ZONE: 7 HOURS 0 MINUTES WESTERN HEMISPHERE

SHOWDEV

Reports the status of input/output devices.

   SHOWDEV [ldev     
classname]

SHOWDEV 5

SHOWIN

Reports the status of input device files.

   SHOWIN [#Innn  
STATUS
SP
item [;item [;...]]]

Where item is:

   [DEV=ldev ]   [JOB= {@J  
@S
@
[ #]Jnnn
[ #]Snnn}]
[ACTIVE
OPENED
READY ]

SHOWIN JOB=@S;OPENED

SHOWJCW

Displays the current state of one or more job control word (JCW) variables.

   SHOWJCW [jcwname]

SHOWJCW JCW1

SHOWJOB

Displays status information about jobs/sessions.

 SHOWJOB [ [#]Snnn
[#]Jnnn
STATUS
SCHED
item[;item[;...]]][;*listfile]
[;JOBQ]

Where item is:

   [JOB={@J 
@S
@
[jsname,]username.acctname}] [;INTRO
;EXEC
;SUSP
;WAIT [,N
,D] ]

SHOWJOB STATUS

SHOWLOG

Displays the number of the system's current log file and the percentage of disk space used.

   SHOWLOG

SHOWLOG

SHOWLOGSTATUS

Displays status information about currently opened user logging files assigned to a logging identifier.

   SHOWLOGSTATUS [logid]

SHOWLOGSTATUS LEN

SHOWME

Reports job/session status.

   SHOWME

SHOWME

SHOWOUT

Displays the status of output device files.

   SHOWOUT [#Onnn     
STATUS
SP
item[;item[;...]]]

Where item is:

   [DEV={ldev 
classname}][JOB= {@J
@S
@
[#]Jnnn
[#]Snnn }][ACTIVE
OPENED
LOCKED
READY [,N
,D]]

SHOWOUT STATUS
SHOWOUT #0111

SHOWPROC

Displays information about one or more processes. (Native Mode)

   SHOWPROC [ [;PIN=] {pinspec(pinspec [,pinspec]...)}
[;JOB=] {jobspec(jobspec [,jobspec]...)}] [ ...]
[ [;FORMAT=] SUMMARY | DETAIL] [;TREE | ;NOTREE]
   [;USER | ;ANYUSER][;SYSTEM]

SHOWPROC 1;SYSTEM;TREE Show ALL processes if user has SM.
SHOWPROC 42,#J3;TREE Show process information for pin 42
and for job 3 and its descendants.
SHOWPROC JOB=@J;ANYUSER Show all jobs to SM or OP user.
SHOWPROC (150,#P247,211) Show process information for pins 150, 247, 211.

SHOWQ

Displays process scheduling data and the contents of each subqueue. System supervisor (OP) capability is required to use this command.

   SHOWQ [;ACTIVE] [;STATUS]

SHOWQ

SHOWTIME

Prints current time and date.

   SHOWTIME

SHOWTIME

SHOWVAR

Displays specific variable names and their current values.

   SHOWVAR [varid][,varid]...[,varid][;JOB=jobid] [;HP | USER |ANY]

SHOWVAR firstvariable, secondvariable

=SHUTDOWN

Initiates a shutdown of MPE/iX.

   =SHUTDOWN [ system
terminal
dtc
tape
disk
network
other ]

CTRL]] A]]
=SHUTDOWN

CTRL]] A]]
=SHUTDOWN dtc

SHUTQ

Closes the spool queue for the specified logical device or device class.

   SHUTQ {ldev  [;SHOW]   
devclass [;SHOW]
devname [;SHOW]
@}

SHUTQ @
SHUTQ 6;SHOW

SPEED

Sets the input and output speed for the user's terminal.

   SPEED newinspeed, newoutspeed
or
SET SPEED = newspeed

SPEED 240,240
or
SET SPEED=2400

SPL

Compiles a compatibility mode SPL/V program.

   SPL [textfile][,[uslfile][,[listfile][,[masterfile][,newfile]]]]
[;INFO=quotedstring]

SPL SOURCE,OBJECT,LISTFL
SAVE OBJECT

SPLGO

Compiles, prepares, and executes a compatibility mode SPL/V program.

   SPLGO [textfile][,[listfile][,[masterfile][,newfile]]]
[;INFO=quotedstring]

SPLGO SOURCE,LISTFL

SPLPREP

Compiles and prepares a compatibility mode SPL/V program.

   SPLPREP [textfile][,[progfile][,[listfile][,[masterfile][,newfile]]]]
[;INFO=quotedstring]

SPLPREP SFILE,MYPROG

SPOOLER

Controls spooler processes.

   SPOOLER [DEV=]{ldev
devclass
devname}
{;SHOW
;OPENQ [;SHOW]
;SHUTQ [;SHOW]
;START [;OPENQ
;SHUTQ] [;SHOW]
;STOP [;FINISH
;NOW] [;OPENQ
;SHUTQ] [;SHOW]
;SUSPEND [ [;FINISH
;NOW] [;NOKEEP
;KEEP]
[;OFFSET=[+
-]page]
[;OPENQ
;SHUTQ] [;SHOW] ]
;RESUME [;OFFSET=[+
-]page] [;OPENQ
;SHUTQ] [;SHOW]
;RELEASE [;OFFSET=[+
-]page][;OPENQ
;SHUTQ] [;SHOW]}

SPOOLER dev;SUSPEND;NOKEEP;OFFSET=1
SPOOLER dev;SUSPEND;KEEP;OFFSET=-3
SPOOLER dev;RESUME;OFFSET=-6
SPOOLER LP;SHOW

SPOOLF

Allows a qualified user to alter, print, or delete output spoolfile(s). (Native Mode)

  SPOOLF  {[ [IDNAME=] {spoolid 
(spoolid[,spoolid]. . .)}
[;ALTER] [;SELEQ= {[select-eq]
^indirect_file}]
[;DEV={ldev
devclass
devname}]
[;PRI=outpri] [;COPIES= numcopies]
[;SPSAVE] [;DEFER
;UNDEFER] [;SHOW] ]
[ [IDNAME=] {fileset
(fileset[,fileset]. . .)}
[;PRINT] [;DEV= {ldev
devclass
devname}]
[;PRI=outpri] [;COPIES= numcopies]
[;SPSAVE] [;DEFER
;UNDEFER] [;SHOW] ]
[ [IDNAME=] {spoolid
(spoolid[,spoolid]. . .)}
[;DELETE] [;SELEQ= {select-eq
^indirect_file}]
[;SHOW] ] }

Where the select equation, enclosed in square brackets, has the following syntax:

   select_eq ::= [equation]

equation ::= {parm{ >
>=
<
<=
<>
= } value
NOT (equation)
(equation) {AND
OR} (equation) }

SPOOLF O@;SELEQ=[DEV=16];ALTER;PRI=8;SHOW

STARTSESS

Creates a session on the specified device, if the user has programmatic sessions (PS) capability.

   STARTSESS ldev;[sessionname,]user[/userpass].acct[/acctpass]
[,group[/grouppass]]
[;TERM={termtype}][;TIME=cpusecs][;PRI= {BS
CS
DS
ES}]
[;INPRI=inputpriority
;HIPRI]
[;NOWAIT] [;INFO=ciinfo] [;PARM=ciparm]

STARTSESS 28;USER.GROUP.ACCOUNT

STARTSPOOL

Initiates the spooler process for a device.

   STARTSPOOL [{ldev[;SHUTQ]
devclass }]

STARTSPOOL 6;SHUTQ

STOPSPOOL

Terminates spooling to a specified device or device class.

   STOPSPOOL [{ldev[;OPENQ]
devclass }]

STOPSPOOL 6;OPENQ

STORE

Copies disk files onto a magnetic tape. Files copied to tape with the STORE command can be recovered with the RESTORE command.

   STORE [filesetlist][;[storefile][;option[;option[;...]]]]

where option is:

   [;SHOW[=showparmlist]] [;ONERROR=recoverytype] [;FILES=maxfiles]
[;DATE<=accdate
;DATE>=moddate][;PURGE] [;PROGRESS [=minutes]]
[;FCRANGE=filecode/filecode[,... ]] [;DIRECTORY] [;TRANSPORT]
[;SPLITVS=split_setname[,split_setname[... ]]]
[;ONVS=volumesetname[,volumesetname[... ]]] [;MAXTAPEBUF]
[;COPYACD][;NOACD] [;RENAME]

The filesetlist parameter has the following form:

   filesetitem[,filesetitem[...]]

where filesetitem may be !!indirectfile, !!^indirectfile, fileset.

The fileset parameter has the following form:

   filestostore[-filestoexclude[-filestoexclude[-...]]]

FILE DEST;DEV=TAPE
STORE @.GP4X;*BACKUP;SHOW;TRANSPORT
FILE SYSLIST;DEV=LP
; SPLITVS = SPLIT_SETNAME[,SPLIT_SETNAME ... ]
STORE @.@.@;*REEL;ONVS=VOLMINE
STORE @.GP4X;*BACKUP;SHOW
FILE T;DEV=TAPE
STORE INDFILE;*T ** or ^INDFILE;*T **
STORE @.GROUP.ACCOUNT
STORE myset[d-e 1-6]
STORE
STORE @.@.@-@.@.SYS;*TAP;SHOW=SECURITY,DATES,LONG&
STORE @.GROUP.ACCOUNT;PURGE
STORE PROG@.VERSION#.PRODACCT=@.@.ARCHIVE:CREATOR;*T;RENAME

STREAM

Spools batch jobs or data from a session or job. The optional time-related parameters of the STREAM command may be used to schedule jobs.

   STREAM [filename] [,char][;AT = timespec]
[;DAY = {day-of-week
day-of-month
days-until-month}]
[;DATE = datespec][;IN = [days[, [hours] [,minutes]]]] [;JOBQ=queuename]

STREAM JOBFILE;IN=1,8

STREAMS

Enables or disables the STREAMS device. Allows or disallows users to submit job/data streams.

   STREAMS {ldev
OFF }

STREAMS 10

SUSPENDSPOOL

Suspends output to a spooled device.

   SUSPENDSPOOL ldev[;FINISH]

SUSPENDSPOOL 6;FINISH

SWITCHLOG

Closes the current system log file, then creates and opens a new one.

   SWITCHLOG

SWITCHLOG

SYSGEN

Starts configuration dialog and/or installation tape creation. This command replaces the SYSDUMP command, which is no longer supported.

   SYSGEN [basegroup][,newgroup][,inputfile][,outputfile]

SYSGEN CONFIG,NEWCONF,$STDIN,$STDLIST

TELL

Sends a message to another session.

   TELL {[#]Snnn                      
[sessionname,]username.acctname
@
@.acctname
@S }[ [;]text]

TELL @.A PLEASE LOG OFF

TELLOP

Sends a message to the system console.

   TELLOP [text]

TELLOP PLS MOUNT MYTAPE,VERSION 1

TUNE

Changes the filter and/or priority limits of circular subqueues.

   TUNE [mincycle]  [;CQ=qinfo
;DQ=qinfo
;EQ=qinfo] [ ... ]

Where qinfo is written in the following form:

   [base [,[limit][,[min][,[max][,DECAY
,OSCILLATE]]]]]

TUNE CQ=152,200,,300;DQ=202,238,1000,1000,OSCILLATE

UP

Returns a particular device to its normal function on the system; cancels any DOWN command issued for the device. This command does not apply to disks.


UP ldev

UP 10

VMOUNT

Enables or disables the MPE/iX movable volume facility.

   VMOUNT {ON [,AUTO] 
OFF } [;ALL]

VMOUNT OFF;ALL

VSCLOSE

Informs the system to close the specified volume set and take it offline. (Native Mode)

   VSCLOSE volumesetname [ [;PARTVS=] {USER 
BACKUP}] [;NOW
;SPLIT]

VSCLOSE ACCOUNTING_PAYROLL
VSRELEASESYS ACCOUNTING_PAYROLL
VSCLOSE ACCOUNTING_PAYROLL

VSOPEN

Reopens a volume set that has been closed with VSCLOSE. The volume set becomes available for use again. (Native Mode)

   VSOPEN volumesetname[ [;PARTVS=] {USER 
BACKUP}]

VSOPEN ACCOUNTING_PAYROLL

VSRELEASE

Releases a volume set that was explicitly reserved by the user with VSRESERVE. The equivalent compatibility mode command is DISMOUNT.

   VSRELEASE [volumesetname]

VSRELEASE ACCOUNTING_PAYROLL

VSRELEASESYS

Negates a previously issued VSRESERVESYS for the specified volume set. The equivalent compatibility mode command is LDISMOUNT.

   VSRELEASESYS volumesetname

VSRELEASESYS ACCOUNTING_PAYROLL

VSRESERVE

Notifies the system to keep a particular volume set on line. The equivalent compatiblity mode command is MOUNT.

   VSRESERVE [volumesetname][;GEN=genindex]

VSRESERVE ACCOUNTING_PAYROLL

VSRESERVESYS

Instructs the system to reserve a volume set online system-wide. The equivalent compatibility mode command is LMOUNT.

   VSRESERVESYS volumesetname

VSRESERVESYS ACCOUNTING_PAYROLL

VSTORE

Verifies that the data on a backup media are valid (for example, there are no media errors) and reports errors incurred by STORE when writing the tape. VSTORE only applies to NMSTORE tapes created in native mode. It does not work on tapes created in compatibility mode. (Native Mode)

   VSTORE vstorefile [;[filesetlist][option [;...]]]

Where option has the following format:

   [;SHOW=[showoption[,showoption[,...]]]]
[;ONERR[OR]={QUIT
SKIP
FULL}][;LOCAL][;DIRECTORY]

VSTORE *T;@.@.@.; SHOW = OFFLINEV
FILE SYSLIST;DEV=LP
FILE T; DEV=TAPE
VSTORE *T; @.@.@
VSTORE *T;@.@.@; SHOW=OFFLINE

VSUSER

Lists all users of a currently reserved, mountable volume set.

   VSUSER [volumesetname]


VSUSER

WARN

Sends an urgent message to jobs/sessions.

   WARN {@                    
[#]Jnnn
[#]Snnn
[jsname,]user.acct} [;message]

WARN @;THE SYSTEM WILL SHUTDOWN IN 5 MINUTES. PLS LOG OFF.
WARN #S51;LAST CHANCE TO LOG OFF GRACEFULLY.

WELCOME

Defines the welcome message.

   WELCOME [welcfile]

WELCOME
#WELCOME TO THE HP3000 COMPUTER SYSTEM.
#FILES WILL BE STORED EACH DAY BETWEEN 6AM AND 7AM.
#Return]]

WHILE

Used to control the execution sequence of a job, UDC, or command file.

   WHILE expression[DO]

WHILE SETVAR
.
.
.
ENDWHILE

XEQ

Executes any program or command file.

   XEQ filename [parameterlist] *

or

   XEQ filename [;INFO=quotedstring][;PARM=parmvalue] **

* for command files
** for program files

XEQ fcopy
Feedback to webmaster