IBM Embedded SQL programming

Manuals and User Guides for IBM Embedded SQL programming. We found 1 manuals for free downloads User manual

Below you will find brief information for Database Embedded SQL programming. This document explains how to create database applications in host languages that use DB2 for IBM i SQL statements and functions.

Key Features

  • Use host variables in SQL statements

  • Handle SQL error return codes using the SQLCA

  • Use the SQL diagnostics area

  • Code SQL statements in C and C++ applications

  • Code SQL statements in COBOL applications

  • Code SQL statements in PL/I applications

  • Code SQL statements in RPG/400 applications

  • Code SQL statements in ILE RPG applications

  • Code SQL statements in REXX applications

  • Prepare and run a program with SQL statements

Pages: 204 IBM Embedded SQL programming User manual

Brand: IBM Category: Development software Size: 2 MB

Languages: English

Table of contents

Open manual

Frequently Answers and Questions

What is a host variable?

A host variable is a field in your program that is specified in an SQL statement, usually as the source or target for the value of a column.

What is an indicator variable?

An indicator variable is a halfword integer variable used to communicate additional information about its associated host variable.

How do I handle SQL error return codes?

When an SQL statement is processed in your program, SQL places a return code in the SQLCODE and SQLSTATE fields.

How do I use the SQL diagnostics area?

The SQL diagnostics area is used to keep the returned information for an SQL statement that has been run in a program.

advertisement