Does anyone know of a way to intercept/change the date returned by the DATE functions in RM/Cobol? I don't see anything like it in the runtime config.
Am modifying a large number of programs that contain date dependent code (i.e. after a given date, certain features become active/inactive), and would like to test without having to rewrite the date logic or put in a bunch of code just for the purposes of testing and then have to take it back out again.
We are running Unix and have thought about just changing the system date, but that raises other issues. Any help would be appreciated,
Thanks, "Code what you mean,
and mean what you code"
Razalas
Am modifying a large number of programs that contain date dependent code (i.e. after a given date, certain features become active/inactive), and would like to test without having to rewrite the date logic or put in a bunch of code just for the purposes of testing and then have to take it back out again.
We are running Unix and have thought about just changing the system date, but that raises other issues. Any help would be appreciated,
Thanks, "Code what you mean,
and mean what you code"
Razalas