list
You can use the list command to view a list of items of the specified type.
Overview
You can configure the command line syntax with different parameters to view a list of items of the same type. You cannot run the command to view a list of different item types at the same time.
items | Details |
---|---|
calendar |
|
domain |
|
folder |
|
job definition |
|
job stream |
|
prompt |
|
resource |
|
run cycle group |
|
user |
|
variable |
|
variable table |
|
workstation |
|
workstation class |
|
Syntax and command line options
ocli model list | l | li Scheduling item [;showid]
You
can use the following scheduling parameters to view specific information.Scheduling items | Description |
---|---|
calendars | calendar | cal
[folder/]calname |
You can specify the name of the calendar and optionally, the folder in which the calendar is defined. If you do not specify the [folder/]calname, all the calendar definitions in the database are listed in order. |
domain | dom
domainname |
You can specify the domainname. If you do not provide the domainname, all the domain definitions in the database are listed. Wildcard characters are permitted. |
folder | fol
foldername |
You can specify the name of the folder. If you do not provide the foldername, all the folder definitions in the database are listed. Wildcard characters are permitted. |
parms | parm | variable | vb
[[folder/]tablename.]variablename |
You must provide the [[folder/]tablename.]variablename to view a specific variable within a specific table. If you specify the variablename only, the variable definition in the default variable is listed. If you do not provide the [[folder/]tablename.]variablename, all the global variable definitions in the default variable table are listed. Wildcard characters are permitted on both [folder/]tablename and variablename. |
prompt | pr
[folder/]promptname |
You can specify the [folder/]promptname. If you do not provide the [folder/]promptname, all the prompt definitions in the database are listed. Wildcard characters are permitted. |
resource | re | reso
[folder/]resourcename |
You can specify the [folder/]resourcename. You can provide the [folder/]workstationame#] and the folder in which the resource is defined to make the selection more specific. If you do not provide the [folder/]resourcename, all the resource definitions in the database are listed. Wildcard characters are permitted. |
runcyclegroup | rcg
[folder/]rcgname] |
You can specify the [folder/]rcgname]. If you do not provide the [folder/]rcgname], all the run cycle group definitions in the database are listed. Wildcard characters are permitted. |
vartable | vt
[folder/]tablename |
You can specify the name of the variable table and optionally, you can provide the folder in which the variable table is defined. If you do not specify the tablename and add wildcard characters, all the variable table definitions are listed. Wildcard characters are permitted. |
jobs | jobdefinition | jd
[[folder/]workstationame#][folder/]jobname
|
If you provide a specific jobname only that particular job definition is listed and if not, all the job definitions are listed. You can provide [folder/]workstationame#] and the folder in which the job is defined to make the selection more specific. Wildcard characters are permitted. |
sched | jobstream | js
[[folder/]workstationame#][folder/]jstreamname[valid
from date|valid to date |valid in date
date][;full] |
If you provide a specific jstreamname
only that particular job stream definition is listed and if not,
all the job stream definitions are listed. You can provide
[folder/]workstationame#] and the folder
in which the job stream is defined to make the selection more
specific. Wildcard characters are permitted. You can also add
the options below to provide more details of the job
stream. Valid from date: You can specify a date which will restrict the selection of job streams, that have a valid from date equal to the value specified. The format is mm/dd/yyyy. Valid to date: You can specify a date which will restrict the selection of job streams, that have a valid to date equal to the value specified. The format is mm/dd/yyyy. valid in
date date: Specify the time frame at which the
job is run. You can specify one of the dates as
full: If you add the option, all the job definitions in the job stream are listed. |
users | user
[[folder/]workstationame#]username
[;password] |
If you do not provide any specific username, all the usernames in the database are listed. You can provide [folder/]workstationame#] and the folder in which the user is defined, to make the selection more specific. Wildcard characters are permitted. |
workstation | ws | cpu
[folder/]workstationame] |
You can specify the name of the workstation that you want to view. Optionally, you can provide the folder in which the items are located. Wildcard characters are permitted. |
workstationclass | wsc
[folder/]workstationclassname] |
You can specify the [folder/]workstationclassname]. If you do not provide the [folder/]workstationclassname], all the workstation class definitions in the database are listed. Wildcard characters are permitted. |
You can specify the parameter with the item workstation and the unique identifier for the item is displayed in the results.
Examples
- Run the following command to list all
calendars:
ocli model list calendars @
- Run the following command to list workstation
kottayam
, stored in folderkerala
:ocli model list ws kerala/kottayam