Skip to main content

Can I extract in a program the following: "C:\\Program Files\\Micro Focus\\extend 10.4.1\\AcuGT\\bin\\wrun32.exe"

And if I update to a new version will it automatically get the new version? 

Can I extract in a program the following: "C:\\Program Files\\Micro Focus\\extend 10.4.1\\AcuGT\\bin\\wrun32.exe"

And if I update to a new version will it automatically get the new version? 

Can you indicate what - extract in a program means?


Can I extract in a program the following: "C:\\Program Files\\Micro Focus\\extend 10.4.1\\AcuGT\\bin\\wrun32.exe"

And if I update to a new version will it automatically get the new version? 

Get the above information in a program using a C$ something or a enviroment statement or?

C:\\Program Files\\Micro Focus\\extend 10.4.1\\AcuGT\\bin\\wrun32.exe


Get the above information in a program using a C$ something or a enviroment statement or?

C:\\Program Files\\Micro Focus\\extend 10.4.1\\AcuGT\\bin\\wrun32.exe

Doc, is the runtime version you are looking for?
(perhaps you left the -v flag from your initial question)

If this is the case, there's a RUNTIME-VERSION variable that you can populate running the following code:

       WORKING-STORAGE SECTION.
       copy "acucobol.def".
       PROCEDURE DIVISION.
       MAIN-LOGIC.       
           ACCEPT SYSTEM-INFORMATION FROM SYSTEM-INFO. 

More information are available in the Format 3, bullet-point 9, of the ACCEPT Statement documentation page: https://bit.ly/3q7xM8u


Doc, is the runtime version you are looking for?
(perhaps you left the -v flag from your initial question)

If this is the case, there's a RUNTIME-VERSION variable that you can populate running the following code:

       WORKING-STORAGE SECTION.
       copy "acucobol.def".
       PROCEDURE DIVISION.
       MAIN-LOGIC.       
           ACCEPT SYSTEM-INFORMATION FROM SYSTEM-INFO. 

More information are available in the Format 3, bullet-point 9, of the ACCEPT Statement documentation page: https://bit.ly/3q7xM8u

Great and Thanks.