new

Adds a new scheduling object definition in the database.

Authorization

You must have add access if you add a new scheduling object. If the object already exists in the database you must have modify access to the object.

To add new security objects, you must have permission for the modify action on the object type file with attribute name=security.

Syntax

new
[calendar |
domain |
eventrule |
folder|fol |
job |
jobstream |
parameter |
prompt |
resource |
runcyclegroup |
user |
vartable |
wat |
workstation |
workstationclass |
accesscontrollist |
securitydomain |
securityrole
]

Arguments

The object you want to define: a calendar, a domain, an event rule, a folder, a job, a job stream, a variable, a prompt, a resource, a user, a variable table, a workload application template, a workstation, or a workstation class.

Comments

The command opens a predefined template that helps you edit the object definition and adds it in the database when you save it.

The object templates are located in the templates subfolder in the HCL Workload Automation installation directory. They can be customized to fit your preferences.

Event rule definitions are opened with an XML editor (see Event rule definition for XML reference and see The composer editor for details on setting up an XML editor).

While you create a variable, the destination variable table is locked. This implies that, while the table is locked, no other user can run any other locking commands on it.

The maximum length for the full folder path (that is, the path name including the parent folder and all nested sub-folders) is 800 characters, while each folder name supports a maximum of 256 characters. When you create a nested folder, the parent folder must be existing.

Examples

To create a new user definition, run:
new user
To create a new folder, run:
new folder
You can also create a new folder using the dedicated composer command mkfolder.
To create a new prompt definition, run:
new prompt
To create a new event rule definition, run:
new erule
To create a new variable table definition, run:
new vartable
To create a new variable definition, run:
new parameter
To create two workload application templates, WAT_NAME1 and WAT_NAME2, run:

new wat
BAPPLICATION WAT_NAME1
  DESCRIPTION "Description"
  VENDOR "Provider"
  JSTREAMS
      FTA1#JS_1_1
      AGENT1#JS_1_2
END

BAPPLICATION WAT_NAME2
  DESCRIPTION "Description"
  VENDOR "Provider"
  JSTREAMS
      JS_2_1
      JS_2_2
END 

See also

From the Dynamic Workload Console you can perform the same tasks as described in:

the Dynamic Workload Console User's Guide.