CI Structure and Implementation
(changed)
The MPE XL CI was designed to look the same as the MPE V/E CI, but there
are some internal changes and some enhancements.
MPE V/E implemented the CI as a system process. In MPE XL, the CI is an
executable program file instead, residing in PUB.SYS. This allows you to
run CI.PUB.SYS as a program. Repeating the RUN CI.PUB.SYS command
creates nested levels of CI.
Also, CI.PUB.SYS uses the info= and parm= parameters of the RUN command.
The info= string may contain a command, and parm= a value that can
control initiation and/or termination done by the CI.
Unlike MPE V/E, MPE XL handles scanning and parsing as a separate
preliminary process. This way, errors can be detected before the CI
attempts execution. String substitution is performed on each command
line before the command is processed. This allows all variables,
including UDC parameters, to be substituted before the command name is
extracted.
Changes to the following CI features are discussed in this section:
* new command files and UDCs.
* new CI variables and JCWs.
* expression evaluator.
* command language.
* REDO facility and REDO command.
Command Files and User Defined Commands
(changed)
There are two types of user commands that you can use to customize your
environment or create personal command files. The UDCs (User Defined
Commands) that exist on MPE V/E are enhanced on MPE XL. MPE XL also
allows a type of user files called command files.
UDCs. UDCs are personalized files you build with sets of CI commands.
UDCs are executed first, and can override or supersede MPE commands. You
can build a set of files that invoke automatically at logon time to
customize the user's environment.
UDC files are activated with the SETCATALOG command. On MPE V/E, you had
to unset and then reset the catalog to change it. The new append and
delete parameters on MPE XL allow you to directly add a new UDC file to a
catalog or directly remove an existing UDC file from a catalog.
In MPE XL, you have two new options for UDCs: PROGRAM/NOPROGRAM and
RECURSION/NORECURSION.
The PROGRAM/NOPROGRAM option allows you to choose whether your UDC is to
be executable from an application.
The RECURSION/NORECURSION option determines where the CI will begin
searching for a UDC. You must choose the RECURSION option for a UDC if
you want it to call itself or to call any UDC that precedes it in its
catalog.
The CI searches the catalog sequentially. When one UDC invokes another
UDC in the session catalog without recursion, the CI begins searching at
the end of the current UDC and continues toward the end of the file.
This means it will never encounter the current UDC or any that precede it
in the session catalog. When one UDC invokes another UDC in the session
catalog with recursion, the CI begins searching at the beginning of the
session catalog.
Command Files. In MPE XL, command files provide an additional method to
create customized user command files.
Command files are similar to UDCs. They may accept parameters by
defining them in the header line and they may use most options.
UDCs are different from command files.
* UDCs are searched before MPE commands; command files are searched
after.
* UDCs have to be cataloged; command files do not.
* UDCs can be set to invoke automatically at logon; command files can
not. You can cause this effect, however by having your logon UDC
call a command file.
UDCs are entered in a catalog which, by default, is sequentially
searched. The recursion option is required if any UDC is to call itself
or any other UDC preceding in its catalog. Command file references are
resolved by the file system. Each invocation of each file is treated as
a separate entity, and recursion and search order is not an issue.
CI Variables
(changed)
The only variables the MPE V/E CI uses are the JCWs (Job Control Words),
the predefined integer variables which provide information about the
status of program execution or system information.
On MPE XL, variables can be predefined or user-defined. They can be one
of several types: Boolean, string, or integer.
MPE XL predefined variables provide more program execution information
than on MPE V/E, including logon ID, capability lists, $STDIN and
$STDLIST ldev, and CPU time used. Other predefined variables provide
system information, such as time, date, job count and job fence.
Some predefined variables are used to control the user environment.
Predefined variables are already defined by the system, but many can be
set or changed by the user. When you set HPAUTOCONT to true, it is as if
each command had a CONTINUE statement. You can set the default CI prompt
with the HPPROMPT variable. You can time terminal reads by setting the
HPTIMEOUT variable.
Three new commands help you manage the variables:
* SETVAR assigns values to variables.
* SHOWVAR displays variables and JCW information.
* DELETEVAR removes variables.
The SETJCW and SHOWJCW commands are the same in MPE V/E and MPE XL.
Expression Evaluator
The MPE XL CI has an expression evaluator, a special facility not
available on MPE V/E. It evaluates arithmetic, Boolean, and string
operations, variable functions, bit operations, data conversion, and some
special file functions.
Dereferencing. When you pass a variable to a command, the variable may
be evaluated, or dereferenced, by the expression evaluator. Every
variable has both reference (a name), and a value that is assigned to it.
When a variable is dereferenced, its value is substituted for its name.
Dereferencing can be implicit (done automatically) or explicit (done by
request). The CALC, IF, SETVAR and WHILE commands implicitly dereference
all variables you pass them. If you want to pass the value of a variable
to another command, you can explicitly cause the variable to be evaluated
by preceding the variable name with an exclamation point (!).
You inhibit the evaluation of character strings by enclosing them in
quotation marks.
You can dereference variables recursively. You create layers of
evaluation by nesting exclamation marks and quotation marks and by
marking evaluation blocks with brackets. The variables will then be
evaluated in sequence, left to right, in much the same way complex
mathematical expressions are evaluated. Explicit dereferencing takes
precedence in the sequence over implicit.
For more details on variables and a complete explanation of
dereferencing, refer to Command Interpreter Access and Variables
Programmer's Guide (32650-90011).
Calculating. Arithmetic operations include:
addition, subtraction, multiplication, and division
absolute value
modulo
exponentiation
String operations include:
concatenation
length
string extractions
case shifting
Bitwise operations include:
and
or
not
exclusive or
right or left shift
Numeric functions include converting numbers between decimal, octal and
hexadecimal bases.
File information is provided via the FINFO intrinsic. Use it for
checking existence, creation data, modification date, code number or
foptions of a file.
Variables are evaluated by the expression evaluator, either explicitly or
implicitly. The only commands that implicitly dereference expressions
are CALC, IF, SETVAR and WHILE. Other expressions must explicitly request
dereferencing.
Command Language
The MPE XL CI recognizes an implied RUN command. The command language
has added some new structures, such as the while loop, recursion and a
command to return program control to the calling environment. Commands
have been added, and some have been changed from MPE V/E to MPE XL.
Implied Run. You can use implied RUN commands in MPE XL. When you enter
a program file name, it acts as a command and creates the process. For
example, simply entering "progfile" has the same effect as entering "RUN
progfile".
You can control the implied RUN program file search and the Command file
search paths used by the CI by setting the HPPATH variable. (This is not
valid for data files.)
New Programming Structures
(new). MPE V/E has one conditional branch structure: the
IF..THEN..ELSE..ENDIF set of commands. In MPE XL, the ELSEIF command
is available as well. MPE XL enhancements also include a new
WHILE..DO..ENDWHILE command set for loops.
In addition, UDCs in MPE XL have a recursion option. You can cause
recursion in a command file by simply including a file name within the
file itself so that the file calls itself. This is powerful, so code
carefully to prevent "endless" loops.
You can use the new command RETURN in a UDC or command file to return
control to the calling environment. Files with a RETURN command that are
called from an application will complete and then return to the
application; if the file was called from the CI, it will return to the
CI.
When commands are entered, a history is kept on a stack. New commands
allow you to manage the stack. LISTREDO displays the command-line
history with each line numbered. The DO command accepts one of these
numbers to repeat the corresponding command. For further information
about DO and REDO consult General User's Reference Manual (32650-90002)
Command Summary. The tables below present the status of MPE XL commands
as compared to MPE V/E commands for the HP 3000. The "MPE XL Status"
column indicates the status of each command, and functions or features
added to these commands in MPE XL.
Commands identified as "V/E" in the Mode column were functional for MPE
V/E; most have been migrated to the MPE XL operating system. All can be
used in the Compatibility Mode environment. If their function in Native
Mode is assumed by a new command, the replacement is noted. Commands
identified as "XL" are unique to MPE XL and function in the Native Mode
environment.
Table 5-1. Command Summary
----------------------------------------------------------------------------------------------
| | | |
| Command | Mode | MPE XL Status |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ()COMMAND LOGON | V/E | Replaced with INFO= parameter of HELLO command. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ABORT | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ABORTIO (=ABORTIO) | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ABORTJOB (=ABORTJOB) | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ACCEPT | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ALLOCATE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ALLOW | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ALTACCT | V/E | The volset parameter replaced with the |
| | | volumesetname parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ALTGROUP | V/E | New HOMEVS parameter. The volset parameter |
| | | replaced with volumesetname parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ALTJOB | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ALTLOG | V/E | Does not support SDISC or CTAPE. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ALTSEC | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ALTSPOOLFILE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ALTUSER | V/E | New acctname parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ALTVSET | V/E | Function moved to VOLUTIL. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ASSOCIATE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| AUTOALLOCATE | V/E | Not supported |
| | | |
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
| | | |
| Command | Mode | MPE XL Status |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BASIC | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BASICGO | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BASICOMP | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BASICPREP | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BBASIC | V/E | Unchanged. XL equivalent is BBXL. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BBASICGO | V/E | Unchanged. XL equivalent is BBXLGO. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BBASICOMP | V/E | Unchanged. XL equivalent is BBXLCOMP. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BBASICPREP | V/E | Unchanged. XL equivalent is BBXLLK. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BBXL | XL | Initiates execution of HP Business BASIC/XL |
| | | interpreter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BBXLCOMP | XL | Compiles an HP Business BASIC/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BBXLGO | XL | Compiles, links, and executes an HP Business |
| | | BASIC/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BBXLLK | XL | Compiles and links an HP Business BASIC/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BREAKJOB | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BUILD | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| BYE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| CACHECONTROL | V/E | Not supported |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| CALC | XL | Evaluates an expression. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| CCXL | XL | Compiles an HP C/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| CCXLGO | XL | Compiles, links, and executes an HP C/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| CCXLLK | XL | Compiles and links an HP C/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| CHANGELOG | V/E | Does not support SDISC or CTAPE. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| CHGROUP | XL | Changes the user's current group. |
| | | |
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
| | | |
| Command | Mode | MPE XL Status |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COB74XL | XL | Compiles a COBOL II/XL program (1974 ANSI). |
| | | |
| |
| | | |
| | | New xdbfilename parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COB74XLG | XL | Compiles, links, and executes a COBOL II/XL program |
| | | (1974 ANSI). |
| | | |
| |
| | | |
| | | New xdbfilename parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COB74XLK | XL | Compiles and links a COBOL II/XL program (1974 |
| | | ANSI). |
| | | |
| |
| | | |
| | | New xdbfilename parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COB85XL | XL | Compiles a COBOL II/XL program (1985 ANSI). |
| | | |
| |
| | | |
| | | New xdbfilename parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COB85XLG | XL | Compiles, links, and executes a COBOL II/XL |
| | | programs (1985 ANSI). |
| | | |
| |
| | | |
| | | New xdbfilename parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COB85XLK | XL | Compiles and links a COBOL II/XL program (1985 |
| | | ANSI). |
| | | |
| |
| | | |
| | | New xdbfilename parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COBOL | V/E | Replaced by COBOLII. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COBOLGO | V/E | Replaced by COBOLIIGO. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COBOLPREP | V/E | Replaced by COBOLIIPREP. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COBOLII | V/E | Replaces COBOL. XL equivalent is COB74XL. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COBOLIIGO | V/E | Replaces COBOLGO. XL equivalent is COB74XLG. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COBOLIIPREP | V/E | Replaces COBOLPREP. XL equivalent is COB74XLK. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COMMENT | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| CONSOLE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| CONTINUE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| COPY | XL | Copies one disk file to another. |
| | | |
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
| | | |
| Command | Mode | MPE XL Status |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| DATA | V/E | Restricted to use in jobs only. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| DEALLOCATE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| DEBUG | V/E | New commands parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| DELETESPOOLFILE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| DELETEVAR | XL | Deletes a specific MPE XL variable. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| DISALLOW | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| DISASSOCIATE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| DISCRPS | V/E | Unchanged |
| | | |
| |
| | | |
| | | New value parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| DISMOUNT | V/E | Unchanged. XL equivalent is VSRELEASE. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| DO | XL | Reexecutes any command in the command line history |
| | | stack. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| DOWN | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| DOWNLOAD | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| DSTAT | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ECHO | XL | Echoes a message to the standard list device. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| EDITOR | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ELSE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ELSEIF | XL | Provides an alternate sequence for an IF statement. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ENDIF | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ENDWHILE | XL | Ends a WHILE statement. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| :EOD | V/E | Use restricted to jobs only. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| EOF | V/E | Not supported |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| EOJ | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ERRDUMP | XL | Dumps process or system error stack to specified |
| | | depth. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| EXIT | XL | Terminates the command interpreter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FCOPY | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FILE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FOREIGN | V/E | Not supported |
| | | |
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
| | | |
| Command | Mode | MPE XL Status |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FORTGO | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FORTPREP | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FORTRAN | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FREERIN | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FTN | V/E | Unchanged. XL equivalent is FTNXL. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FTNGO | V/E | Unchanged. XL equivalent is FTNXLGO. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FTNPREP | V/E | Unchanged. XL equivalent is FTNXLLK. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FTNXL | XL | Compiles a FORTRAN 77/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FTNXLGO | XL | Compiles, links, and executes a FORTRAN 77/XL |
| | | program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FTNXLLK | XL | Compiles and links a FORTRAN 77/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| FULLBACKUP | V/E | Function now in the STORE command. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| GETLOG | V/E | Does not support SDISC or CTAPE. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| GETRIN | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| GIVE | V/E | Not supported |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| HEADOFF | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| HEADON | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| HELLO | V/E | New CIPARM and CIINFO parameters. |
| | | |
| |
| | | |
| | | New termname parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| HELP | V/E | Provides help in user commands and program files. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| IF | V/E | Enhanced evaluation of expressions controls |
| | | job/file execution with a conditional structure. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| INPUT | XL | Permits interactive assignment to variables. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| JOB | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| JOBFENCE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| JOBPRI | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| JOBSECURITY | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LDISMOUNT | V/E | Unchanged. XL equivalent is VSRELEASESYS. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LIMIT | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LINK | XL | Merges relocatable object files to create an |
| | | executable program file. |
| | | |
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
| | | |
| Command | Mode | MPE XL Status |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LISTACCT | V/E | New PASS parameter and new display format. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LISTEQ | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LISTF | V/E | New display options 3, 4, and -3. Display for |
| | | option -1 modified. |
| | | |
| |
| | | |
| | | New display option 6. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LISTFTEMP | V/E | New display options 3 and -3. Display for option |
| | | -1 modified. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LISTGROUP | V/E | New PASS parameter and new display format. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LISTLOG | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LISTREDO | XL | Displays the contents of the command line history |
| | | stack. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LISTUSER | V/E | New PASS parameter and new display format. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LISTVS | V/E | Function now in VOLUTIL. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LMOUNT | V/E | Unchanged. XL equivalent is VSRESERVESYS. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| LOG | V/E | Does not support SDISC or CTAPE. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| =LOGOFF | V/E | New #Snnn/#Jnnn parameters to keep one job/session |
| | | logged on. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| =LOGON | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| MOUNT | V/E | Unchanged. XL equivalent is VSRESERVE. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| NEWACCT | V/E | New ONVS parameter. Modified volumesetname |
| | | parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| NEWGROUP | V/E | New HOMEVS parameter. Modified volumesetname |
| | | parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| NEWUSER | V/E | New acctname parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| NEWVSET | V/E | Function now in VOLUTIL. |
| | | |
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
| | | |
| Command | Mode | MPE XL Status |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| OCTCOMP | XL | Translates MPE V-compatible code to MPE XL |
| | | instructions. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| OPENQ | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| OPTION | XL | Modifies environment of user-defined commands and |
| | | command files. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| OUTFENCE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PARTBACKUP | V/E | Function now in the STORE command. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PASCAL | V/E | Unchanged. XL equivalent is PASXL. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PASCALGO | V/E | Unchanged. XL equivalent is PASXLGO. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PASCALPREP | V/E | Unchanged. XL equivalent is PASXLLK. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PASXL | XL | Compiles a Pascal/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PASXLGO | XL | Compiles, links, and executes a Pascal/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PASXLLK | XL | Compiles and links a Pascal/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PAUSE | XL | Suspends current activity for specified number of |
| | | seconds. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PREP | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PREPRUN | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PRINT | XL | Prints the contents of a file to the standard list |
| | | device or to a specified file. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PTAPE | V/E | Not supported |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PURGE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PURGEACCT | V/E | Modified volumesetname parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PURGEGROUP | V/E | New acctname parameter. Modified volumesetname |
| | | parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PURGEUSER | V/E | New acctname parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| PURGEVSET | V/E | Function now in VOLUTIL. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RECALL (=RECALL) | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| REDO | V/E | New cmdid and editstring parameters. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| REFUSE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RELEASE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RELLOG | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
| | | |
| Command | Mode | MPE XL Status |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RENAME | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| REPLY (=REPLY) | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| REPORT | V/E | Modified volumesetname parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RESET | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RESETACCT | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RESETDUMP | V/E | Function modified to disarm system debugger. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RESTORE | V/E | New VOLSET, FCRANGE, LISTDIR, VOL, VOLCLASS, and |
| | | DIRECTORY parameters. Modified maxfiles and |
| | | filesetlist parameters. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RESUME | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RESUMEJOB | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RESUMELOG | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RESUMESPOOL | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RETURN | XL | Returns execution from the current UDC or command |
| | | file to the calling environment. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RPG | V/E | Unchanged. XL equivalent is RPGXL. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RPGGO | V/E | Unchanged. XL equivalent is RPGXLGO. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RPGPREP | V/E | Unchanged. XL equivalent is RPGXLLK. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RPGXL | XL | Compiles an RPG/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RPGXLGO | XL | Compiles, links, and executes an RPG/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RPGXLLK | XL | Compiles and links an RPG/XL program. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| RUN | V/E | New nmstacksize, nmheapsize, library, unsatproc, |
| | | and PRI parameters. Modified NOPRIV, LMAP, |
| | | stacksize, maxstack, and dlsize parameters. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SAVE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SECURE | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SEGMENTER | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SET | V/E | New ECHO, MSG, and SPEED parameters. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SETCATALOG | V/E | New RESET, APPEND, and DELETE parameters. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SETDUMP | V/E | New commands parameter. |
| | | |
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
| | | |
| Command | Mode | MPE XL Status |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SETJCW | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SETMSG | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SETVAR | XL | Assigns a value to an MPE XL variable. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWALLOCATE | V/E | Not supported |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWALLOW | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWCACHE | | Not supported |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWCATALOG | V/E | Modified listfile parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWCOM | V/E | Not supported |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWDEV | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWIN | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWJCW | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWJOB | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWLOG | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWLOGSTATUS | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWME | V/E | Unchanged. |
| | | |
| |
| | | |
| | | New banner display and USER VERSION item. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWOUT | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWQ | V/E | Unchanged. |
| | | |
| |
| | | |
| | | New ACTIVE and STATUS parameters. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWTIME | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHOWVAR | XL | Displays specified variable names and their values. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| =SHUTDOWN | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SHUTQ | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SPEED | V/E | New newspeed parameter. Modified newinspeed and |
| | | newoutspeed parameters. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SPL | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SPLGO | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SPLPREP | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
| | | |
| Command | Mode | MPE XL Status |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| STARTCACHE | V/E | Not supported |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| STARTSESS | V/E | New ciinfo and ciparm parameters. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| STARTSPOOL | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| STOPCACHE | V/E | Not supported |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| STOPSPOOL | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| STORE | V/E | New ONVS, STORESET, DIRECTORY, INTER, TRANSPORT, |
| | | and FCRANGE parameters. Modified HOW, filesetlist, |
| | | and storefile parameters. |
| | | |
| |
| | | |
| | | New MAXTAPEBUF parameter. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| STREAM | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| STREAMS | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SUSPENDSPOOL | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SWITCHLOG | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SYSDUMP | V/E | Replaced with SYSGEN. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| SYSGEN | XL | Starts configuration dialog and/or installation |
| | | tape creation. This replaces SYSDUMP. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| TAKE | V/E | Not supported |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| TELL | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| TELLOP | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| TUNE | V/E | Modified to ignore minclockcycle, which is now a |
| | | default value. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| UP | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| VINIT | V/E | Function moved to VOLUTIL. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| VMOUNT | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| VSCLOSE | XL | Instructs the system to close a volume set. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| VSOPEN | XL | Reopens a volume set close with VSCLOSE. |
| | | |
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
| | | |
| VSRELEASE | XL | Releases a volume set that was reserved with |
| | | VSRESERVE. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| VSRELEASESYS | XL | Releases a volume set system-wide. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| VSRESERVE | XL | Requests operator to put volume set online and |
| | | reserves the volume set for the user. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| VSRESERVESYS | XL | Reserves a volume set system-wide. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| VSTORE | XL | Verifies if data on backup tape is valid and |
| | | reports errors incurred by STORE when writing the |
| | | tape. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| VSUSER | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| WARN | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| WELCOME | V/E | Unchanged |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| WHILE | XL | Controls job, UDC, or command file execution |
| | | sequence. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| XEQ | XL | Executes a program or command file and prevents MPE |
| | | XL from executing a built-in command or UDC file |
| | | with the same name. |
| | | |
----------------------------------------------------------------------------------------------
REDO
(changed)
MPE V/E allows you to call back your last command with the REDO command
and re-execute or edit it. MPE XL has expanded the function of this
command and created the REDO facility.
REDO now keeps a history of commands in a stack. You set the size of the
stack with the hpredosize variable; default size is 20, maximum size is
1,000. Use the LISTREDO command to send the commands from the stack to
the standard list device. You choose how or whether you want the
displayed commands to be numbered.
Use the DO and REDO commands to re-execute a previous command on the
stack. Using REDO allows you to interactively edit the command whose
number you specify. The basic editing directives are the same in MPE V/E
and MPE XL, although MPE XL has some new ones, like the ability to append
to the end of the line or to change one string for another.