Previous Topic: BEANNAME Statement—Specify the JNDI Name of the BeanNext Topic: CCEXIT Statement—Specify Type of Exit Code Returned by an i5/OS Job


BROADCAST Statement—Specify the Broadcast Address

The BROADCAST statement specifies the IP address of the LAN or subnet of the computer that receives the Wake on LAN (signal).

Supported Job Type

This statement is required for the Wake on LAN job type.

Syntax

This statement has the following format:

BROADCAST ip_address
ip_address

Specifies the IP address of the LAN or subnet of the computer that receives the Wake on LAN (WOL) signal. On UNIX, you can use ifconfig to obtain the broadcast address. On Windows, you must calculate the broadcast address by performing a bitwise OR operation on the IP address and the bit complement of the subnet mask. You can obtain the IP address and subnet mask using ipconfig.

Limits: Up to 100 characters

Example: Broadcast the WOL Signal to an IP Address

This example broadcasts the WOL signal to the server identified by the 172.16.0.0 IP address and the 00-11-43-73-38-DC MAC address. After the WOL signal is sent, the job completes immediately without verifying whether the signal worked.

AGENT AGENTNME
BROADCAST 172.16.0.0
MAC 00-11-43-73-38-DC