Skip to main content

Hello All,

When I tried to run the COBOL program by using the command Wrun32 <program name>, program is getting executed but the DISPLAY statements are not getting displayed in the command line.

Can you please help me to fix this? and attached are the Program screen shot and run command.



------------------------------
Sireesh Kumar Yalla
Rocket Software Forum Member
------------------------------

Hello All,

When I tried to run the COBOL program by using the command Wrun32 <program name>, program is getting executed but the DISPLAY statements are not getting displayed in the command line.

Can you please help me to fix this? and attached are the Program screen shot and run command.



------------------------------
Sireesh Kumar Yalla
Rocket Software Forum Member
------------------------------

Hallo, @Sireesh Kumar Yalla.

You need to stop the execution by using an "ACCEPT OMITTED" line after the "DISPLAY" statement.

Regards.



------------------------------
Claudio Contardi
Lead Technical Support Specialist
Rocket Forum Shared Account
------------------------------

Hallo, @Sireesh Kumar Yalla.

You need to stop the execution by using an "ACCEPT OMITTED" line after the "DISPLAY" statement.

Regards.



------------------------------
Claudio Contardi
Lead Technical Support Specialist
Rocket Forum Shared Account
------------------------------

Thank you, It worked.

When I compile a small program, the load file is automatically generated with the .acu extension. However, when I compile one of my actual programs, the load file is created without any extension. Even after manually renaming the file to include the .acu extension and attempting to run it using the command wrun32 .acu, I encounter an error, as shown in the attached screenshot.

Can someone please help me.



------------------------------
Sireesh Kumar Yalla
Rocket Software Forum Member
------------------------------

Thank you, It worked.

When I compile a small program, the load file is automatically generated with the .acu extension. However, when I compile one of my actual programs, the load file is created without any extension. Even after manually renaming the file to include the .acu extension and attempting to run it using the command wrun32 .acu, I encounter an error, as shown in the attached screenshot.

Can someone please help me.



------------------------------
Sireesh Kumar Yalla
Rocket Software Forum Member
------------------------------

@Sireesh Kumar Yalla, if you want your compiled objects to be generated without an extension in the file name, try with option -o @

E.g.: ccbl32.exe -ga -o @ tour.cbl

More information in the Documentation at:

Home
extend Interoperability Suite 11.0.0
extend Interoperability Suite
ACUCOBOL-GT Version 11.0.0 Documentation Set
ACUCOBOL-GT User's Guide
Compiler and Runtime
Using the Compiler
Standard Options
https://docs.rocketsoftware.com/bundle/acuextendsuite_ug_1100/page/oom1742856104288.html

Regards.



------------------------------
Claudio Contardi
Lead Technical Support Specialist
Rocket Forum Shared Account
------------------------------

@Sireesh Kumar Yalla, if you want your compiled objects to be generated without an extension in the file name, try with option -o @

E.g.: ccbl32.exe -ga -o @ tour.cbl

More information in the Documentation at:

Home
extend Interoperability Suite 11.0.0
extend Interoperability Suite
ACUCOBOL-GT Version 11.0.0 Documentation Set
ACUCOBOL-GT User's Guide
Compiler and Runtime
Using the Compiler
Standard Options
https://docs.rocketsoftware.com/bundle/acuextendsuite_ug_1100/page/oom1742856104288.html

Regards.



------------------------------
Claudio Contardi
Lead Technical Support Specialist
Rocket Forum Shared Account
------------------------------

Thank you @Claudio Contardi.

Can you also help me how to resolve the above error which I'm facing while trying to run the COBOL program. 



------------------------------
Sireesh Kumar Yalla
Rocket Software Forum Member
------------------------------

Thank you @Claudio Contardi.

Can you also help me how to resolve the above error which I'm facing while trying to run the COBOL program. 



------------------------------
Sireesh Kumar Yalla
Rocket Software Forum Member
------------------------------

Make sure that all your programs have either the ".acu" file extension, or none.

A mixed situation will not work correctly.

You can eventually use the CODE_SUFFIX configuration variable, if necessary.

Home
extend Interoperability Suite 11.0.0
extend Interoperability Suite
ACUCOBOL-GT Version 11.0.0 Documentation Set
Appendices
Appendix H. Configuration Variables
Configuration Variables
CODE_SUFFIX
https://docs.rocketsoftware.com/bundle/acuextendsuite_ug_1100/page/phr1742856230834.html



------------------------------
Claudio Contardi
Lead Technical Support Specialist
Rocket Forum Shared Account
------------------------------