how to use conman

10
Table of Contents How to logon conman: Purpose & Scope........................................3 How to use conman commands: Procedure.......................................4 How to check the job status through conman commands: References.............5

Upload: chaitanya

Post on 18-Dec-2015

220 views

Category:

Documents


1 download

DESCRIPTION

This is to show how to use conman command.

TRANSCRIPT

Table of Contents

3How to logon conman: Purpose & Scope

How to use conman commands: Procedure4How to check the job status through conman commands: References5

Purpose & Scope This document defines the steps how to logon through conman and check the status of the job schedules etc.

This documents is not for any specific database or environment, it is for all databases. The IBM Tivoli Workload Scheduler production plan environment is managed with the Conman command line program. Conman is used to start and stop processing, alter, and display the production plan (Symphony), and control workstation linking in a network.

This chapter contains information about the following:

1. Running Conman

2. Selecting and qualifying jobs and job streams

3. The syntax and usage for Conman commandsRunning conman

To run Conman, enter the following command:

conman [command[&...][&]"] Examples

In the following example, Conman starts and prompts for a command:

conman

In the following example, Conman runs the sj and sp commands, and then quits:

conman"sj&sp"

In the following example, Conman runs the sj and sp commands, and then prompts for a command: conman"sj&sp&"

In the following example, Conman reads commands from cfile:

conman < cfile

In the following example, commands from cfile are piped to Conman:

cat cfile | conmanControl characters You can enter the following control characters to interrupt Conman.

Control+c

Conman stops executing the current command at the next step that can be interrupted, and returns a command prompt.

Control+d

Conman quits after executing the current command.Delimiters and special characters:The following characters have special meanings in Conman commands:Char.Description

&Command delimiter. See Running conman

+A delimiter used to select objects for commands. It adds an attribute the object must have. For example: sked1.@+priority=0

~A delimiter used to select objects for commands. It adds an attribute the object must not have. For example: sked1.@~priority=0

;Argument delimiter. For example:

;info;offline

,Repetition and range delimiter. For example:

state=hold,sked,pend

=Value delimiter. For example:

state=hold

:!Command prefixes that pass the command on to the system. These prefixes are optional; if Conman does not recognize the command, it is passed automatically to the system. For example:

!ls or :ls

Comment brackets. For example:

sj @#@.@

*Comment prefix. The prefix must be the first character on a command line or following a command delimiter. For example: *comment or sj& *comment

>Redirects command output to a file and overwrites the contents of the file. If the file does not exist, it is created. For example:

sj> joblist

>>Redirects command output to a file and appends the output to the end of file. If the file does not exist, it is created. For example:

sj >> joblist

|Pipes command output to a system command or process. The system command is run whether or not output is generated. For example:

sj| grep ABEND

||Pipes command output to a system command or process. The system command is not run if there is no output. For example:

sj || grep ABEND

List of commandsThe following table lists the Conman command set. Command names and keywords can be entered in either uppercase or lowercase characters, and can be abbreviated to as few leading characters as are needed to distinguish them from each other. Some of the command names also have short forms.CommandShort FormDescription

adddepadj | adsAdds job or job stream dependencies.

cancelcj | csCancels a job or a job stream.

displaydf | dj | dsDisplays files, jobs, and job streams.

releaserj | rsReleases job or job stream dependencies.

showcpusscDisplays workstation and link information.

Showfiles

Showjobs

Showprompts

Showresources

showschedulesSf

Sj

Sp

Sr

sc

Displays information about files, Jobs, promts, resources and Jobstreams

submitsbd | sbf | sbj | sbsSubmits a command, file, job, or job stream.

shutdownStops IBM Tivoli Workload Scheduler production processes.

startStarts IBM Tivoli Workload Scheduler production processes.

statusDisplays IBM Tivoli Workload Scheduler production status.

stopStops IBM Tivoli Workload Scheduler production processes.

Show Jobs

Start & Status