DB2 10.5 for Linux, UNIX, and Windows

sqle_node_npipe data structure

This structure is used to catalog named pipe nodes for the sqlectnd API.

Table 1. Fields in the SQLE-NODE-NPIPE Structure
Field Name Data Type Description
COMPUTERNAME CHAR(15) Computer name.
INSTANCE_NAME CHAR(8) Name of an instance.
Note: The character fields passed in this structure must be null terminated or blank filled up to the length of the field.

API and data structure syntax

SQL_STRUCTURE sqle_node_npipe
{
        char computername[SQL_COMPUTERNAME_SZ+1];
        char instance_name[SQL_INSTNAME_SZ+1];
};

COBOL Structure

* File: sqlenv.cbl
01 SQL-NODE-NPIPE.
    05 COMPUTERNAME           PIC X(15).
    05 FILLER                 PIC X.
    05 INSTANCE-NAME          PIC X(8).
    05 FILLER                 PIC X.
*