lock
You can use the command option to lock access to a scheduling item definition.
Overview
Syntax and command line options
ocli model lock|lo Scheduling item
For the list of scheduling parameters that you can use and the format that needs to
be followed, see the table below. Scheduling items | Description |
---|---|
calendars | calendar | cal
[folder/]calname |
You must specify the [folder/]calname that you want to lock. Wildcard characters are permitted. |
domain | dom
domainname |
You must specify the domainname that you want to lock. Wildcard characters are permitted. |
folder | fol
foldername |
You must specify the name of the folder that you want to lock. Wildcard characters are permitted. |
jobs | jobdefinition | jd
[[folder/]workstationame#][folder/]jobname
|
If you provide a specific jobname only that particular job definition is locked and if not, all the job definitions are locked. 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 locked and if not,
all the job stream definitions are locked. 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 displayed for editing. |
prompt | pr
[folder/]promptname |
You must specify the [folder/]promptname that you want to lock. Wildcard characters are permitted. |
resource | re | reso
[folder/]resourcename |
You must specify the [folder/]resourcename that you want to lock. You can provide the [folder/]workstationame#] and the folder in which the resource is defined to make the selection more specific. Wildcard characters are permitted. |
runcyclegroup | rcg
[folder/]rcgname] |
You must specify the [folder/]rcgname] that you want to lock. Wildcard characters are permitted. |
users | user
[[folder/]workstationame#]username
[;password] |
You must specify the [[folder/]workstationame#]username [;password] that you want to lock. Wildcard characters are permitted. |
parms | parm | variable | vb
[[folder/]tablename.]variablename |
You must specify the [folder/]tablename that you want to lock. Wildcard characters are permitted. |
vartable | vt
[folder/]tablename |
You must specify the [[folder/]tablename.]variablename that you want to lock. Wildcard characters are permitted. |
workstation | ws | cpu
[folder/]workstationame] |
You can specify the name of the workstation that you want to lock. Optionally, you can provide the folder in which the items are located. Wildcard characters are permitted. |
workstationclass | wsc
[folder/]workstationclassname] |
You must specify the [folder/]workstationclassname] that you want to lock. Wildcard characters are permitted. |
Examples
- Run the following command to lock the jobs
my_JOBS
:ocli model lock JOB=my_JOBS
- Run the following command to lock the folder
delhi
:ocli model lock folder /delhi