K3S Jobs

Scheduled Jobs

This article will give an explanation of what each routine K3S scheduled job does.

K3S_5DELET

This job is scheduled to run once a month. It will delete all old records in some of the base physical files. The files that will have records deleted through this job will have a corresponding record in the K_TABLCOD file in the RET type (Retain Records Certain Number of Days) which specifies how long to keep records. Once this is reached, the record is deleted.

K3S_5LEADT

This job is scheduled to run once a month. It processes the past month’s worth of lead time transactions in order to update the supplier and product lead times. Most customers will run this job. While it is recommended to run this job, it is not required.

K3S_5NIGHT

This job will start the K3S night job and is customized for each customer. It should run the same days the customer’s ERP end of day procedure runs (typically 5, 6, or 7 days a week) and it should start after your EOD has completed. This job will typically call CLLE program K3S_NIGHT out of library K3S_5MOD. The parms are customized.

K3S_5RFRSH

This job remains on hold. Option 10=Submit immediately is used on it when an R6 API update is needed, which will backup the current library K3S_5OBJ to libray K3S_5OBJBK, and then refresh the APIs in library K3S_5OBJ.

K3S_5RGZPF

This job is scheduled to run once a month. It will reorganize all the physical files that contain more than 1% deleted records. The 1% value is a parameter that can be changed for your environment.

K3S_5SERVE

This job is scheduled to run once a week. The purpose of this job is to re-populate the Service Level Target values for all products, based upon their individual ranking against the other products. The conversion process is set to create the K3S_5SERVE automated job to call the CL program K3S_4041CL which develops service level targets based upon produgt groups. A customer can change this to call the CL program K3S_4040CL which develops service level targets based upon buy groups. Most customers will run this job. While it is recommended to run this job, it is not required.

K3S_5DIVRT

This is an optoinal job. This job is scheduled to run once a week. It will import diverter offering files if they exist. This must run before the night job. This job will only exist if the customer buys from diverters.