Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
MPE/iX Commands Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 14 Command List XII

Commands STREAM thru XEQ

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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.

The time-related parameters are ignored when the STREAM command is applied to the DATA command, however.

Syntax

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

Parameters

filename

The Editor (ASCII) file containing the commands of the job. The first character of the first record is assumed to be the replacement character for the expected colon (:) that identifies MPE/iX commands. The user must have READ and LOCK access or EXECUTE access.

queuename

The name of the queue into which the job must logon. If no queuename is specified the default system job queue will be used. If queuename is specified it takes precedence over a job queuename in the JOB statement of the file being streamed.

char

Character used in place of colon (:) to identify MPE/iX commands within the input file. When the input file is entered on a device configured to accept jobs or sessions, this character can be any ASCII special (nonalphanumeric) character except a colon. Default is an exclamation point (!).

AT

Absolute time specification.

timespec

Time specification. This is the absolute time of day in the format

HH:MM where HH is the hour of the day (0<=HH<=24) and MM is the minutes of the hour (0<=MM<=60).

If DAY and DATE are not specified, then:

timespec < NOW-> JOB LOGON TOMORROW
timespec > NOW-> JOB LOGON TODAY
timespec = NOW-> JOB LOGON IMMEDIATELY
WITH EXPLANATORY MESSAGE
DAY

Absolute day specification.

day-of-week

Day-of-week. Allowable values are:

SUN[DAY]
MON[DAY]
TUE[SDAY]
WED[NESDAY]
THU[RSDAY]
FRI[DAY]
SAT[URDAY]
day-of-month

Day-of-month. The integers 1 through 31. It indicates the calendar day of the month. If day-of-month is greater than or equal to the current day-of-month, the current month is indicated. If day-of-month is less than the current day-of-month, the next month is indicated. An error message is generated if the day-of-month does not correspond to the month (for example, if 31 is entered for February). If day-of-month is omitted, the current date is used.

days-until- month

Days until the end of the month. The negative integers -31 through -1. It indicates the calendar day from the end of the specified month on which the job will run. For example, a -1 value represents the last day of the month. If the specified day from the end of the month indicates a day earlier than the current day, the next month is assumed. For example, if today is the seventh day from the end of the month and a -8 value is entered, the job is scheduled for the eighth day from the end of the next month.

DATE

Absolute date specification.

datespec

Date, specified in the format mm/dd/yy, where mm is the month (1<=mm<=12), dd is the day (1<=dd<=31), and yy is the year. If omitted, the current date is used.

IN

Relative date or time specification.

days

Days. A positive integer indicating the number of days from the current date.

hours

Hours. A positive integer (0<hours<=23) indicating the number of hours from the current time. If omitted, zero is used.

minutes

Minutes. A positive integer (0<=minutes<=59) indicating the number of minutes from the current time. If omitted, zero is used.

Operation Notes

The STREAM command allows you to initiate jobs while in an interactive session by constructing your job from your terminal or by reading records from a disk or tape file. When the job is read, MPE/iX spools it onto a disk file, assigns it a job number, and processes it independently as an entity completely separate from your session. In the meantime, MPE/iX allows you to continue with your session. You can specify the queue name into which a particular job should go. The name specified overrides the queue name specified in the JOB command.

You can initiate jobs in this way only if the system operator, or a user who has been given operator capabilities, has enabled the MPE/iX STREAM facility by entering the STREAMS console command. The STREAMS console command also specifies a streaming device, which to MPE/iX appears to be the source of your job input, regardless of the device you actually use for this input. As a result, the listing device that corresponds to the streaming device (not necessarily your terminal) displays the job number assigned by MPE/iX and the listing generated by the job.

When you enter STREAM without an input file (that is, with the terminal as the default input device) during a session or a job, MPE/iX prompts you for input by displaying a greater than (>) character. When you enter STREAM for a device other than your terminal, MPE/iX does not print the prompt character.

How to Stream Jobs

Begin each job in the input file with the !JOB command and terminate it with the !EOJ command. Begin all commands with an appropriate substitute (other than colon) character, as in !JOB. When the input file is spooled to a disk, MPE/iX replaces the substitute command identifier with a colon, so that the data files are properly interpreted when executed.

After reading the !EOJ command that terminates the job, MPE/iX assigns each job a unique job number (JobID). MPE/iX also assigns each job a preset priority, unless you specify otherwise in the JOB command, and processes the job independently of the initiating job or session. Regardless of which device you use to submit the input file, all jobs in that file are treated as though they originated on the unique streaming device designated by the system operator (with the STREAMS command). The listing for each spooled job and the job number are written to the standard list device that corresponds to the streaming device. You may, however, use the OUTCLASS= parameter of the JOB command to direct the listing to another device.

How To Time Schedule Jobs

You may specify the time a job is to enter the WAIT state in absolute or relative time.

Absolute

The user supplies an exact time for the job using the AT parameter with or without the DAY or DATE parameter.

Relative

The user specifies a time offset from the current time using the IN parameter.

