Hi,
I had that instruction "accept wrk-datai from date DATE YYYYMMDD" from day one in the application I'm developing and had never had any problem (is just the login program).
On 14/04 when compiled application (in debug mode) began to mistake that which is in the printscreen.
I found that the operating system had made a .NET Framework upgrade to 4.6 and opensei the problem was that since it had happened a month earlier.
The Microfocus support of the council was that the uninstalled VCobol and VStudio (at the time the 2013) and from installing it again now with VStudio 2015.
This was done but the error remained only in debug mode. If I desactivasse debug mode everything worked properly.
He (along with the support of Microfocus) various experiences in terms of configuration and parameterization and not discovered.
I created an application testing and used some who sent me other things and the error did not give. Only I looked at that I am developing.
I lost a bit more time to isolate the lines of programming one by one in the routine which gave the error and when eliminated that everything worked (and is working).
Also I found it very strange because it is a statement that always used and never had any problem.
The wrk-Datai field was set as the date field and was using it following the "self invoke :: InitializeComponent ()"
Now replaced by: "set wrk-Datai to type DateTime::Today"
Even now I experienced: put the line in the program and when I START soon gave error.
Thanks.
Alberto Ferraz