modify
You can use the command option to update the existing scheduling or security items in the database.
Overview
Syntax and command line options
ocli model modify|m Scheduling or Security item
| 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. Otherwise use wildcard characters to display all the calendar definitions in a file for editing. |
eso | eventsource | so
[folder/]eventsourcename
|
You can specify the name of the event source and optionally, the folder in which the event source is defined. Otherwise use wildcard characters to display all the event source definitions in a file for editing. |
folder | fol
foldername |
You can specify the name of the folder. Otherwise use wildcard characters to display all the folder definitions in a file for editing. |
jobs | jobdefinition | jd
[[folder/]workstationame#][folder/]jobname
|
If you provide a specific jobname only that particular task definition is displayed for editing. Otherwise use wildcard characters to modify all task definitions for editing. You can provide [folder/]workstationame#] and the folder in which the task is defined to make the selection more specific. |
sched | jobstream | js
[[folder/]workstationame#][folder/]jstreamname[valid
from date|valid to date|valid in date][;full]]
|
If you provide a specific jstreamname
only that particular workflow definition is displayed for editing. You can provide
[folder/]workstationame#] and the folder
in which the workflow is defined to make the selection more specific. Otherwise use
wildcard characters to display all workflow definitions for editing. You can also add the options below
to provide more details of the workflow. valid from date: You can specify a date which will restrict the selection of workflows, 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 workflows, that have a valid to date equal to the value specified. The format is mm/dd/yyyy. valid in
date: Specify the time frame at which the
task is run. You can specify one of the dates as
full: If you add the option, all the task definitions in the workflow are displayed for editing. |
resource | res
[[/workstationfolder/workstationname#/foldername/resourcename]
| [workstationname#/foldername/resourcename] |
[/foldername/resourcename] |
resourcename] |
Enter the resource key to modify a specific definition or use wildcard characters to modify all the resource definitions at the same time. If the resource is defined in the root folder, specify only the name of the resource. Otherwise add the resource key that contains the workstation name and folder name. |
parms | parm | variable | vb
[[folder/]tablename.]variablename |
You must provide the [[folder/]tablename.]variablename to update a specific variable within a specific table. If you specify the variablename only, the variable definition in the default variable is displayed. If you do not provide the [[folder/]tablename.]variablename, all the global variable definitions in the default variable table are displayed for editing. Wildcard characters are permitted on both [folder/]tablename and variablename. |
user | credential | cred
[[folder/]workstationame#]username
[;password] |
You can provide [folder/]workstationame#] and the folder in which the user is defined, to make the selection more specific. Otherwise use wildcard characters to modify all the user definitions at the same time. |
vartable | vt
[folder/]tablename |
You can specify the name of the variable table and optionally, you can specify the folder in which the variable table is defined. Otherwise use wildcard characters to copy all the variable table definitions into a temporary file for editing. |
workstation | ws | cpu
[folder/]workstationame] |
You can specify the name of the workstation that you want to update. Optionally, you can provide the folder in which the items are located. Otherwise use wildcard characters to modify all the workstation definitions. |
| Security items | Description |
|---|---|
accesscontrollist | acl
foldername|F+foldername|A+ADMIN |
If you specify the
foldername|F+foldername|A+ADMIN, the
access control list definition for that particular folder is
displayed for editing. Otherwise use wildcard characters to
modify all the access control list definitions. foldername|F+foldername: You can specify the option if you want to filter out the lists that are associated with a folder. The security roles are valid, only for the items available in the folder. A+ADMIN: You can specify this option, if you want to filter out the lists that allows specific permissions on API keys (that are not defined in folders) and on agent registration action. |
securityrole | srol
securityrolename |
If you specify the securityrolename, the security role definition for that particular security role is displayed for editing. Otherwise use wildcard characters to modify all the security role definitions. |
aiagent
aiagent_name |
If you specify the aiagent_name, the definition for that particular AI agent is displayed for editing. If you do not provide any value, the definitions for all the AI agents in the database are displayed. |
Examples
- Run the following command to edit all the calendar
definitions:
ocli model modify cal @ - Run the following command to modify the workflow
FINALlocated at folderTEAMSthat is launched on workstationWS1:ocli model modify sched WS1#TEAMS/FINAL