Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
prolinkdata_gr Trusted Contributor.
Trusted Contributor.
1401 views

EXIT-STATUS - Windows 10

Hi all,

We have a c$system call with CSYS-DESKTOP, CSYS-SHELL, CSYS-HIDDEN flags and returning an EXIT-STATUS.

With Windows 7, EXIT-STATUS works as expected, but not with Windows 10 (it returns a totally irrelevant value).

Cobol version is 8.1.0.

Is there any solution?

Regards

Th.

0 Likes
2 Replies
PHenskens Absent Member.
Absent Member.

RE: EXIT-STATUS - Windows 10

Hello Th.

First of all Acucobol-GT V8.1.0 is not certified to run under Windows 10, have you tried running the same program with our latest V10.0.1?

Best regards,

Piet

0 Likes
TonyLeBlanc Super Contributor.
Super Contributor.

RE: EXIT-STATUS - Windows 10

Hi;

System calls (C$SYSTEM) do not work properly on Acu 8.x under Windows 10 (nor under Server2012).  The version 8 runtime doesn't wait for the system call to finish, and therefore the return code is undefined. While the first version of the runtime certified for Win10 is (I believe) 10.x, we've found that version 9.1.1 works fine for us (including system calls).

Tony

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.