“Redirection is not supported” is a common error in GnuCOBOL and OpenCOBOLIDE. It can occur when you try to run a program containing SCREEN SECTION in it.
Below is the program that i was trying to run.
The program contains a SCREEN SECTION.
To remove this error you can simply just edit an option in the preferences tab of the OpenCOBOLIDE.
- Go to Edit on the top left menu.
- Then click on Preferences.
In Preferences there is an option “Run in external terminal”. Check this option. You are good to go now.
If i run my program now, then it will display the screen and wont show that error anymore.