console
Assigns the HCL Workload Automation console
and sets the message level.
You must have console access to the workstation.
Syntax
{console | cons}
[sess | sys]
[;level=msglevel]
Arguments
- sess
- Sends HCL Workload Automation console messages and prompts to standard output.
- sys
- Stops sending HCL Workload Automation console messages and prompts to standard output. This occurs automatically when you exit conman.
- msglevel
- The level of HCL Workload Automation messages
that are sent to the console. Specify one of the following levels:
- -1
- This is the value the product automatically assigns if you modify any of the arguments for the console and you do not reassign any value to msglevel. With this value the product sends all the messages generated by all agents and for all operations to the console.
- 0
- No messages. This is the default on fault-tolerant agents.
- 1
- Exception messages such as operator prompts and job abends.
- 2
- Level 1, plus job stream successful messages.
- 3
- Level 2, plus job successful messages. This is the default on the master domain manager.
- 4
- Level 3, plus job launched messages.
Comments
If you enter a console command with no options, the current state of the console is displayed.
By default, HCL Workload Automation control processes write console messages and prompts to standard list files. In UNIX, you can also have them sent to the syslog daemon.
Examples
To begin writing console messages
and prompts to standard output and change the message level to 1,
run the following command:
console sess;level=1
To
stop writing console messages and prompts to standard output and change
the message level to 4, run the following command:
cons sys;l=4
To display the current state of the console, run the following command:
cons
Console is #J675, level 2, session
675 is the process ID of the user's shell.