| United States-English |
|
|
|
![]() |
MPE/iX Commands Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 5 Command List IIICommands DATA thru EXIT |
|
Enters data into the system from a device file. (Cannot be used to enter data from $STDIN.) (Native Mode)
This command identifies data to be read from a device file other than your standard job/session input device. It can be used, for example, to input a data file from a spooled input device for later use by an interactive session or a batch job. The DATA command is the only command that can be entered before a job or session is initiated. Files identified by DATA may be input only from magnetic tape on spooled tape drives or with the STREAM command. To designate a set of data as an auxiliary file for your job or session, enter the DATA command followed by the set of data and the EOD command. To access the data, begin your job or session using the same identity ([jsname,]username.acctname) used in the DATA command. If the filename parameter is omitted, several data files can be read from any job or session with the same identity. When entered from magnetic tape, such data must reside in a file on a single tape volume, and the blocking factor must be 1. When the media containing the data file is placed on the tape drive and that device is placed online, MPE/iX reads the entire file. At that point, the job can access the data, which remains available until it is actually read. To submit data from a disk file, you must use the STREAM command. The time-related parameters of the STREAM command may not be used when STREAM is used with the DATA command. The STREAM command will prompt you for both user and account passwords if they exist and are not supplied in the DATA command if the following conditions are met:
This command may be issued from a session or job. Use the STREAM command to input a data file. This command cannot be used directly from $STDIN or from a program. A data file is created on disk, and the STREAM command is used to make the file available to your program. To create the file DATAFL on disk, invoke a text editor (like EDITOR) and enter the data beginning with the DATA command and ending with the EOD command. For example:
To stream the data file using the STREAM command, enter:
To log on to a session, using precisely the same identity that was used in the DATA command, enter:
To enter a FILE command equating the formal file designator (used by the program) with the stream device (identified by the device class name JOBTAPE), enter:
To run the program that requires the data, enter:
Once the data has been read, it is no longer available to the system. If another program requires this data, the data must be entered again with the STREAM command. Deallocates a program or procedure previously loaded into memory with the ALLOCATE command.
DEALLOCATE immediately releases table entries belonging to a program file or procedure that has been allocated. If the program is currently executing, the command takes effect once the program or procedure is no longer in use. You may use a comma (,), a semicolon (;), and an equal sign (=) as delimiters.
This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. Any program for which a user has EXECUTE access can be deallocated. A user with system supervisor (OP) capability can deallocate any program. To deallocate a program file named PROGEX, enter:
DEALLOCATE does not give back memory; it gives back table entries. Instructs MPE/iX to enter the system debugger. (Native Mode)
The DEBUG command enters the system debugger. An optional parameter, commands, defines a string of system debugger commands that are executed when the debugger is invoked, but before the debugger prompt is displayed. If the string contains commands that return the user to the command interpreter, those commands are executed. Any remaining commands are pushed onto a command stack. Another invocation of the DEBUG command executes the commands saved on the stack. If you invoke DEBUG X;Y;Z and the command X returns control to the CI, then DEBUG A;B;C executes the commands A;B;C;Y;Z. This command may be issued from a session, program, or in BREAK. It may not be issued from a job. Pressing Break has no effect on this command. Privileged mode (PM) capability is required to use this command. To produce a stack trace and return to the command interpreter:
Deletes a spoolfile from disk.
Before deleting an ACTIVE spoolfile, first take the output device offline. This allows you time to enter the command and determine that the ACTIVE spoolfile corresponds to the correct output device. When MPE/iX returns the colon prompt (:), you know that the DELETESPOOLFILE command instruction has been sent to the spooler process. It is not executed, however, until the output device is put back online. You may not use the DELETESPOOLFILE command on the following type of files:
The DELETESPOOLFILE command deletes ACTIVE data input files that are submitted on a spooled device. It cannot delete such files while they are being streamed. This command may be issued from a session, program, or in BREAK. It may not be issued from a job. Pressing Break has no effect on this command. This command may be used only from the console unless distributed to users with the ALLOW or ASSOCIATE command. To delete the ACTIVE spoolfile being printed on LDEV 6, first take the printer offline. This generates a NOT READY message at the console, after which you may enter the DELETESPOOLFILE command, as shown below:
When you put the device back online, the trailer page is printed, and the file deleted. If you have suppressed header/trailer output with the HEADOFF command, no trailer is printed before the spoolfile is deleted. However, the printer skips to the top of the next physical page. If the device is a page printer, the default environment is reloaded. Deletes one or more MPE/iX variables. (Native Mode) DELETEVAR varname [,varname] ... [,varname]
Deletes a specific MPE/iX variable, or all variables specified by a pattern. If you specify more than one varname, you must separate them with commas. You may use the wildcard characters, @, #, ?, and [ ] to specify a set or range of values.
This command is available in a session, job, program, or in BREAK. Pressing Break has no effect on this command. To delete two specific variables, enter:
To delete all variables beginning with a single alphabetic character and ending with the characters axval, enter:
To delete all variables created by the user, enter:
To delete a range of variables, for example, those that begin with the letters P, Q, R, S, or T followed by zero or more characters that end with the string module. In the following example variables such as PMODULE, QMODULE, RMODULE, SMODULE, TMODULE, and TIME_MODULE are all deleted by entering:
MPE/iX predefined variables, which are listed in appendix A, cannot be deleted. To delete all variables beginning in T and ending in two digits such as TMP11, T25, TMP_237 but not T2, enter:
Prohibits access to a specific operator command.
The operator uses the DISALLOW command to prohibit a user from executing specific operator commands previously allowed with the ALLOW command. You can use the command in any of three ways:
See the "Examples" section for more information. You may enter as many prohibited commands as you want, in any of the three modes. However, in direct mode and subsystem mode, DISALLOW acts to prohibit the first nineteen commands and ignores any additional commands you may have specified. To disallow more than nineteen commands, create a file that contains the necessary information and specify it on the command line (i.e. "Indirect mode").
This command may be issued from a session, job, program, or in BREAK. Pressing Break will terminate subsystem mode and produce an error message but has no effect on commands already entered in subsystem mode. This command may be used only from the console unless distributed to users with the ALLOW command. To prohibit the user USER.TECH from executing the REPLY and ABORTIO commands, enter the following at the system console:
To use subsystem mode to prohibit the user MGR.MANUALS from executing the BREAKJOB command, enter the following at the system console:
To use indirect mode, you create a file with all of the necessary information, and then invoke the changes by specifying the file using the FILE= parameter of the DISALLOW command.
If you want MPE/iX to display each command line as it is executed from the file, inclue the SHOW parameter. You may backreference the file with a file equation as follows:
If the file has a lockword it may be inserted as follows:
Removes control of a device class from the user. This command negates a previously issued ASSOCIATE command by removing control of a device class from a user. The command may be issued by the system operator or by the user. The user implicitly disassociates a device when logging off. This command may be issued from a session, program, or in BREAK. Pressing Break has no effect on this command. Enables or disables the rotational position sensing (RPS) feature on a specified logical device. It requires a special firmware upgrade CS-80 disk drives.
ONLY use this parameter if you have a clear understanding of its meaning and implications. The DISCRPS command allows you to enable or disable the rotational position sensing feature for CS-80 disk drives. With RPS enabled, the disk drive signals its availability to do an I/O only when it is a small rotational distance away from the target data. This improves system performance when more than one drive is connected to the same HP-IB channel. This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. It may be executed only from the console unless distributed to users with the ALLOW or ASSOCIATE commands. To enable the RPS feature on logical device 1 and display the status of the disk drive, enter:
To use the value parameter with ENABLE to set time-to-target and window size to the default values, enter:
The DISCUSE UDC executes the DISKUSE command to display disk space usage, in sectors, for one or more directories or a directory tree. This UDC is provided for those who are used to spelling disk with a "c". 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:
Refer to the DISKUSE command for a complete explanation of the parameters used with the DISCUSE UDC. The following parameters are supported with the DISCUSE UDC.
The DISCUSE UDC runs the DISKUSE command and reports disk space, in sectors, for a directory. Refer to the DISKUSE command for a complete explanation of the operation. This UDC may be issued from a session, a job, a program, or in break mode. Pressing Break aborts execution. The following example illustrates the use of the DISCUSE UDC. Note that a message is printed to remind you to use the DISKUSE command.
Refer to the DISKUSE command later in this chapter for additional examples. Displays disk space usage, in sectors, for one or more directories or a directory tree.
The DISKUSE command reports disk space, in sectors, for a directory. Disk space allocated to directories themselves (including accounts and MPE groups) is counted as part of the total number of sectors. The process' CWD is shown for all relative pathnames. The number of components in the pathname controls the level of directories being reported. If a pathname has four components, for example, /a/b/c/d, then only directories with four or more components contribute to the output. This also applies to the use of wildcard component names. For example, /@/@/@/@ only counts directories with at least four components in their pathname (absolute or relative, depending on how it was specified). MPE names follow the same formula: @.@.@ reports only MPE-named directories one level below MPE groups. (@.@ is the same since it is qualified with the logon account name.) You must have traverse directory entries (TD) and read directory entries (RD) permissions to each directory contributing to the reported totals. TD access is needed to each directory component named in dir_name. (Refer to the ALTSEC command in this chapter for additional information on directory permissions.) Note that the MPE syntax cannot specify a group.account. MPE syntax only permits dir.group.acct if dir is a valid MPE name; that is, all uppercase alphanumeric. (If group.account were specified, it would be interpreted as a file called group.account.logon_account.) Directory errors can occur while DISKUSE is collecting file space information. For example, if you lack traverse directory entries (TD) access to one or more of the lower level directories, an error occurs. If ;TREE is specified, you will only be able to see directories that you have TD and RD access to. DISKUSE stops on the first error encountered. This may result in no data (other than a header) displayed, or in the case of wildcard names, some directories are seen (up to the directory where the error occurred). Even in the wildcard directory name case, once an error is encountered, DISKUSE terminates. There are several ways to see all disk space used on the system:
The illustration below shows a hierarchical directory structure, upon which all of the succeeding examples are based. Directory names are shown as the character d plus a number (for example, d0), and file names are shown as the character f plus a number (for example f1). For illustrative purposes, the HPPROMPT variable has been set to show the current working directory (HPCWD). For example:
Hierarchical Directory Structure
The example shown below illustrates the format of the DISKUSE output. In this example, the TREE option is implied by the trailing slash (/). The current working directory (CWD) relative display is shown as part of the header line. If the CWD name is long, it truncates with a dollar sign ($).
Each of the columns contains information about the directory.
The plus signs (+) shown in the TREE column refer to the directories that are one level below the target directory. When added, the sectors shown in this example equal 896. The last entry shows the total number of sectors (960) used by all subdirectories under the target directory (896) plus the sectors used by the target directory itself (64). The next example illustrates the use of the NOTREE option. Only the directory name is displayed.
If the directory name parameter is omitted, the CWD is assumed, as seen in the following example:
The next example illustrates the use of the TREE option. Information is reported for the dir_name (d3) and all directories below.
MPE syntax can also be used, as shown in the following example (note that the dir_name (MYDIR) is upshifted.) This example is not based on the directory structure shown.
Wildcards can be used to see a "horizontal cut" of disk s pace usage at an arbitrary directory depth. Wildcarding can be used in TREE and NOTREE output, as shown in the following examples.
The last line of output contains the directory name and the total number of sectors (under the TREE column). The final TREE number always equals the sum of all other TREE numbers for directories with the same number of components as contained in the user-specified name that are designated with a plus sign (+) in the TREE column. For example, if you specified a pathname with three components, then the sum of the TREE field for all directory names with exactly three components equals the final total value. Releases a volume set that was explicitly reserved by the user with a MOUNT or VSRESERVE command. The equivalent native mode command is VSRELEASE. (Native Mode)
The DISMOUNT command allows you to release a volume set that you explicitly reserved using the MOUNT or VSRESERVE command. You can request a release only for a volume set that you have reserved; you cannot alter the status of the volume set for other users. Volume sets in MPE/iX are not tied to groups and accounts (this differs from the MPE V/E scheme of disk partitioning). The naming convention for MPE/iX volume sets differs from the naming convention for MPE V/E private volumes. MPE/iX volume set names may consist of any combination of alphanumeric characters, including the period (.) and the underbar (_). The name must begin with an alphabetic character and consist of no more than 32 characters. Table 5-1 “Command Acceptance of Naming Conventions - DISMOUNT Command” is a comparison of naming conventions between the MPE/iX VSxxxxxx and MPE V/E xxxMOUNT commands . Table 5-1 Command Acceptance of Naming Conventions - DISMOUNT Command
In MPE V/E, the name V.G.A indicates that V is the name of a volume set, that G is the name of a group, and that A is the name of an account. MPE/iX accepts the V.G.A. name in that form, but no interpretation is made as to the referencing of G and A. Instead, MPE/iX treats V.G.A as a single, long string name, just as it would treat A_VERY_LONG_NAME_FOR_SOMETHING. As a convenience to established HP users, MPE/iX accepts the naming convention that was used for MPE V/E private volumes. DISMOUNT V.G.A will succeed. DISMOUNT V will access the same volume set, provided you are logged on to account A, group G. The MPE V/E commands are able to default the logon account and group. However, VSRELEASE V succeeds only if a volume set V exists. The MPE/iX commands do not call up any default specifications for group and account. VSRELEASE V.G.A succeeds only if a volumeset V.G.A is on line. With all VSxxxxxx commands, the .G.A component of this name is interpreted as a string, neither more nor less specific than _G _A. If a volume set is named according to the MPE V/E naming convention (V.G.A), you must use an unambiguous reference when using the MPE/iX volume set commands. We recommend that you do no use the MPE V/E naming convention and the xxxMOUNT commands. Instead use the MPE/iX naming convention and the VSxxxxxx commands. Alternating between MPE V/E and MPE/iX commands may lead to confusion and, in some cases, may lead to errors. For example, MOUNT X used in a job stream attempts to access a volume set named X.logongrp.logonacct, which may or may not be your intention. This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. Use volumes (UV) or create volumes (CV) capability is required to use this command. To release the volume set MYSET.B.C, that was previously reserved with a MOUNT or VSRESERVE command, enter:
You may also use the VSRELEASE command:
Allows the user to reexecute any command still retained in the command line history stack. It also permits the user to edit the command before reexecuting it, but without having to use the interactive mode of the REDO command. (Native Mode) DO [CMD=cmdid] [;EDIT=editstring]
Table 5-2 DO Command - Reexecute Directives
If you specify editstring, it must appear, character for character, and space for space, exactly as it would if you were using the REDO command in interactive mode. The editing directives used in editstring are defined in Table 3-5 Table 5-3 Editing Directives for the DO Command
Reexecutes the command specified by cmdid. The user may specify an optional edit string to edit the command before it is reexecuted. This command is a companion to the enhanced MPE/iX version of the REDO command. Unlike REDO, the DO command does not permit interactive editing. If editstring is specified, the edit is performed on cmdid before the command is reexecuted. The editstring must appear exactly as it would if you were using the REDO command. Both cmdid and editstring must be surrounded by quotation marks (either " or ') if they contain any delimiters such as ; " ' [, ], =, or a space. This command is available in a session or in BREAK. It is not available in a job or from a program. Pressing Break terminates recursive command executions from the history/redo stack. Practical uses of the editing commands listed above are shown in Table 5-4 “Editing Samples for the DO Command”. Table 5-4 Editing Samples for the DO Command
Executes the changes to the I/O configuration made with the SYSGEN utility, while the system remains online. This command is available from a job, session, a program, or in BREAK. Pressing Break has no effect on this command. After you have made changes to the system I/O configuration with SYSGEN's I/O Configurator, enter:
Removes a device from normal system use. This command does not apply to the system console or to disk drives. When the DOWN command is issued for a device that is in use, the request is responded to when the process currently accessing it releases the device. The system console cannot be taken down. Any attempt to do so results in the following error message:
This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. It may be used only from the console unless distributed to users with the ALLOW or ASSOCIATE command. To take logical device number 7 offline, enter:
To take logical device number 10 (an input-spooled, job-accepting magnetic tape) offline, enter:
Downloads format information to a line printer.
The operator uses the DOWNLOAD command to transmit format information to system printers only. It cannot be used with remote printers. The vertical format control (VFC) image file (filename) can define the margin setting as well as the VFC image on an HP 2608A or HP 2608S Line Printer. The number of print lines per form is limited to 127. Although the HP 2608S printer recognizes the DOWNLOAD command, Hewlett-Packard recommends controlling the HP 2608S with an environment file rather than the DOWNLOAD command. You cannot download a VFC file to an HP 2631B printer, only the MARGIN=nn is allowed. If the MARGIN=nn parameter is specified on an HP 2608A or HP 2608S, and a MARGIN record has also been specified in the VFC file, the MARGIN record in the VFC file overrides the MARGIN parameter of the DOWNLOAD command. This parameter should only be used in cases where there is no MARGIN record in the VFC file. When a particular print job has requirements for forms and/or a VFC file, the user indicates this need by way of a FORMS message. Refer to "Examples."
This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. It may be issued only from the console unless distributed to users with the ALLOW or ASSOCIATE command. To respond to a forms message such as the following:
enter:
To reset the VFC to its original state, you must reference a file that contains default specifications (such as VFC6 in this example) by entering:
To set the left margin print position to column 4 (the installation defined default) enter:
Displays the current status of the disk drives on the system. (Native Mode).
The DSTAT command is used to display the current status of one or more disk drives on the system. For example:
Table 5-5 “Disk Drive Status” defines the various status responses. Table 5-5 Disk Drive Status
If you have purchased Mirrored Disk/XL, you may see PENDING or DISABLED as well. PENDING indicates the partner disk failed to mount; DISABLED indicates the volume is not available to the system due to a disk failure. If you have Mirrored Disk/XL you also may see the following suffixes in the status portion of the display:
This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. To display the status of LDEV 1, enter:
Displays a message on the standard list device. (Native Mode) Displays its argument, message, on the standard list device ($STDLIST). The command ignores delimiters. Quotation marks are not required around message. The ECHO command does not perform dereferencing of any kind. If you want variable dereferencing you must use explicit dereferencing (!) in the argument. A null message ( Return ) displays a linefeed. The ECHO command is not suppressed by OPTION NOLIST in a UDC or command file, or by any setting of the HPMSGLEVEL variable. This command is available in a session, job, program, or in BREAK. Pressing Break has no effect on this command. In the following example, although there is a variable named a that has a string value, ECHO simply displays the character a because no dereferencing has been specified.
This time ECHO is given the value of the variable a argument. Explicit dereferencing has been specified and the dereferencing is done before ECHO is executed.
Two exclamation points are resolved to one exclamation point by string substitution, and MPE/iX is prohibited from making the value substitution (even number rule).
Triple (or any odd number of) exclamation points treat the argument as !a, which resolves to ! and !a, giving !hi there (odd number rule).
If you entered the following command line in a user command, you would see a message when an error occurred:
The first instance of CIERROR has no dereferencing, and so ECHO treats it literally. The second instance, !CIERROR, contains explicit dereferencing, and so MPE/iX substitutes a value for the system variable CIERROR before the message is displayed to $STDLIST. So, for example, if the program generated error 975, you would see this message:
Starts the EDIT/3000 subsystem, which is used to create and manipulate ASCII text or program files.
You cannot backreference the formal file designator EDTLIST as an actual file designator in the command parameter list. For further information, refer to the "Implicit FILE Commands for Subsystems" discussion of the FILE command. This command may be issued from a session or job. It may not be used from a program unless the user or the program has process handling (PH) capability. It may not be used from BREAK. Pressing Break suspends the execution of this command. Entering the RESUME command continues the execution. To run EDIT/3000 during a session and specify a line printer (device class LP) as the list device for offline output, enter:
Because the listfile is often a line printer, it is often defined with the FILE command and backreferenced as in the preceding example. Provides an alternate execution sequence within an IF statement. (Native Mode) The ELSE command is used only in conjunction with the IF and ELSEIF commands. The IF command is used with the ENDIF command, and optionally with the ELSE command, to control the execution of a job. The IF, ENDIF, and optional ELSE commands constitute an IF block. A logical expression is evaluated, and if true, the IF block is executed; if false, the ELSE block (if one exists) is executed. This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. The following job listing illustrates using the ELSE command:
Provides an alternate execution sequence within an IF statement. Native Mode
Table 5-6 Logical Operators - The ELSEIF Command
The ELSEIF command is used only in conjunction with the IF command. The ELSEIF command provides a way of avoiding nested IF statements. ELSEIF has meaning only when used after an IF construct. Any number of ELSEIF commands may follow an IF command. In contrast, only one ELSE command may follow an IF or ELSEIF command. Refer to the ELSE and IF commands. This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect unless expression contains the INPUT evaluator function. The following example illustrates using the ELSE command with the IF command:
The same result can be accomplished more efficiently by using the ELSEIF command:
Notice that only one ELSE may follow an ELSEIF, while any number of ELSEIF commands may follow an IF. Terminates an IF block. (Native Mode) The ENDIF command is used to terminate an IF block. The IF command, the optional ELSE and ELSEIF commands, and the ENDIF command constitute an IF block. A logical expression is evaluated, and if true, the IF block is executed; if false, the ELSE block (if one exists) is executed. If false and no ELSE exists, then execution continues following the ENDIF. This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. The following examples show the IF block ending with the ENDIF command:
Terminates a WHILE block. (Native Mode) This command terminates a conditional block that begins with a WHILE command. The WHILE and ENDWHILE commands constitute a WHILE block. The WHILE command evaluates an expression, and so long as that expression evaluates as true, the command(s) between WHILE and ENDWHILE are executed. If the expression evaluates as false, execution of the WHILE block ceases and execution passes to the command following ENDWHILE. Execution terminates if any command not protected by a preceding CONTINUE causes an error. This command may be issued from a session, job, program, or in BREAK. Pressing Break terminates the WHILE command loop. Denotes end-of-data on input stream from a job file (from an input other than $STDIN). It also terminates data initialized by the DATA command. The colon (:) is a required part of this command. (Native Mode) EOD
The EOD command is used to signify the end of data whose beginning was signified by a DATA command. It is also used to signify the end of a data set that was read from the standard input device. Although in most cases programmers use EOD for delimiting data, any record beginning with a colon may delimit the data. Using a record other than EOD for this purpose, however, depends upon whether the standard input file is opened with the file name $STDIN or $STDINX. When using a compiler language that does not provide a convention for terminating compilation (such as END. in SPL), you must enter EOD after the last record of your source program to ensure proper delimiting of your input. (EOD is not required when using the BASIC interpreter since the subsystem provides different conventions for delimiting data.) An EOD causes the read of the FREAD intrinsic to return the CCG condition code to the calling program. This condition code indicates the end-of-file condition on the terminal. Table 5-7 “End-of-File Indicators” defines the various end-of-file indicators. Table 5-7 End-of-File Indicators
EOD is available only in a job or a session that is submitted with the STREAM command. It cannot be used directly from $STDIN or from a program. To terminate a data file entered by using the STREAM command for a session identified as SESS1,BLACK.ACCTSP, your data file would contain EOD as its last record, as follows:
The following program is an example of how EOD is used to terminate a set of data entered through a standard input device:
Ends a batch job. (Native Mode) EOJ
The EOJ command terminates a batch job and displays the CPU-time (in seconds) and the elapsed time since the beginning of the job (rounded to the nearest minute). MPE/iX also adds the central processor time and file space used by your job to the resource usage counters maintained for your logon account and group. If you omit the EOJ command from a job, the next JOB command terminates the current job and starts a new one. The end of the first job is indicated by the standard end-of-job display, and the beginning of the next job is denoted by the normal job initiation display. This command may be issued from a job. It may not be used from a session, program, or in BREAK. Pressing Break has no effect on this command. The following example shows how EOJ is used within a job file to terminate a batch job:
Zeros out all HP predefined error-related variables. (Native Mode) ERRCLEAR
This command is equivalent to the following:
This command is available from a job or session. It is not available from a program or in BREAK. Pressing Break has no effect on this command.
Allows a user to dump either the process or system error stack to a specified depth. (Native Mode) ERRDUMP [errorstackdepth] [;SYS]
The ERRDUMP command allows the user to dump either the process or the system error stack to a specified depth. If the depth specified is greater than the number of errors on the error stack, then all errors on the error stack are dumped without any warnings or errors. If the user specifies an errorstackdepth outside of the boundaries of the error stack, an error message is displayed and the error stack is not dumped. This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. To obtain an error stack dump, enter:
A sample system response is:
Another example specifies that the system error stack be dumped:
A sample system response is:
Allows the CI programmer to simulate all aspects of CI error handling. (Native Mode)
The ESCAPE command causes control to leave all user commands (regardless of nesting levels) and return to the CI. Batch jobs terminate (unless a CONTINUE is in effect) and sessions issue the prompt. If no CONTINUE is active, ESCAPE causes the CI to act as it would for any error: for sessions the user command environment is cleared and the prompt is displayed; jobs terminate. If CONTINUE is active , then ESCAPE causes the CI to execute the second command after the CONTINUE. In the following example, the CI will execute cmd2 after the ESCAPE.
This command may be issued from a session, job, program, or in BREAK. Pressing BREAK has no effect on this command.
Terminates the command interpreter. (Native Mode) When you are using MPE/iX you can start another Command Interpreter by running it as a program. To do so, you enter CI.PUB.SYS, or simply CI. If you enter this command more than once, you will create levels of the CI program. To determine what level of the command interpreter you are in, use the SHOWVAR HPCIDEPTH command. Then, to back out from the CI, enter the EXIT command. If the command interpreter is the root CI, EXIT is equivalent to BYE and ends the session. Otherwise, EXIT returns to the previous process. To go beyond HPCIDEPTH=2 requires process handling (PH) capability. To end a session without backing out of the CI level-by-level with the EXIT command, enter BYE. This command is available from a job or session. It is not available from a program or in BREAK. Pressing Break has no effect on this command. The following example shows how to determine what level of the CI you are in, and then, using the EXIT command, to back out to the root CI:
To back out from the second level to the first, use the EXIT command. To back out from the session from any level, use the BYE command. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||