event

This command sends an event to a running job.

Syntax

zos event jobid eventname

Arguments

jobid

The user must enter the jobid that he or she is interested in. The default for this argument is the last job run.

eventname

The user must enter the name of the event he or she wants to send to the job.

Options

-C=, --cols=

Specifies the terminal width for formatting. The user must enter a value with this option.

-h, --help

Displays a help message for this operation.

-d, --debug

Turns on debug output during this operation.

-v, --verbose

Turns on verbose output during this operation.

-z=, --tls=

Force TLS/SSL encryption [on|off]. The user must enter a value with this option.

-Z=, --tlsPort=

Port number for TLS/SSL connections. The user must enter a value with this option.

-y, --tlsYesNew

Force acceptance of new TLS server certificates.

-Y, --tlsYesAll

Force acceptance of all TLS server certificates.

Examples

Example 1

To send the event MyEvent to the current job with a simple parameter, use the following command:

zos event MyEvent myarg=12345