Batch separation rule

Description

The batch separation rule specified on the batch definition is called to determine which forming batch an arriving load should be added to.

Synopsis


#include "factor.h"

FORMBAT *myrule(ldp, bdp)

LOAD   *ldp;  /* Pointer to the arriving load.  */
BATCHDEF *bdp;  /* Pointer to the batch definition. */

Returns

Forming batch to add load to; NULL if no suitable forming batch found.

Install

The following function called from ucini1 installs the rule as rule 39:


sedfbs (39, myrule);
Note: Function seslfb may be used to call standard system rules.