• Aucun résultat trouvé

(!ASSIGN oplb=oplb

Dans le document Xerox Real-Time Batch Monitor (RBM) Sigma (Page 24-28)

where

oplb is as defined above.

F . if present, indicates that both operationai iabeis are foreground; otherwise, both operational labels must be background labels.

12 Monitor Control Commands

Examples:

Form 1: ! ASSIGN SI = 3

!ASSIGN F:105 = 3 Form 2: !ASSIGN OV =FILE1, UP Form 3: !ASSIGN U=BI

ATTEND The !ATTEND control command indicates that RBM is to go into a wait condition on any abort from the background, and then read and process the next control com-mand encountered when background processing continues after an unsolicited key-in. Its primary purpose is to offer improved recovery procedures. If an abort occurs without this control command being specified; JCP will reset the CC operational label to the standard value, skip all con-trol commands, binary records, or data unti I it finds a new! JOB, ! PURGE or ! FIN command, and will not pause for operator intervention. In this "skip" mode, all EBCDIC records beginning with! will be listed on the LL device, with an indication

C >'

preceding the command) that they are ignored. This is the normal mode for closed-shop batch processing, without halts between jobs after aborts.

The form of the command is

(!ATTEND

It exists for one job only, and usually immediately follows the! JOB command.

c:

The !C: control command connects the designated real-time foreground task to a specified interrupt location, optionally armed and enabled as specified by the control code. The task may also be triggered by means of this con-nect operation if the code is equal to seven, providing that the task has previously been armed (i. e., with a previous

!C: command, an !XEQ or "!name" command, or by a Q key-in).

The form of the !C: control command is

(c:

tcbLoode]

where

tcb is the address of the Task Control Block for this task. If the value is hexadecimal, it must be shown as +xxxx. If the Overlay Loader initializes the TCB by means of the TCB parameters, it does so compieteiy, using ioad information and vaiues on the TCB and BLOCK cards. No partial initial i-zation of a TCB is allowed with the· exception of

the blocking buffer pool. If a user builds his own TCB, the TCB must begin at the execution location plus the "temp" value specified on the Overlay Loader! $ROOT command.

code when present, is the interrupt operation code.

It overrides the initial TCB task code; a code of 7 triggers the task if it is armed.

Note: If "code" is not specified, the code given in the TCB will be used.

The !C: command does not change the contents of the TCB.

CC The! CC control command returns control to the cur-rently assigned CC device and nullifies the effect of a previous KP key-in. The control command is honored regardless of whether or not the "skip" mode is in effect.

The "skip" mode is cleared following this command. The form of the command is

f~CC

DEFINE The !DEFINE control command allocates a portion of the background temporary RAD space for a spe-cific operational label or device unit number by assigning the operational labei to an unused device-file number, which in turn is linked to the specified portion of the RAD.

Since temporary RAD files are not maintained by the Moni-tor, they have no name and are identifiable only by the operational label for which each file was created. The

! DEFINE control command must precede the specific pro-cessor or user program to whi ch it appl ies, since this tem-porary space is reset at the beginning of each job and at the subsequent reloading of the JCP (unl ess a ! TEMP S control command is in effect). That is, the fi les are de-stroyed and the RAD space and all device-file numbers linked to it may be used by the next job.

The form of the! DEFINE control command is

!DEFINE

OPlb,nree,sre{ll]

where

oplb is an operational label or a FORTRAN device unit number (with a prefix of F:).

nrec is the number of logical records in the file.

srec is the logical record size, in bytes.

R P

defines the file as an unblocked random-access file.

defines the file as a blocked random-access file.

u

C B

defines the file as an unblocked file.

defines the file as a compressed EBCDIC file.

defines the file as a blocked file.

Ifneither R, p, U, norCis specified, the fHe is defined as a sequential, noncompressed, blocked file. If R is input,srec is used as the granule size.

EOD Sections may be defined in a user's deck by insert-ing I EOD con.trol commands at the end of each section.

When an ! EOD command is encountered, the Monitor re-turns an EOD status (when using the M:READ I/O routine).

This is similar to a tape-mark on magnetic tape. Any num-ber of ! EOD control commands may be used in a job wher-ever desired by the user.

The form of the ! EOD control command is

FIN The! FIN control command specifies the end of a stack of jobs. When the I FIN control command is encoun-tered, the Monitor writes it on the listing log to inform the operator that all current jobs have been completed and also writes! !BEGIN IDLE on the OC device. The Monitor then enters the idle state.

The form of the! FIN control command is

FSKIP,FBACK,RSKIP,RBACK The file positioning con-trol commands, ! FSKIP and! FBACK, forward or backspace the specified device (magnetic tape or sequential RAD file) immediately past the next file mark, or past the nth file mark if n files are specified (n = 1 for RAD files). !RSKIP and IRBACK perform similar functions but act on records rather than fi I es. ! RBAC K does not appl y to compressed RAD files.

The forms of the control command are

{

I FSKIP }

IFBACK .

!RSKIP dev,ce['number]

!RBACK

where

device is the device indicator of the device to be positioned and is restricted to background devices.

The device indicator is one of the following:

1. A device-file number, shown as a decimal integer.

Monitor Control Commands 13

2. A FORTRAN devi ce unit number, shown as F:n

where n is a decimal integer equal to the de-vice unit number.

3. An operational label, shown as two al pha-numeric bytes, the first of which isalphabetic.

number is the number of operations to be performed;

if absent, one operation is assumed.

HEX The! HEX control command loads patches at execu-tion time for either the Monitor itself or any user program.

(See Appendix G for input description.)

The form of the ! HEX control command is

!HEX

JOB The! JOB control command signals the beginning of a new job. The background operational labels and FORTRAN device unit numbers are set to their standard assignments as defined at System Generation. All RAD temp files are closed.

This command always causes a page to be ejected on the LL device before the command is listed. The version of the RBM being utilized will be inserted following the last field on the! JOB command.

The form of the! JOB control command is

(!

JOB [name, account]

where

name has a limit of 12 characters.

account has a limit of six characters.

JOBe The! JOBC control command indicates a con-tinuation of the current job. ! JOBC closes all RAD temp files and resets all background operational labels to their standard assignments (with the exception of "CC"). The

! JOBe command doe~ not dear the "attend" flag or the

"skip" mode, nor does it terminate the effect of an FG or SY key-in. (A useful application of the! JOBC command is given in the Utility job deck example in Chapter 10.)

14 Monitor Control Commands

The form of the! JOBC control command is

LIMIT The I LIMIT control command is used to set a maximum on the execution time of a background program.

This command is effective only if the system has real-time Clock 1 dedicated to the Monitor. If the job exceeds the time limit, the job is aborted (TL) and is terminated with a postmortem dump (if that option was specified).

The form of the! LIMIT control command is

(!LIMIT [N]

where N is the maximum allowable execution time in min-utes (0

<

N

<

6000).

MESSAGE The !MESSAGE control command is used to type a message to the operator. It is useful for messages concerning mounting tapes or setting certain device or Control Panel conditions. The command is listed on the OC device. There is no response.

The form of the ! MESSAGE control command is

(!MESSAGE

message

where message is any comment to the operator, up to the f~lI-card image size (totai of 72 coiumns per card).

PAUSE The! PAUSE control command temporarily sus-pends background operation to allow the operator time to complete the job setup. Background operations resume when the operator performs an unsoli cited S key-in. The command is listed on the OC device.

The form of the! PAUSE control command is

(PAUSE

message

where message is a comment to the operator, up to the full-card image (total of 72 columns per full-card).

PMD The! PMD (postmortem dump) command causes the Monitor to dump the registers, pius selected areas of mem-ory, at the end of a job step. The dumps are a I ways onto the background DO devi ce in specified format. The! PMD command is only effective for one job step.

The form of the ! PMD command is

! PMD [U][,ALLLformat]][,fwa,lwa[,format]J ~

L .

. .. [,fwa,lwa[,format]J where

U indi cates that PMD is to be entered regardless of the manner of background termination. Otherwise PMD is entered only if background terminates abnormally.

ALL indicates that all of background is to be dumped. If ALL is not specified and no other limits are specified, only the CPU registers are dumped.

fwa/lwa specifies the dump starting and ending locations. These values are hexadecimal if pre-ceeded with a plus (+) character.

format specifies the dump format as follows:

H Hexadecimal (default, if format unspecified)

M Mnemonic Integer

E EBCDIC

When a format of E is specified, each dump line wi II consist of hexadecimal values followed by EBCDIC translations, at the end of the line. Four limit pairs (fwa, Iwa) may be specified. The CPU registers are always dumped, regardless of the limits.

An X (abort) key-i n wi II termi nate a II postmortem dumps if performed while PMD is active.

PURGE The! PURGE control command is used to output the contents of the accounting file. The output is to back-ground operational label LO in the following format:

MM/DD/YY HRMN NAME ACCOUNT TIME (MMMM.MM)

An option is provided to clear the accounting file sub-sequent to this output. In this manner the user could assign background operational label LO to a device such as the card punch or the paper tape punch, and by exercising the

"clear" option, could produce a periodic hard copy of the accounting fi Ie and clear the accounting fi Ie for future use. A! PURGE command will always be acknowl-edged even in the "skip" mode.

The form of the! PURGE control command is

(PURGE [C]

where C is the directive to clear the accounting fi Ie (must be preceded by an unsolicited SY key-in).

REL Relocatable binary program modules to be loaded onto the GO fi Ie are preceded by an ! REL control com-mand. The binary modules that follow must be in Sigma 2/3 Standard Object Language. The modules may constitute a complete program, a root, or segments of a program.

Checksum and sequence checks will be preformed.

The form of the! REL control command is

The modules are copied onto the file to which GO is cur-rentlyassigned. If GO has not been assigned, it will be assigned by default to the RBMGO file on the RAD, which is rewound before the modules are copied. Several modules may be copied through the use of one! REL control command by stacking the modules. The final module must be fol-lowed by an ! EOD control command that wi II cause the JCP to write an end-of-file (EOF) onto GO and then backspace one file. In this manner the GO file is positioned to accept additional input, but is always terminated by an EOF. The relocatable binary decks are loaded from operational label BI.

The .! REL control command is a convenient method of obtaining additional hard copies of object modules pro-duced on GO by Extended Symbol or FORTRAN. Byas-signing BI to GO and then reasByas-signing GO to BO, modules will be copied from the original GO onto BO up to and including the EOF. BI should be rewound before each

! REL command.

REWIND The! REWIND control command rewindsa mag-neti c tape or a sequential RAD fi Ie and has no effect on other devices. The operation takes place immediately after the command is interpreted. The command is re-stricted to background files.

The form of the! REWIND control command is (!REWIND device

where device is the device indicator (as in ! FSKIP) of the device to be rewound.

Monitor Control Commands 15

TEMP Normally, the temporary background space on the RAD is reset at the completion of each step within a job, so that a separate assembly and compilation can each have full access to this temporary area for scratch space as needed. The ITEMP control command is a means of altering this standard procedure. When used wi'th the save (S) option, temporary files are not released after any job step within a job stack until either a ITEMP command is encountered with a reset (R) option or the next ! JOB,

! JOBC, or ! FIN command is encountered.

The form of the ITEMP control command is

~TEMP m

I I

where either S or R is required

S means to save RAD temporary fil es between job steps within a job (e. g., between an assembly and a concordance).

R means to reset the RAD temp files after each job step.

UNLOAD

The !UNLOAD control command causes a specified magnetic tape or sequential RAD file to be re-wound in manual mode. Operator intervention is required to use the devi ce again. If the device is a sequential RAD file, the file is rewound to BOT and released by a call to M:CLOSE. The command is restri cted to background fi les.

The form of the! UNLOAD control command is

~

UN LOAD devi ce

I

where device is the device indicator (as in !FSKIP) of the file to be rewound off-line.

WEOF The !WEOF command writes the appropriate end-of-fi Ie mark on the output devi ceo The command is re-stricted to background files. For magnetic tape, it is a tape mark; for the card punch or paper tape punch, it is an ! EOD command; and for sequential RAD fi les, it is a logi cal fi Ie mark.

The form of the !WEOF control command is devi ce [, number]

where

device is the device indicator (as in !FSKIP) of the device that is to have an end-of-file writ-ten on it.

16 Processor Control Commands

number is the number of end-of-fi les to be written.

If absent, one end -of-fi lei s written.

XEQ The !XEQ control command loads the first program from whatever file the OV .operational label is currently assigned to. For foreground programs, the command must be preceded by an F G key- in.

The form of the ! XEQ command is

XED The! XED control command performs the same operations as the I XEQ control command except that ! XED transfers control to RBM Debug through the entry point D:KEY when the root segment has been loaded. The mes-sage ! !DKEY-IN will appear on the keyboard/printer and the user can then input Debug control commands. (See Chapter 12 for a discussion of RBM Debut.) The !XED control command causes the background operational label ID to be default-assigned to the RBMID file on the RAD if it is not already assigned.

The form of the! XED control command is

Dans le document Xerox Real-Time Batch Monitor (RBM) Sigma (Page 24-28)