Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

SEND


This command sends a message to a TSO or IMS user.

Command

Parameters

SEND

'msgtext'

LTERM(terminal) | USER(TSO_USERID)

The following table describes the parameters:

Parameter

Function

Notes

'msgtext'

Message to be sent to the user

The maximum length of the message text is 252 bytes when LTERM is coded; otherwise, the maximum length is 120 bytes. This length includes the SEND ' ' USER( ) portion of the command.

LTERM

IMS Lterm to receive the message

Either LTERM or USER must be specified.

USER

TSO user ID to receive the message

Either LTERM or USER must be specified.

Warning

Important

The parameters of the TSO SEND command LOGON, SAVE, WAIT, and so on are not supported. To perform similar functions, use the BMC AMI Ops Automation IMFEXEC command statement IMFEXEC CMD #SE.

Condition codes are listed in the following table:

Value

Description

0

Command was executed successfully.

8

Length of command exceeds maximum.

12

No destination was supplied.

16

Invalid syntax was used.

Example 1

This command sends a message to the TSO user CWB1.

If the user is not currently logged on, the message will be discarded.

/* REXX */
"IMFEXEC SEND 'I AM SENDING YOU THIS MESSAGE' USER(CWB1)"

CLIST example:

IMFEXEC SEND 'I AM SENDING YOU THIS MESSAGE' USER(CWB1)

Example 2

This command sends a message to the IMS LTERM R35769D of the IMS system to which the BBI-SS PAS is connected.

REXX EXEC example:

/* REXX */
"IMFEXEC SEND 'I AM SENDING YOU THIS MESSAGE' LTERM(R35769D)"

CLIST example:

IMFEXEC SEND 'I AM SENDING YOU THIS MESSAGE' LTERM(R35769D)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Automation 8.4