code: private int getOdoValue(String dependingOn) {
          Object odoValue = variables.get(dependingOn);
          if (odoValue == null) {
              return 0;
          } else if (odoValue instanceof Number) {
              return ((Number) odoValue).intValue();
          } else {
              throw new CobolODOResolutionException("The value "
                      + odoValue.toString() + " for ODOObject " + dependingOn
                      + " si not numeric" + ". Path: "
                      + getCurFieldFullCobolName());
          }
      }
docs: Retrieve the ODO object value for a variable size array.
  <p/>
  The ODO object has usually been populated before this method in invoked
  in which case, its value has been stored as a variable.
  <p/>
  If we can't find the ODO object in the variables hash, this means it was
  not populated. This is possible in case the ODO object is in a REDEFINE
  alternative where that alternative was not chosen.
  
  @param dependingOn the ODO object name
  @return the value of the ODO object or zero if not found