If the time specified is the same as the current time, the specified job logs on immediately. If the time specified is earlier than the current time, and DAY and DATE are not specified, a warning message is generated, and the job is scheduled for the specified time tomorrow. Otherwise, any time in the current century can be specified.

If no errors are detected, a JobID is displayed on the user's screen. If more than one job is included in the inputfile, each job is assigned a unique JobID, and all of the jobs are scheduled at the same time.

When a job is scheduled for a future time, it enters the SCHED state. When the specified time is reached, the job enters the WAIT state and is executed when system variables allow.

Terminating Streamed Jobs

To terminate interactive job input, enter a colon (:). In response, MPE XL ceases prompting for batch job input and instead prompts you for another MPE/iX command:

>:  ** Denotes end of batch job input **

: ** MPE XL prompts for next command **

Pressing Break aborts the execution of this command and any job currently being entered through the command. Incompletely spooled disk space is returned to the system.

If you make an error while entering the MPE/iX JOB command, you receive an error message on your job listing device. The system operator, however, receives no indication of the job or the error.

Terminating Time Scheduled Job

Jobs that have been scheduled for STREAM execution can be terminated with the ABORTJOB command. Refer to the Introduction to MPE XL for MPE V System Administrators (30367-90003) for information on using the ABORTJOB command to terminate time-scheduled jobs.

In order to STREAM a file, you must have READ and LOCK access or EXECUTE access to that file. However, READ and LOCK access would allow general users to obtain security information within the file, such as passwords and lockwords. To allow general users to STREAM the file without giving them access to secure information, you may allow EXECUTE access only.

NOTE: Scheduled jobs survive a START RECOVERY. Any other type of system startup causes scheduled jobs to be deleted. If a job is scheduled for introduction earlier than the system startup, the job enters the WAIT state and executes when the system parameters allow it to execute.

If the system is brought down for any reason, first execute a SHOWJOB command to show the scheduled jobs. Then reschedule the jobs when the system is brought back up on anything other than a START RECOVERY.

A scheduled job uses an entry in the JMAT table. Because of the limited recoverability of scheduled jobs, it is recommended that jobs be scheduled no more than a few days in advance.

If a user specifies a day or date for a job, but does not specify a time, the job does not enter the WAIT state at midnight on the specified day. Instead, it uses the time that the STREAM is executed, and enters the WAIT state at that time on the specified day.

Use

This command may be issued from a session, job, program, or in BREAK. Pressing Break aborts the execution of this command and any partially streamed job.

Examples

To stream a job from a disk file, you must name the input file in the STREAM command:

 STREAM ABC

If you use a character other than an exclamation point (!) as the substitute command identifier in your job input, you must identify that character in the STREAM command. Because you enter this character as the second positional parameter in this command, you must always precede it with a delimiting comma, even when you omit the input file name (the first parameter). In the following example, an asterisk (*) is used as a substitute command identifier:

 STREAM ,*
>*JOB USER.TECHPUBS

>*FORTGO MYPROG
*EOJ
*#J74
*>:

:

If your job input file contains subsystem commands, such as commands directed to the editor, do not enter any command identifier character at the beginning of these commands. For instance, when using the editor, enter the subsystem commands as follows:

 STREAM EXAMPLE
!JOB WXYZ,WRITER.TEC
!EDITOR
TEXT ABC
n
EXIT
!EOJ
#J87

:

In the preceding example, the job input file is EXAMPLE which initiates the job WXYZ. WXYZ invokes the editor subsystem where the file ABC is referenced. The EOJ command terminates the job and #J87 is the job number assigned by MPE/iX.

If you want the job listing to appear on a device other than the standard listing device associated with the streaming device, you can specify this other device in the MPE/iX JOB command. Enter:

 STREAM
>!JOB USER.TECHPUBS;OUTCLASS=12

The following section contains additional examples of using the STREAM command. For these examples, assume that the current date and time are Monday, June 8, 1987, 12:00 p.m. Also assume the job file contains a valid STREAM job.

STREAM JOBFILE

JOBFILE will be introduced immediately.

STREAM JOBFILE; AT=8:00

JOBFILE will be introduced at 8:00 a.m., Tuesday, June 9.

STREAM JOBFILE; AT=20:00

JOBFILE will be introduced at 8:00 p.m., Monday, June 8.

STREAM JOBFILE; IN=,8

JOBFILE will be introduced in eight hours, at 8:00 p.m., Monday, June 8.

STREAM JOBFILE; IN=1,8

JOBFILE will be introduced in one day plus eight hours, at 8:00 p.m., Tuesday, June 9.

STREAM JOBFILE; DAY=MON; AT=8:00

Since the time specified (8:00 a.m.) is earlier than the current time, JOBFILE will be introduced at 8:00 a.m., Monday, June 15.

STREAM JOBFILE; DAY=MONDAY; AT=20:00

Since the time specified (8:00 p.m.) is later than the current time, JOBFILE will be introduced at 8:00 p.m., Monday, June 8.

STREAM JOBFILE; DAY=9; AT=20:00

Since the day of the month (9) is later than the current day of the month (8), the current month is assumed. JOBFILE will be introduced on Tuesday, June 9, at 8:00 p.m.

