new

You can use the new command to create a new scheduling or security 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 system, 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 or security item. You can run the command as follows:
ocli model new scheduling or security item
You can create the following items and use either the spelled out form or the abbreviation as follows:
  • calendar | cal
  • folder | fol
  • parm | vb | variable
  • vartable | vb
  • job | jobdefinition | jd
  • jobstream | js
  • user | users
  • accesscontrollist | acl
  • securityrole | srole

Examples

  1. Run the following command to add a new folder definition:
    ocli model new folder
  2. Run the following command to add a new calendar definition:
    ocli model new calendar