Problem:
When calling semctl from a COBOL program the fourth parameter is always zero.
Resolution:
The interface for semctl() passes a union by value.
We do not support passing a union or struct by value to a C program.
From SX 4.0 SP2 the shared memory demo programs in $COBDIR/demo/sharedmem have been corrected to reflect this. See sharemem.cbl and smipc.c in this directory for further details.
