Cicode Programming Reference > Cicode Function Categories > Scheduler Functions > SchdSpecialAdd

SchdSpecialAdd

The SchdSpecialAdd adds a new Special Day Group to the scheduler engine.

This function is a blocking function. It blocks the calling Cicode task until the operation is complete.

Syntax

LONG SchdSpecialAdd(STRING Cluster, STRING Name)

Cluster:

The name of the cluster

Name:

Name of the special day group

Return Value

Returns the Id of the Special Day Group which can be used for modifying and deleting this Special Day Group. Returns the ID for an existing Special Day group. This function returns -1 if, unsuccessful. Trap the error to get the error returned by this function.

Related Functions

SchdSpecialDelete, SchdSpecialModify,

See Also

Scheduler Functions

Published June 2018