STREAM JOBFILE; DAY=5

Since the day of the month (5) is earlier than the current day (8), the next month is assumed. Since no time was specified, JOBFILE will be introduced on Saturday, July 5, at 12:00 p.m.

STREAM JOBFILE;
DAY=31

Since there is no June 31, the next month is assumed. Since there is a July 31, this is a legal command. JOBFILE will be introduced on Friday, July 31, at 12:00 p.m. If there were no July 31, this would result in an error.

STREAM JOBFILE; DAY=-2

The -2 means the second to last day of the month, and since no time was specified, the current time is used. JOBFILE will be introduced on Sunday, June 29, at 12:00 p.m.

STREAM JOBFILE; DAY=-25

The -25 means the twenty-fifth day from the end of the month. If one assumes the current month, that implies June 6, but June 6 is earlier than the current day; therefore, the next month is assumed. JOBFILE will be introduced on Sunday, July 7, at 12:00 p.m.

STREAM JOBFILE; DATE=6/8/87; AT=8:00

Since the specified time is earlier than the current time, this command is not legal and results in an error.

STREAM JOBFILE; DATE=6/8/87;
AT=20:00

The specified time is later than the current time, so this command is legal. JOBFILE will be introduced on Monday, June 8, at 8:00 p.m.

Related Information

Commands

JOB, STREAMS, SHOWJOB, LISTJOBQ

Manuals

Performing System Operation Tasks

STREAMS

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

Syntax

STREAMS { ldev OFF }

Parameters

ldev

The logical device number of the STREAMS device. This device must also have an output device number or class that references logical devices of type 32. Any input device, (except the system console or terminals), may be used, providing that it was configured as job-accepting in the SYSGEN dialog.

OFF

Disables the STREAMS facility.

Operation Notes

