If you are using choco install gnucobol, modify the 'Path' variable in Environment Variables to include this path (because that's where the file gcc.exe is located) :
C:\ProgramData\chocolatey\lib\gnucobol\tools\bin