ucwtsr

Description

Function ucwtsr is called from setup time rules to determine whether setup is necessary.

Synopsis


#include "factor.h"

int ucwtsr(ldp, type, rp, jsp, rule)

LOAD  *ldp;   /* Pointer to the load.       */
char   type;  /* 'R'esource            */
void  *rp;   /* Pointer to the resource.     */
JOBSTEP *jsp;   /* Pointer to the operation.     */
int   rule;  /* When-to-setup rule to use.    */

Returns

Non-zero if setup is required; zero otherwise