8.101 MESSAGE (Display message on console like VM)

8.101.1 Function

The MESSAGE command is actually a VM CP command. It is used to transmit message text to the virtual
console of other active users.

However, some programmers also use this command as a simplified way to display messages on the
own virtual machine console by using "MESSAGE * <message text>". One program that uses this is the
IBM "System z" port of Solaris which is only capable of running under z/VM.

So basically, all the MESSAGE command does is to display a message on the Hercules console with VM
like headers. Therefore the MESSAGE command is not really intended to be used directly from the Her-
cules console as shown in the example below, although it does not hurt doing so.

The MESSAGE command is the same as MSG. See also the MSG and MSGNOH commands in this
manual.

8.101.2 Syntax

Descriptive

parms

Diagram

parms ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ

8.101.3 Parameter

parms

Specifies the required and optional parameters as described in IBM's VM "CP
Commands and Utilities Reference" manual.

8.101.4 Examples

Example 1:

Display a message on the own virtual machine console.

HHC00013I Herc command: 'message * transmitted message to VM console'

20:50:33 * MSG FROM HERCULES: transmitted message to VM console

Figure 190: MESSAGE command

8.102 MODEL (Display or set STSI model code)

8.102.1 Function

The MODEL console command displays or sets the model names returned by the STSI instruction. If no
argument is given the current STSI model names are displayed.

The optional operands specify the hardware model name, the capacity model name, the permanent capa-
city model name and the temporary capacity model name respectively.

8.102.2 Syntax

Descriptive

[ hdwmod capmod prmmod tmpmod ]

Diagram

¬¬¬¬ ¬¬¬¬¬¬¬¬¬¬ÊÍ



hdwmod ¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬Ê





ʬ¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ


¬¬¬ capmod ¬¬¬§¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«


¬¬¬¬
¬¬¬¬¬¬« ¬¬ prmmod ¬¬¬§¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬«


¬¬¬¬¬ * ¬¬¬ ¬¬¬ ¬¬¬¬¬¬«
¬ tmpmod ¬¬¬«




¬¬¬¬¬
* ¬¬¬
¬¬¬¬ ¬¬¬¬¬¬«







¬¬¬¬¬ * ¬¬¬

8.102.3 Parameter

hdwmodel

This specifies the hardware model name. This can be any name with a maximum
length of 16 characters. Valid characters are A-Z and 0-9. Specifying a “=” resets
the hardware model to “EMULATOR”; specifying an “*” leaves the current hardware
model name intact. If the MODEL system parameter is not specified in the configu-
ration file then the default name is “EMULATOR”.

capmodel

This optional parameter specifies the capacity model name. The capmodel can be
any name with a maximum length of 16 characters. Valid characters are A-Z and 0-
9. Specifying a “=” copies the current hardware model name to the capacity model;
specifying an “*” leaves the current capacity model name intact. The default capa-
city model name is “EMULATOR”.

prmmodel

This specifies the permanent capacity model name. The prmmodel can be any
name with a maximum length of 16 characters. Valid characters are A-Z and 0-9.
Specifying a “=” copies the current capacity model name to the permanent capacity
model; specifying an “*” leaves the current permanent capacity model name intact.

Previous Page Next Page