Hello,
I am running ACUCOBOL in HP-UX. When I logged in as developer and runs COBOL, it does not issue any problem. How ever I encounter problems when ;
1) I logged in as root. Initialize the same environment as being initialized by developer and I encounter this error:
FILE PAY01PRN;DEV=LP1;CCTL ^ Unknown device class. (CIERR 344)
Pid 22770: *** NLGETFNAME2: bad FileEquation FILE PAY01PRN;DEV=LP1;CCTL Err:344 Parm:-21 ***
FILE PAY01OK;DEV=LP1;CCTL ^ Unknown device class. (CIERR 344)
Pid 22770: *** NLGETFNAME2: bad FileEquation FILE PAY01OK;DEV=LP1;CCTL Err:344 Parm:-20 ***
2) If I were to run the job in cron. It does not execute the COBOL program. The syntax to run the cobol program is :
/opt/acucobol/bin/runcbl_AMXW805 -c /opt/amx804/NEWLAB/ACUCOB/config.ini -le acuerror.log -x /smbm/test/PAYMENT/PROG/PAY01.acu < TEMPFILE1
I appreciate any help regarding the issues. Thanks