Ibm Data Server DB2 Manual do Utilizador Página 273

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 298
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 272
© Copyright IBM Corp. 2008. All rights reserved. 259
Appendix A. Sample applications
This appendix provides the application codes of various languages used in
demonstrating the DB2 application deployment as well as deploying
pre-configured database.
A.1 C/C++
Example A-1 shows the application used to demonstrate the deployment of the
DB2 C/C++ application.
Example: A-1 Sample CLI application
/****************************************************************************
**
** A sample CLI application which makes DSN-less connection to database.
** Database connectivity informations are read from command line arguments.
**
*****************************************************************************
** Build the application:
**
** There are two approaches to build this applicaiton:
** 1. use bldapp script that is included in DB2 installation
** 2. use recommended compile and link options according to DB2 information
center:
A
Vista de página 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 297 298

Comentários a estes Manuais

Sem comentários