A DD Monitor Process

The following sample program is a that stays alive as long as the DD system exists.


int main()
{
  DD_factory *theFactory = new DD_factory();
  my_dd = theFactory->create_dd( dd_name );
  while ( my_dd->get_status() == DD_STATUS_OK ) {
    sleep(1);
  }
  exit(EXIT_FAILURE );
}

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.