This error can manifest itself in a few different forms.
An incorrect day or month might be used when attempting to modify the current date for testing using date warp or for testing using a past or future date.
A runtime error of RTS079 might be issued: ' COBRT079 COBCONFIG syntax error ' when the user application is ran.
The runtime tunables that can be set in a COBCONFIG and are affected by this problem include:
datewarp_dynamic=TRUE
current_day=01
current_month=08
current_year=014
timewarp_dynamic=TRUE
current_hour=07
current_minute=09
current_second=09
This is actually a runtime feature that is working as designed. One must use Octal values for days or months greater than 7. Please reference our Help on this. The following reference is for Studio v6.0 but it can also be found in the Enterprise Developer documentation.
UNIX
Enterprise > Micro Focus Studio Enterprise Edition for UNIX > General Reference > Run-time System Configuration > Run-time Tunables > Format of a Configuration File for Native COBOL
Windows
Enterprise > Studio Enterprise Edition 6.0 ServicePack 2 WrapPack 2 for Windows > Micro Focus Studio Enterprise Edition for Windows > General Reference > Run-time System Configuration > Run-time Tunables > Format of a Configuration File for Native COBOL
The value to be assigned to a run-time tunable has this comment:
Where value is numeric, a leading zero indicates that the value should be treated as octal (that is, base 8). For example, 07 (octal) is 7 (decimal), while 010 (octal) is 8 (decimal); however, 08 (octal) and 09 (octal) are invalid octal values. Hexadecimal values can also be set by using numeric values that begin with 0x.
As an example, this means one will have to use these Octal number values for parameters that start with a leading zero:
08=010
09=011
10=012
11=013
12=014
13=015
14=016
15=017
16=020
17=021
18=022
19=023
20=024
21=025
22=026
23=027
24=030
25=031
26=032
27=033
28=034
29=035
30=036
31=037
#MFDS
#EnterpriseDeveloper