Problem:
How to do a batch compile and link from the command line?
Resolution:
Release: 3.1 @echo off
cls
echo.
echo This batch file has to be run from a Net Express Command Prompt
echo.
echo Start - Programs - MERANT Net Express 3.1 - Net Express Command Prompt
echo.
pause
rem set cobcpy=Drive:\\YourDirectory\\YourSubDirectory;%cobcpy%
echo.
echo The compiler directives in COBOL.DIR will be used
echo.
pause
echo Here are the options for the CBLLINK utility
echo.
cbllink
pause
FOR %%I IN (*.CBL) DO CBLLINK -bsf %%I
pause
echo.
echo Deleting the OBJ files ...
rem DEL *.OBJ
pause
echo.
echo Moving the EXE files to D:\\Temp ...
rem MOVE *.EXE D:\\TEMP
pause