IDAPI code for GFS