To set the global effective working mode:
cobmode -s version
where version can be 32 or 64. For example, to set the global working mode to 64-bit:
cobmode -s 64
To set the local effective working mode, set the $COBMODE environment variable:
COBMODE=version
export COBMODE
where version can be 32 or 64.
If both modes are set, the local effective working mode is used.