Home >Documents >iSeries: iSeries Access for Windows: · PDF file programming methods to access iSeries...

iSeries: iSeries Access for Windows: · PDF file programming methods to access iSeries...

Date post:12-Aug-2020
Category:
View:5 times
Download:0 times
Share this document with a friend
Transcript:
  • iSeries

    iSeries Access for Windows: Programming Version 5 Release 3

    ERserver

    ���

  • iSeries

    iSeries Access for Windows: Programming Version 5 Release 3

    ERserver

    ���

  • Note Before using this information and the product it supports, be sure to read the information in “Notices,” on page 869.

    Sixth Edition (August 2005)

    This edition applies to version 5, release 3, modification 0 of IBM eServer™ iSeries Access for Windows (product number 5722-XE1) and to all subsequent releases and modifications until otherwise indicated in new editions. This version does not run on all reduced instruction set computer (RISC) models nor does it run on CISC models.

    © Copyright International Business Machines Corporation 1999, 2005. All rights reserved. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

    | | |

  • Contents

    Part 1. iSeries Access for Windows: Programming . . . . . . . . . . . . 1

    Chapter 1. Code disclaimer information 3

    Chapter 2. What’s new for V5R3 . . . . 5

    Chapter 3. Print this topic . . . . . . . 7

    Chapter 4. iSeries Access for Windows C/C++ APIs . . . . . . . . . . . . . 9 iSeries Access for Windows C/C++ APIs overview . 9

    API groups, header files, import libraries, and DLLs . . . . . . . . . . . . . . . . 9 iSeries system name formats for connection APIs 12 OEM, ANSI, and Unicode considerations . . . 12 Obsolete iSeries Access for Windows APIs . . . 14 Return codes and error messages . . . . . . 21

    iSeries Access for Windows Administration APIs . . 39 Administration APIs list . . . . . . . . . 39 Example: Administration APIs . . . . . . . 47

    iSeries Access for Windows Communications and Security APIs . . . . . . . . . . . . . . 52

    System object attributes . . . . . . . . . 52 iSeries Access for Windows Communications and Security system object APIs list . . . . . . . 56 iSeries Access for Windows Communications system list APIs list . . . . . . . . . . 117 Example: Using iSeries Access for Windows communications APIs . . . . . . . . . 140

    iSeries Access for Windows Data Queues APIs . . 152 Data queues . . . . . . . . . . . . . 152 Ordering data queue messages . . . . . . 153 Work with data queues . . . . . . . . . 153 Typical use of data queues . . . . . . . . 153 iSeries Access for Windows Data Queues APIs list . . . . . . . . . . . . . . . . 154 Example: Using Data Queues APIs . . . . . 214

    iSeries Access for Windows Data Transformation and National LanguageSupport (NLS) APIs . . . 215

    iSeries Access for Windows data transformation APIs . . . . . . . . . . . . . . . 215 iSeries Access for Windows national language support (NLS) APIs . . . . . . . . . . 236

    iSeries Access for Windows Directory Update APIs 271 Typical use of iSeries Access for Windows Directory Update APIs . . . . . . . . . 273 Requirements for Directory Update entries . . 273 Options for Directory Update entries . . . . 273 Directory Update package files syntax and format . . . . . . . . . . . . . . . 274 Directory Update sample program . . . . . 275 iSeries Access for Windows Directory Update API list . . . . . . . . . . . . . . 275

    iSeries Access for Windows PC5250 emulation APIs 296 iSeries Objects APIs for iSeries Access for Windows 296

    iSeries objects attributes . . . . . . . . . 297 iSeries Objects API for iSeries Access for Windows list . . . . . . . . . . . . 326 Example: Using iSeries Objects APIs for iSeries Access for Windows . . . . . . . . . . 407

    iSeries Access for Windows Remote Command/Distributed Program Call APIs . . . 409

    Typical use of iSeries Access for Windows Remote Command/Distributed Program Call APIs . . . . . . . . . . . . . . . 410 iSeries Access for Windows Remote Command/Distributed Program Call APIs list . 411 Example: Using Remote iSeries Access for Windows Command/Distributed Program Call APIs . . . . . . . . . . . . . . . 430

    iSeries Access for Windows Serviceability APIs . . 432 History log and trace files . . . . . . . . 433 Error handles . . . . . . . . . . . . 434 Typical use of Serviceability APIs . . . . . . 434 iSeries Access for Windows Serviceability APIs list . . . . . . . . . . . . . . . . 434 Example: Using iSeries Access for Windows Serviceability APIs . . . . . . . . . . 500

    iSeries Access for Windows System Object Access (SOA) APIs . . . . . . . . . . . . . . 501

    SOA objects . . . . . . . . . . . . . 502 iSeries object views . . . . . . . . . . 502 Typical use of System Object Access APIs for iSeries Access for Windows . . . . . . . . 502 iSeries Access for Windows System Object Access programming considerations . . . . . 510 System Object Access APIs for iSeries Access for Windows List . . . . . . . . . . . . 511

    Chapter 5. iSeries Access for Windows: Database programming . . 563 iSeries Access for Windows .NET provider . . . 563 IBM Toolbox for Java JDBC Driver . . . . . . 565 iSeries Access for Windows OLE DB provider . . 565 iSeries Access for Windows ODBC . . . . . . 565

    Files required to build an ODBC application . . 566 Implementation issues of ODBC APIs . . . . 595 iSeries Access for Windows ODBC performance 616 Choose an interface to access the ODBC driver 652 ODBC program examples . . . . . . . . 653

    iSeries Access for Windows database APIs . . . . 659 iSeries Access for Windows database APIs overview . . . . . . . . . . . . . . 660 Typical use of iSeries Access for Windows database APIs . . . . . . . . . . . . 662 Objects that process data on the PC or iSeries server . . . . . . . . . . . . . . . 664 Code page support in Windows . . . . . . 664

    © Copyright IBM Corp. 1999, 2005 iii

    | |

    | | | | | | | | | | | | |

  • iSeries Access for Windows database APIs list 665 Example: Use SQL to access database functions 859

    Chapter 6. Java programming . . . . 863

    Chapter 7. ActiveX programming . . . 865

    Part 2. Appendixes . . . . . . . . 867

    Appendix. Notices . . . . . . . . . 869 Programming Interface Information . . . . . . 870 Trademarks . . . . . . . . . . . . . . 870 Terms and conditions for downloading and printing information . . . . . . . . . . . 871

    iv iSeries: iSeries Access for Windows: Programming

    || ||

    | | |

  • Part 1. iSeries Access for Windows: Programming

    As an iSeries™ application developer, explore this topic to reference and use iSeries Access for Windows®

    technical programming information, tools, and techniques.

    This information includes programming concepts, capabilities, and examples that are useful when writing applications to access the resources of an iSeries server. Using this topic, Client/server applications can be developed and tailored to the needs of your business. Various programming techniques are described so you can connect, manage, and take advantage of the rich functions provided by the server. You can access this information by selecting from the following topics:

    What’s new in V5R3 Find a summary of the new function that is included in the programming topics for this release.

    Print this topic Find how to view and print a PDF version of iSeries Access for Windows programming.

    C/C++ application programming interfaces Find APIs to access the iSeries server from your client-based applications.

    Database programming (.NET Provider, OLE DB Provider, ODBC) Find tips and techniques on database interfaces. You can access iSeries database files and stored procedures and use them to perform various server tasks.

    Java™ programming Find information on developing web-based applications using Java programming.

    ActiveX programming Find how to use ActiveX programming methods to access iSeries resources through the use of ActiveX automation technology.

    Plug-ins for iSeries Navigator Find a convenient way to integrate your own functions and applications into a single user interface.

    Programmer’s Toolkit Find a primary information source for developing applications with iSeries Access for Windows.

    If a basic working knowledge of iSeries Access for Windows and its components is needed see the Welcome Wizard and the User’s Guide, which are shipped with iSeries Access for Windows. If you do not see either of the components in your iSeries Access for Windows folder, it is not installed. Run Selective Setup to install it. See the Installation and setup for related information. Welcome Wizard is installed as part of the base function while the User’s

Click here to load reader

Embed Size (px)
Recommended