Problem:
To setup the Java environment with Micro Focus COBOL run the command
. $COBDIR/bin/cobsje -v -J <Java_Home>
If running on HP/UX 11.11 the cobsje script will abend with the error:
ksh: COBCPY: parameter not set
Resolution:
This is a problem with HP/UX 11.11.
The workaround is to set the environment variable COBCPY to anything prior to running the cobsje script:
export COBCPY=A
. $COBDIR/bin/cobsje -v -J <Java_Home>
This is not a problem running on HP/UX 11.00.