BAS11003E WEEKS CYCLE CANNOT BE 0
search cancel

BAS11003E WEEKS CYCLE CANNOT BE 0

book

Article ID: 125538

calendar_today

Updated On:

Products

MICS Resource Management

Issue/Introduction

The CYCLEGEN job fails with a BAS11003E error after making some cycle changes in DBMODEL parms member.  
For example,
BAS11001I FILE CIC CICCSA 10 33 00 06 00 00 053 024 
BAS11003E WEEKS CYCLE CANNOT BE 0 

Environment

Release:
Component: MCIC

Resolution

This error means that you have set the number of CYCLES to 00 in the weeks timespan for the CICCSA file in the DBMODEL member; However, in your 'sharedprefix.GENLIB(CICGENIN)' the weeks timespan is turned on for this file. 

You will need to specify a value greater than 00 for this in the weeks cycle in DBMODEL. 

For example, the error for the CICCSA file shows as follows:

FILE CIC CICCSA 10 33 00 06 00 00 053 024 
BAS11003E WEEKS CYCLE CANNOT BE 0 

The weeks cycle is the third value in from the left (right after 33) which is set to 00. This value will need to be set to something greater than 00. 
After making the changes you can then rerun the CYCLEGEN job. 

If you do not want to track this file at the WEEKS timespan, then you will need to modify the 'sharedprefix.GENLIB(CICGENIN)' member and turn off WEEKS for all file(s) receiving the error followed by running a 'sharedprefix.CNTL(CICCGEN)'.