HPlogo Commands Reference HP 3000 Series 9X8LX Computer Systems > Chapter 2 MPE/iX Commands

TELL

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The TELL command enables you to send a message from your job or session to one or more currently running sessions. The message appears on the list device of the receiving session, which is usually a terminal.

Syntax



   TELL {[#]Snnn

         [sessionname,]username.acctname

         @

         @.acctname }  [ [;]text]

Parameters

Snnn

Specifies the session number to receive the message.

[sessionname,] username. acctname

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

@

Specifies all sessions.

@.acctname

Specifies all user names logged on to the account name.

text

Specifies message text, preceded by a space or a semicolon (;), that consists of a string of any ASCII characters. If you do not provide message text, the system still prints a FROM message on the target terminal as shown:



   FROM/sessionid

Operation Notes

  • Usage

    You can enter this command from a session, a job, a program, or in break mode.

  • Quiet mode

    Users who enter the SETMSG OFF command are in quiet mode and cannot receive your messages. This also applies to a session running in quiet mode on the console. If you send a message to a session in quiet mode, the system blocks the TELL command and displays the following message:

    
    
       Snnn username.acctname NOT ACCEPTING MESSAGES
    
  • Multiple users

    If several users are running under the same session identity, the system sends the message to all of them.

  • Additional acceptable message media

    Messages that you send with this command can include escape and control characters that invoke bells or inverse video.

  • Restrictions

    You cannot send a message to a job or to yourself. If you attempt to send a message to a job, the following warning appears:

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

    If you send a message to a terminal currently interacting with a program, the system queues the message as high as possible among the current input/output requests, but does not interrupt any read or write in progress.

Examples

  • To send an instructional message to user FRED, logged on in account PAYROLL, running a session named FINANCES, enter:

    
    
       :TELL FINANCES,FRED.PAYROLL USE FILES FROM YESTERDAY'S BACKUPS
    
  • To send a message asking all users logged on in account PAYROLL to log off, enter:

    
    
       :TELL @.PAYROLL PLEASE LOG OFF
    

Related Commands



   SETMSG

   TELLOP

   WARN
Feedback to webmaster