Routines for i_sched.kb


BatchScheduler

File Name

i_sched.kb

Syntax

BatchScheduler(VAL Args:LIST OF STRING)

Parameters

Args - contains command line parm with process

name of this instance as 1st parm

Returns

Nothing

Side Effects

None

Description

Procedure for executing the Scheduler from command line.

Dialog Forms Called

i_sched.dfc[procprompt]


Perform

File Name

i_sched.kb

Syntax

None

Parameters

temp:

-- ModuleRecord containing the name of the process to run

fields used:

-- module_name - STRING containing file name

-- proc_name - STRING contianing procedure name (if KML)

or command parameters (other types)

Returns

None

Side Effects

None

Description

Executes the specified ASE function, OS/2 executable, or command. Logic for the process type is: temp.module_name == '*.KBC' => temp.proc_name is a KML function; call with CallFunction temp.module_name == '*.EXE' => OS/2 executable; call SysCreateSession ELSE => don't know; call with SysOSShell

Dialog Forms Called

None


RequestStartScheduler

File Name

i_sched.kb

Syntax

RequestStartScheduler

Parameters

None

Returns

Nothing

Side Effects

None

Description

System action for starting the TAM scheduler.

Dialog Forms Called

None


TimeKeeper

File Name

i_sched.kb

Syntax

None

Parameters

scheduler -- Schedule instance data

Returns

None

Side Effects

None

Description

Event routine for the invisible window used for setting and receiving timers. The SchedulerEvent can't do it because it is a dialog, not a window.

Dialog Forms Called

None