The operator executes this command after a startup to enable the STREAM facility. The STREAMS device must be enabled each time the system is brought back online in order to allow users to stream jobs. (Streamed jobs are processed separately by MPE/iX, allowing users to continue with other work at their terminal. If the streamed job is submitted on a tape drive rather than from a terminal, MPE/iX processes it without requiring the user's attention.) Any attempt to stream a job when the STREAMS facility is disabled generates the following message:

STREAM FACILITY NOT ENABLED: SEE OPERATOR. (CIERR 82)

The device normally configured as the STREAMS device is LDEV 10. However, LDEV 10 may not correspond to an actual device, such as a tape drive, physically connected to the computer. If this is the case, then the STREAMS device is considered a "pseudo-device." Regardless of whether the device physically exists or not, it must be entered into the I/O configuration table as a legitimate logical device. It must be assigned the device class JOBTAPE.

Use

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 command.

Examples

To enable jobs and data streams on logical device number 10, enter:

STREAMS 10

To disable data streams, enter:

STREAMS OFF

Related Information

Commands

STREAM, SHOWDEV

Manuals

Performing System Operation Tasks

SUSPENDSPOOL

Suspends output to a spooled device.

Syntax

SUSPENDSPOOL ldev [;FINISH]

Parameters

ldev

The logical device number of a spooled device.

FINISH

Directs the device to complete the currently active spool file and then stop.

Operation Notes

When the spooler process is suspended, the message SP# ldev
SPOOLER SUSPENDED
is displayed on the console. You may also determine the spooler's status by entering SHOWOUT SP;JOB=@. If suspended, any spool files listed will be READY for printing; none are ACTIVE, and a SHOWDEV of the spooled device indicates that the device is still spooled. Refer to the SHOWOUT command in this manual.

When suspending an ACTIVE spool file, first take the output device offline. This gives you time to enter the command and determine that the ACTIVE file is the one being printed. If you issue SUSPENDSPOOL without taking the device offline, that file might finish printing while you enter the command, and another file might start.

When your instruction has been sent to the spooler process, MPE/iX returns a colon prompt (:). The command is not executed, however, until the output device is returned online. Only then do you receive the SPOOLER SUSPENDED message.

Use

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.

Examples

To suspend printing on logical device 6, enter:

SUSPENDSPOOL 6

To suspend printing on logical device 6 once the currently active spool file is completely printed, enter:

SUSPENDSPOOL 6;FINISH

Related Information

Commands

RESUMESPOOL, SHOWOUT, SHOWDEV

Manuals

Performing System Operation Tasks

SWITCHLOG

Closes the current system log file, then creates and opens a new one. (Native Mode)

Syntax

SWITCHLOG

Parameters

None.

Operation Notes

When the SWITCHLOG command is executed, MPE/iX displays the previous system log file number (xxx), the percentage of file space used (yy), and the current open log file (zzz), as shown in the following example:

 SYSTEM LOG FILE #xxx IS yy% FULL
SYSTEM LOG FILE #zzz IS ON

If this command is issued and logging is not active the following message is displayed:

 NO LOGGING
LOG FILE xxx IS yy% FULL
NOTE: Do not create new log files with the BUILD command since MPE/iX creates them automatically. If you use the BUILD command to create a new log file and then attempt to switch the current log file to the file you created, user logging suspends in an error state and the following message is displayed:
 SYSTEM LOG FILE #xxx ENCOUNTERED ERROR #nnn 
LOGGING SUSPENDED.

Use

This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. System supervisor (OP) capability is required to use this command.

Example

To switch logging to a new log file, enter:

 SWITCHLOG

Related Information

Commands

CHANGELOG, RESUMELOG, SWITCHNMLOG

Manuals

SPU Switchover/XL User's Guide

System Startup, Configuration, and Shutdown Reference Manual

SYSGEN

Starts configuration dialog and/or installation tape creation. The equivalent compatibility mode command is SYSDUMP. (Native Mode)

Syntax

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

Parameters

basegroup

The name of a base configuration group in the SYS account which contains configuration data to be used as a basis for any changes made during the SYSGEN session and/or to be used for creation of the installation tape. If the name of a base group is not specified in the SYSGEN command, it defaults to the group used to bring up the system (normally CONFIG). The base configuration group given or defaulted on the SYSGEN command can be changed with the SYSGEN BASEGROUP command.

newgroup

The name of a group in the SYS account which is used as the default for keeping a new set of configuration data or a copy of the configuration data in the base configuration group. If the name of a new group is not specified on the SYSGEN command, it defaults to basegroup. The new configuration group given or defaulted on the SYSGEN command can be overridden by specifying a group name with the SYSGEN KEEP command.

inputfile

Actual file designator of the file to be used for command input during the execution of SYSGEN. The formal file designator used by the SYSGEN program for this file is SYSGIN. The default is $STDIN.

outputfile

Actual file designator of the file to be used for any output requested during the configurator/user dialog. The formal file designator used by the SYSGEN program for this file is SYSGOUT. The default is $STDLIST.

Operation Notes

The SYSGEN command initiates the configurator/user interface. Once executing, SYSGEN can be used to create new system configurations, to modify existing ones, and to create installation tapes for any MPE/iX system.

System supervisor capability (OP) is required to view configuration data. System manager (SM) capability is required to make configuration changes and keep them or to create an installation tape.

To begin interaction with the MPE/iX configurator, the SYSGEN command is entered. During the interaction, system configurations can be created, modified, or used to create installation tapes.

The base for configuration changes or tape creation can be specified on the SYSGEN command with the base group. The group name to which the configuration is to be kept with a SYSGEN KEEP command can be specified on the SYSGEN command line with the newgroup parameter.

Input for the configurator interaction can be redirected from a file with the SYSGEN command inputfile parameter. Any output during the interaction can be redirected to a file with the SYSGEN command outputfile parameter. In addition, input and output can be redirected with file equations using the formal designators SYSGIN and SYSGOUT, respectively, prior to entering the SYSGEN command.

Use

This command is available in a session and programmatically. It is not available from a job. Pressing Break suspends the execution of this command. Entering the RESUME command continues the execution.

Examples

The following four examples perform the same action. Each causes the group CONFIG.SYS to be used as the basis for configuration data, the group NEWCONF.SYS to be used for any KEEP command without a group specification, the file $STDIN to be used for input and the file $STDLIST to be used for output.

 SYSGEN CONFIG,NEWCONF,$STDIN,$STDLIST

SYSGEN CONFIG,NEWCONF

SYSGEN ,NEWCONF

FILE SYSGIN=$STDIN

FILE SYSGOUT=$STDLIST

SYSGEN ,NEWCONF

Related Information

Commands

NMMGR, VOLUTIL

Manuals

System Startup, Configuration, and Shutdown Reference Manual

Performing System Management Tasks

TELL

Sends a message to another session.

Syntax

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

Parameters

[#]Snnn

The session number as assigned by MPE/iX. This session number receives the TELL message.

[sessionname] username. acctname

The name of the session or user to receive the message, and the account name to which the message is directed. This parameter is the same as the session identity entered with the HELLO command. Issuing a SHOWJOB command lists all the username.acctnames to which you may direct a TELL message. Sessions with an active SETMSG OFF command are listed as being in QUIET mode and do not receive your TELL message. This is also true for a session on the system console. If several users are running under the same session identity, MPE/iX sends the message to all of them.

@

All sessions.

@.acctname

All sessions under the account name established by the system manager.

@S

All sessions. This is the same as the @ parameter.

text

Message text, preceded by a space or a semicolon (;) and consisting of any string of ASCII characters. The default is that no text is printed; however, MPE/iX still prints the FROM message as follows:

 FROM/sessionid

Operation Notes

This command transmits a message from the sender's job or session to one or more sessions currently running. The message appears on the receiving session list device. Messages sent with this command may include escape and control characters that invoke bells or inverse video. If a message is sent to a terminal that is currently interacting with a program, MPE/iX queues the message as high as possible among the current input/output requests but does not interrupt any read or write in progress. If the session or user designated to receive the message is not running, or if the job is spooled, the transmitting job/session receives a system message indicating this. MPE/iX blocks the TELL command if the receiving device is operating in the QUIET mode (refer to the SETMSG command) and informs the sender with:

 Snnn username.acctname NOT ACCEPTING MESSAGES

You cannot send TELL messages to a job or to yourself. If you try to send a message to a job, the following warning is issued:

 TARGET MUST BE INTERACTIVE, NO MESSAGE SENT.
(CIWARN 1627).

Use

This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command.

Examples

To send a message to a user identified as BROWN, logged on under account A, running a session named BROWNSES telling him to use a particular file, enter:

 TELL BROWNSES,BROWN.A USE FILEX

To send a message asking all users logged on in account A to log off, enter:

 TELL @.A PLEASE LOG OFF

Related Information

Commands

TELLOP, WARN

Manuals

Performing System Operation Tasks

TELLOP

Sends a message to the system console. (Native Mode)

Syntax

TELLOP [text]

Parameters

text

Message text, preceded by a space and consisting of any string of ASCII characters. Default is that no text is printed; however, MPE/iX still prints the FROM as follows:

 FROM/sessionid

Operation Notes

This command sends a message to the system console. The message text appears on the system console, preceded by the time it was transmitted and your job/session number. Like messages transmitted between users (TELL command), this message is printed as soon as possible without interrupting any console input/output currently in progress. The message can be sent to the system console, even if no session is logged on or if an active session is running in QUIET mode.

Use

This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command.

Example

To ask the system operator to mount a tape, enter:

 TELLOP PLS MOUNT MYTAPE,VERSION 1

Related Information

Commands

TELL, WARN

Manuals

None

TUNE

Changes scheduling characteristics of the scheduling subqueues. These characteristics include base and limit priorities, quantum bounds (min and max), boost property and timeslice. (Native Mode)

Syntax

TUNE [minclockcycle] { ;CQ=qinfo ;DQ=qinfo ;EQ=qinfo } [ ... ]

Where qinfo is written in the following form:

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

NOTE: Misuse of this command can significantly degrade system operating efficiency.

PARAMETERS

minclockcycle

This parameter is ignored. It appears here for MPE V/E compatibility only.

base

An integer from 150 to 255 specifying the priority at which user processes executing in the CS, DS, and ES scheduling subqueues begin their Dispatcher transactions. Priority is inversely related to the integer: a higher-priority process has a lower number. While the full range is provided for compatibility, avoid setting the base priority between 150 and 152, since user processes running at priorities greater than 152 can adversely affect system performance.

limit

An integer specifying the lowest priority at which a process in the CS, DS, or ES scheduling subqueues can execute. Priority is inversely related to the integer: a higher-priority process has a lower number. The limit, which can range from 150 to 255, must be greater than or equal to the base.

min

The minimum quantum is a lower bound for the dynamically calculated quantum (average transaction time) value. The quantum value determines the rate of priority decay for processes within the scheduling subqueue. Values range between 1 and 32767 milliseconds.

max

The maximum quantum is an upper bound for the dynamically calculated quantum (average transaction time) value. The quantum value determines the rate of priority decay for processes within the scheduling subqueue. Values range between 1 and 32767 milliseconds. The value of max must be greater than or equal to the value of min.

DECAY

Sets the subqueue to the default decay behavior associated with circular scheduling subqueues. If set, a process decays normally to the limit priority and returns to the base priority when the Dispatcher transaction is complete. DECAY is the default boost property.

OSCILLATE

Sets the subqueue to oscillate behavior. If set, a process returns to the base priority once its priority has decayed to the limit of the subqueue, even if it has not completed a Dispatcher transaction.

tslice

The number of milliseconds a process in a given subqueue can hold the CPU. A process that has held the CPU continuously for this number of milliseconds is interrupted. This value must be set to a multiple of 100 milliseconds and has a minimum value of 100 milliseconds.

OPERATION

The system manager uses the TUNE command to change the characteristics of the circular scheduling subqueues to more efficiently manage the current processing load.

A process in the CS, DS, or ES scheduling subqueues typically begin execution at the base priority. When the process stops (for disk I/O, terminal I/O, preemption, etc.), the amount of CPU it has consumed is used to determine its new priority. If the process has completed a Dispatcher transaction, typically by issuing a terminal read, its priority is reset to the base, and the quantum value for that workgroup is recalculated. If the process has exceeded the quantum (filter) value since its priority was last reduced, the priority is decreased without exceeding the limit priority. If the boost property for the workgroup is oscillate, process priorities are reset to the base value once they decay to the limit.

The parameters min and max refer to the absolute bounds of the quantum, or a filter representing the average transaction time of processes in that subqueue. The quantum is recomputed after every user Dispatcher transaction is complete, and then compared against the CPU time of a process to determine whether the priority of the process should be decreased.

NOTE: With Release 5.0 of MPE/iX, all three circular scheduling subqueues, CS, DS, and ES, have dynamically calculated quantums. By default, the DS and ES subqueues have their bounds set to the same value.

If the values specified for max are too large, system response may become erratic. If they are too small, excessive memory management may occur due to frequent process swapping. Either case degrades system performance. The values for min and max may range from 1 to 32,767. The recommended settings are listed in the table below.

The timeslice value determines how long a process in a given scheduling subqueue will be allowed to hold the CPU. This value is different than the quantum, which determines how rapidly process priorities decay. The timeslice does interrupt the process if the process is interruptable. The timeslice is a multiple of 100 milliseconds and has a minimum value of 100 milliseconds.

The following default settings are established when the system is booted from the system disk (a START RECOVERY or START NORECOVERY), unless the user has customized a TUNE configuration.

 START RECOVERY or START NORECOVERY

CQ base: 152 DQ base: 202 EQ base: 240
limit: 200 limit: 238 limit: 253
min: 1 min: 2000 min: 2000
max: 2000 max: 2000 max: 2000
boost: DECAY boost: DECAY boost: DECAY
tslice: 200 tslice: 200 tslice: 200
NOTE: The MPE/iX Scheduler now supports the workgroup concept. However, backward compatibility is maintained through five default workgroups created by the system. The scheduling characteristics of the CS_Default, DS_Default, and ES_Default workgroups mimic those of the CS, DS, and ES scheduling subqueues. In fact, changing the scheduling characteristics of the CS, DS, and ES scheduling subqueues, via the TUNE command, is equivalent to changing the characteristics of the corresponding default workgroup through ALTWG. Please refer to the NEWWG and ALTWG commands for more detail.

Workload Manager users should use ALTWG rather than TUNE since TUNE does not modify user-defined workgroups. If you aren't using Workload Manager, and you want to change one of the system-defined workgroups, you may wish to use ALTWG because it only examines member processes of a specific workgroup and not all processes on the system.

The TUNE command may be issued from a session, job, program or in BREAK. Pressing Break has no effect on this command. TUNE requires System Supervisor (OP) or System Manager (SM) capability.

EXAMPLE

To set the CS subqueue's base to 152, limit to 200, and max quantum (filter) to 300; and the DS subqueue's base to 202, limit to 238, min and max quantum (filter) to 1000, and cause oscillation boosting, enter:

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

To set the CS subqueue to oscillation with a 300 millisecond timeslice and the DS subqueue's base to 180, limit to 238, boost property to decay, and timeslice to 1500, enter:

 TUNE CQ=,,,,OSCILLATE,300;DQ=180,238,,,DECAY,1500

Related Information

Commands

SHOWQ, ALTPROC, SHOWPROC, NEWWG, ALTWG, PURGEWG, SHOWWG

Manuals

MPE/iX Intrinsics Reference Manual

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 disk drives.

Syntax

UP ldev

Parameters

ldev

The logical device number of the device being returned to service online.

Operation Notes

This command makes available to users a device previously taken offline with the DOWN command. Ownership of the device is not affected by the UP command. If a device is owned by the system at the time it is downed, the system retains ownership even after the UP command is executed.

Use

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.

Example

To allow logical device number 10 to function again, enter:

 UP 10
SHOWDEV 10
LDEV AVAIL OWNERSHIP VOLID ASSOCIATION

10 A AVAIL

Related Information

Commands

DOWN, SHOWDEV

Manuals

Performing System Operation Tasks

VMOUNT

Enables or disables the MPE/iX movable volume facility. (Native Mode)

Syntax

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

Parameters

ON or ON,AUTO

Enables the movable volume facility so that all valid user MOUNT/VSRESERVE and operator LMOUNT/VSRESERVESYS requests are allowed. When ON is used without AUTO, the operator must reply to all MOUNT/VSRESERVE requests.

When ON,AUTO is used, MPE/iX attempts to satisfy user MOUNT/VSRESERVE and operator LMOUNT/VSRESERVESYS requests without operator intervention.

OFF

Requests to use the movable volume facility are rejected.

ALL

Prints all volume set mount-related console messages, including those not requiring operator intervention, on the console.

Operation Notes

If the movable volume facility is enabled when you issue a VMOUNT
OFF
command, users having reserved volume sets are unaffected; the command is satisfied when the last access is complete.

The MPE/iX naming convention for volume sets differs from that of MPE V/E for private volumes. Refer to the MOUNT, DISMOUNT, VSRESERVE, and VSRELEASE commands in this chapter.

Once the movable volume facility has been enabled, use the VSUSER command to determine which users have which volume sets reserved. Refer to the VSUSER command in this chapter.

The movable volume facility is enabled immediately following a system startup. (The setting is equivalent to VMOUNT ON,AUTO.) However, you still receive console messages concerning volume set requests.

The operator has the greatest interactive control over the use of volume sets by using VMOUNT ON;ALL. The command that least interrupts the operator when users are accessing volume sets is VMOUNT ON,AUTO.

Use

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 command.

Examples

To disable the movable volume facility so that no messages are sent to the console when users attempt to reserve volume sets (the default condition) enter:

 VMOUNT OFF

To disable the movable volume facility and still receive messages on the console when users attempt to reserve volume sets, enter:

 VMOUNT OFF;ALL

Related Information

Commands

VSUSER, DISMOUNT

Manuals

Volume Management Reference Manual

VSCLOSE

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

Syntax

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

Parameters

volume- setname

The volume set that is to be closed. Any user who is accessing a file at the time this command is issued is allowed to finish accessing the file. However, users who are not accessing files are unable to open files on the volume set, and VSRESERVE and MOUNT requests are denied. Refer to "Operation Notes," below.

PARTVS

This option is available only with the Mirrored Disk/XL, a separately purchased product. For information, refer to !Mirrored Disk User's Guide> Mirrored Disk/iX User's Guide (30349-90003). This parameter only applies to a previously split volume set. Specify it when you want only half of split volume set to be closed.

USER

Close only the user volumes.

BACKUP

Close only the backup volumes.

If PARTVS is not specified, both volume set halves are closed. If PARTVS is specified for a nonsplit volume set, an error is returned and the volume set is not closed.

NOW

Instructs the system to abort any job or session that is using any file that resides in the specified volume set. However, if a VSRESERVESYS or an LMOUNT command has already been issued for the specified volume set, then the operator should execute a VSRELEASESYS command, followed by a VSCLOSE ;NOW command, in order to take the volume set offline.

The NOW parameter permits the operator to remove a volume set without having to use VSUSER and then perform an ABORTJOB on the users of the volume set. This command may be issued only from the system console.

SPLIT

This option is available only with the Mirrored Disk/iX, a separately purchased product. For information, refer to Mirrored Disk/iX User's Guide (30349-90003). It splits the volume set into user volumes and backup volumes if it is a mirrored volume set and if it is in the proper state.

The SPLIT option cannot be used with the NOW option. All members of the volume set and both members of each pair must be present. There can be no repair taking place. Both members of each volume pair must be identical at the time of the split. There can be no users logged onto the volume set when the split is processed.

For each mirrored pair, the system assigns a backup volume and user volume. An attempt is made to place the backup volumes and user volumes on separate hardware channels. The volume with the greatest path number is selected as the backup volume.

If SPLIT is specified for a nonmirrored volume set, an error is returned and the volume set is not closed.

Operation Notes

This command notifies the system to close the volume set and take it offline. This is done when all users have ceased using files on the volume set, and when any program file that has been allocated on the volume set has been deallocated (via the DEALLOCATE command). Once the VSCLOSE command is issued for a volume set, individual users can no longer issue VSRESERVE or MOUNT commands for the volume set.

Specifying the NOW parameter permits the operator to take the volume set offline immediately, unless a VSRESERVESYS or an LMOUNT command has been issued, or unless a program file has been allocated on the volume set.

This command restricts access to the volume set. Jobs or sessions are granted access to the volume set only if they have at least one open file on the volume set or if they have already issued an explicit VSRESERVE or a MOUNT command for the volume set.

The MPE/iX naming convention for volume sets differs from that of MPE V/E for private volumes.

In MPE V/E, the name A.B.C indicates that B is the name of a group and that C is the name of an account. MPE/iX accepts that name, but no interpretation is made as to the referencing of B and C. Instead, MPE/iX treats A.B.C as a single, long string name. It is the flexibility of the MPE/iX naming convention that makes it possible for MPE/iX to work with a volume set designated A.B.C.

MPE/iX volume set names may consist of any combination of alphanumeric characters, including the underbar (_) and the period (.). The name must begin with an alphabetic character and must consist of no more than 32 characters.

A volume set called MY_OWN_PERSONAL_VOLUME_SET is acceptable in MPE/iX, and so is MY.OWN.PERSONAL.VOLUME.SET; similarly, A.B.C is acceptable. If a volume set is named according to the MPE V/E naming convention (A.B.C), you must use an unambiguous reference when using the MPE/iX volume set commands, such as:

 Vcommand A.B.C

Entering Vcommand A fails to access the volume set. You cannot specify the first part of the volume set name alone and expect the group and account to default.

Use

This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. This command may be issued only from the system console unless distributed to other users with the ALLOW command.

Examples

To close the volume set ACCOUNTING_PAYROLL, enter:

 VSCLOSE ACCOUNTING_PAYROLL

However, if a VSRESERVESYS command has been issued for ACCOUNTING_PAYROLL, then a message is displayed on the console. In order to close this volume set and take it offline, the operator has to issue these commands:

 VSRELEASESYS ACCOUNTING_PAYROLL
VSCLOSE ACCOUNTING_PAYROLL

Related Information

Commands

The VSxxxxxx commands in this chapter, DISMOUNT

Manuals

Volume Management Reference Manual

VSOPEN

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

Syntax

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

Parameters

volume- setname

The volume set to be opened. You must specify an unambiguous name. MPE/iX does not accept part of a volumesetname and defaults the remainder of the name. Refer to "Operation Notes."

PARTVS

This option is available only with the Mirrored Disk/iX, a separately purchased product. For information, refer to Mirrored Disk/iX User's Guide (30349-90003). This parameter only applies to a previously split volume set. It notifies the system which split volume set half is to be opened.

USER

Open only the user volumes.

BACKUP

Open only the backup volumes.

If PARTVS is not specified, both volume set halves are opened. If PARTVS is specified for a non split volume set, an error is returned and the volume set is not opened.

Operation Notes

This command notifies the system to open the specified volume set. Because bringing a volume set online opens the set by default, this command is needed only for a volume set for which a VSCLOSE command has been issued.

The MPE/iX naming convention for volume sets differs from that of MPE V/E for private volumes. In MPE V/E, the name A.B.C indicates that B is the name of a group and that C is the name of an account. MPE/iX accepts that name, but no interpretation is made as to the referencing of B and C. Instead, MPE/iX treats A.B.C as a single, long string name. It is the flexibility of the MPE/iX naming convention that makes it possible for MPE/iX to work with a volume set designated A.B.C.

MPE/iX volume set names may consist of any combination of alphanumeric characters, including the underbar (_) and the period (.). The name must begin with an alphabetic character and consist of no more than 32 characters.

A volume set called MY_OWN_PERSONAL_VOLUME_SET is acceptable in MPE/iX, and so is MY.OWN.PERSONAL.VOLUME.SET; similarly, A.B.C is acceptable.

If a volume set is named according to the MPE V/E naming convention (A.B.C), you must use an unambiguous reference when using the MPE/iX volume set commands, such as:

 Vcommand A.B.C

Entering Vcommand A fails to access the volume set. You cannot specify the first part of the volume set name alone and expect the group and account to default.

Use

This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. This command may be issued only from the system console unless distributed to other users with the ALLOW command.

Examples

To open the volume set ACCOUNTING_PAYROLL, enter:

 VSOPEN ACCOUNTING_PAYROLL

Related Information

Commands

The VSxxxxxx commands in this chapter, DISMOUNT

Manuals

Volume Management Reference Manual

VSRELEASE

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

Syntax

VSRELEASE [volumesetname]

Parameters

volume- setname

The volume set to be released. If you omit the parameter, the request is issued for the home volume set of the user's logon group and account. Refer to "Operation Notes."

Operation Notes

This command releases a volume set when it is no longer in use and negates a previous reservation of a volume set.

The MPE/iX naming convention for volume sets differs from that of MPE V/E for private volumes.

In MPE V/E, the name A.B.C indicates that B is the name of a group and that C is the name of an account. MPE/iX accepts that name, but no interpretation is made as to the referencing of B and C. Instead, MPE/iX treats A.B.C as a single, long string name. It is the flexibility of the MPE/iX naming convention that makes it possible for MPE/iX to work with a volume set designated A.B.C.

MPE/iX volume set names may consist of any combination of alphanumeric characters, including the underbar (_) and the period (.). The name must begin with an alphabetic character and consist of no more than 32 characters.

A volume set called MY_OWN_PERSONAL_VOLUME_SET is acceptable in MPE/iX, and so is MY.OWN.PERSONAL.VOLUME.SET; similarly, A.B.C is acceptable.

If a volume set is named according to the MPE V/E naming convention (A.B.C), you must use an unambiguous reference when using the MPE/iX volume set commands, such as:

 Vcommand A.B.C

Entering: Vcommand A fails to access the volume set. You cannot specify the first part of the volume set name alone and expect the group and account to default.

Use

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.

Example

To request that volume set ACCOUNTING_PAYROLL be released, enter:

 VSRELEASE ACCOUNTING_PAYROLL

Related Information

Commands

The VSxxxxxx commands in this chapter, DISMOUNT

Manuals

Volume Management Reference Manual

VSRELEASESYS

Releases a specified volume set previously reserved with the VSRESERVESYS command. The equivalent compatibility mode command is LDISMOUNT. (Native Mode)

Syntax

VSRELEASESYS volumesetname

Parameters

volume- setname

The name of the MPE/iX volume set for which a previously issued VSRESERVESYS command has been issued. Refer to "Operation Notes."

Operation Notes

This command is used to negate a previously issued VSRESERVESYS command for the specified volume set. It informs the system that the volume set is no longer reserved system-wide.

This command does not prohibit individual VSRESERVE (MOUNT) or VSRELEASE (DISMOUNT) commands issued for the specific volume set by individual users.

The MPE/iX naming convention for volume sets differs from that of MPE V/E for private volumes. Refer to the MOUNT, DISMOUNT, VSRESERVE, and VSRELEASE commands in this chapter.

Use

This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. This command may be issued only from the system console unless distributed to other users with the ALLOW command.

Example

To request that volume set ACCOUNTING_PAYROLL be released for all users on the system, enter:

 VSRELEASESYS ACCOUNTING_PAYROLL

Related Information

Commands

The VSxxxxxx commands in this chapter, DISMOUNT

Manuals

Volume Management Reference Manual

VSRESERVE

Notifies the system to keep a particular volume set online. The equivalent compatibility mode command is MOUNT. (Native Mode)

Syntax

>VSRESERVE [volumesetname] [;GEN=genindex]

Parameters

volume- setname

The name of the MPE/iX volume set to be kept online. If you omit the parameter, the request is issued for the home volume set of the user's logon group and account. Refer to "Operation Notes."