add
You can use the add command to add scheduling items to the database.
Overview
You can add new items and items similar to existing ones. If an item already exists,
you are asked whether to replace the item or not. You must specify the file location
before the file name, if the file is not located where you run the command. You can
use the unlock option, if the item is locked by any other user.
The add command checks for loop dependencies in a job stream.
There is a loop dependency in a job stream, if JOB1
follows
JOB2
and JOB2
follows
JOB1
.
You must have add access to add an item to the database. If the item already exists and locked by any other user, then you must have modify and unlock access to the item.
Syntax and command line options
ocli model add|a filename [;unlock]
filename: You must specify the name of the file that contains the item definition.
;unlockYou must add the parameter, if the item you want to edit is locked by the same user and session.
Examples
- Run the following command to add jobs from
jobspend
:ocli model add jobspend
- Run the following command to add job streams from
skedon
:ocli model add skedon