new
You can use the new command to create a new scheduling item definition.
Overview
The new command opens a predefined template in an editor based on the operating system that you run the command on.
On Windows operating systems, the predefined template opens in
notepad.
In UNIX operating systems, the predefined template opens in Visual
Editor.
You can save the template after you customize the definitions. If you do not want to
use the predefined template, run the command without adding an item, which opens an
empty file.
Note: When you create a variable in an existing
variable table, the variable table is locked and no other user can modify
it.
Syntax and command line options
Before you run the command, you must add at least one scheduling item. You can run
the command as follows:
ocli model new scheduling item
You can create the following items and use either the spelled out form or an
abbreviation as described below:- calendar | cal
- domain | dom
- folder | fol
- job | jobdefinition | jd
- jobstream | js
- prompt | pr
- resource | re | reso
- runcyclegroup | rcg
- user
- variable | parms | vb
- vartable | vt
- workstation | ws
- workstationclass | wsc
Examples
- Run the following command to add a new folder
definition:
ocli model new folder
- Run the following command to add a new calendar
definition:
ocli model new job -format yaml