About this book

This guide describes how to configure and use a Mainframe Connect™ DirectConnect™ for z/OS Option access service for DB2 data sources, including information about access service configuration properties, datatype conversion, request processing, data transfer, and stored procedures.

Audience

This book is written for:

NoteThroughout this guide, “Mainframe Connect for DirectConnect for z/OS Option” is also referred to as “DirectConnect for z/OS Option.”

How to use this book

The following table shows how this book is organized.

See

To

Chapter 1, “Introducing DirectConnect for z/OS Option”

Learn about DirectConnect for z/OS Option and the access services.

Chapter 2, “Creating and Configuring DB2 Access Services”

Configure the access service library and DB2 access service properties.

Chapter 3, “Querying and Setting Operating Values”

Use global variables and set statements to query and set operating values for your client connections.

Chapter 4, “Converting Datatypes”

Review datatype conversions between DB2 and Open Client™ and Open Server™.

Chapter 5, “Understanding the Request Process”

Begin the SQL request process.

Chapter 6, “Issuing SQL Statements”

Review SQL transformation modes and cursor, dynamic, and language commands.

Chapter 7, “Issuing Remote Procedure Calls”

Issue Adaptive Server® Enterprise (ASE) remote procedure calls (RPCs) that initiate events in remote databases.

Chapter 8, “Understanding the Transfer Process”

Review the transfer process, including transfer targets, datatype conversion for transfer processing, errors and error handling, and backward compatibility.

Chapter 9, “Using Bulk Copy Transfer”

Use bulk copy transfer to transfer data.

Chapter 10, “Using Destination-Template Transfer”

Use destination-template transfer to transfer data.

Chapter 11, “Accessing Catalog Information with CSPs”

Obtain information about database objects that you need to access the DB2 database catalog. Catalog stored procedures (CSPs) provide this catalog access.

Chapter 12, “Retrieving Information with System Procedures”

Use system procedures.

Chapter 13, “RSPs and Host-Resident Requests”

Create, execute, and delete remote stored procedures (RSPs) and host-resident requests.

Appendix A, “Configuration References and Code Set Tables”

Access a synopsis of configuration properties and code set identifiers, and how they interact in transaction management.

Appendix B, “Using Sybase Mode Commands”

Issue structured query language (SQL) commands that an access service recognizes and acts upon when the SQL transformation mode is set to sybase mode.

Related documents

To install the DirectConnect for z/OS Option, use the Mainframe Connect DirectConnect for z/OS Option Installation Guide.

To configure and administer the DirectConnect server, use the Enterprise Connect ™ Data Access and Mainframe Connect Server Administration Guide.

To configure and administer the Transaction Router Service (TRS) library, use the Mainframe Connect DirectConnect for z/OS Option Users Guide for Transaction Router Services.

To install and administer other Mainframe Connect products, use these documents:

For additional references, use the following documents:

Other sources of information

Use the Sybase Getting Started CD, the SyBooks™ CD, and the Sybase Product Manuals Web site to learn more about your product:

Sybase EBFs and software maintenance

StepsFinding the latest information on EBFs and software maintenance

  1. Point your Web browser to the Sybase Support Page.

  2. Select EBFs/Maintenance. If prompted, enter your MySybase user name and password.

  3. Select a product.

  4. Specify a time frame and click Go. A list of EBF/Maintenance releases is displayed.

    Padlock icons indicate that you do not have download authorization for certain EBF/Maintenance releases because you are not registered as a Technical Support Contact. If you have not registered but have valid information provided by your Sybase representative or through your support contract, click Edit Roles to add the “Technical Support Contact” role to your MySybase profile.

  5. Click the Info icon to display the EBF/Maintenance report, or click the product description to download the software.

Style conventions

This book uses the following style conventions:

This type of information

Looks like this

Gateway-Library function names

TDINIT, TDCANCEL

Client-Library™ function names

CTBINIT, CTBCANCEL

Other executables (DB-Library™ routines, SQL commands) in text

the dbrpcparam routine, a select statement

Directory names, path names, and file names

/usr/bin directory, interfaces file

Variables

n bytes

SQL Server datatypes

datetime, float

Sample code

01 BUFFER	 PIC S9(9) COMP SYNC

User input

01 BUFFER PIC X(n)

Client-Library and Gateway-Library function argument names

BUFFER, RETCODE

Names of objects stored on the mainframe

SYCTSAA5

Symbolic values used with function arguments, properties, and structure fields

CS_UNUSED, FMT_NAME, CS_SV_FATAL

Client-Library property names

CS_PASSWORD, CS_USERNAME

Client-Library and Gateway-Library datatypes

CS_CHAR, TDSCHAR

All other names and terms are in regular typeface.

Syntax conventions

Syntax statements that display options for a command look like this:

sp_columns table_name [, table_owner]
 [, table_qualifier] [, column_name]

The following table explains the syntax conventions used in this guide.

Symbol

Convention

( )

Parentheses are part of the command.

{ }

Braces indicate that you must choose at least one of the enclosed options. Do not type the braces when you type the option.

[ ]

Brackets indicate that you can choose one or more of the enclosed options, or none. Do not type the brackets when you type the options.

|

The vertical bar indicates that you can select only one of the options shown. Do not type the bar in your command.

,

The comma indicates that you can choose one or more of the options shown. Separate each choice by using a comma as part of the command.

Accessibility features

This document is available in an HTML version that is specialized for accessibility. You can navigate the HTML with an adaptive technology such as a screen reader, or view it with a screen enlarger.

Mainframe Connect DirectConnect for z/OS Option and the HTML documentation have been tested for compliance with U.S. government Section 508 Accessibility requirements. Documents that comply with Section 508 generally also meet non-U.S. accessibility guidelines, such as the World Wide Web Consortium (W3C) guidelines for Web sites.

NoteYou might need to configure your accessibility tool for optimal use. Some screen readers pronounce text based on its case; for example, they pronounce ALL UPPERCASE TEXT as initials, and MixedCase Text as words. You might find it helpful to configure your tool to announce syntax conventions. Consult the documentation for your tool.

For information about how Sybase supports accessibility, see Sybase Accessibility. The Sybase Accessibility site includes links to information on Section 508 and W3C standards.

For a Section 508 compliance statement for Mainframe Connect DirectConnect for z/OS Option, go to Voluntary Product Assessment Templates.

If you need help

Each Sybase installation that has purchased a support contract has one or more designated people who are authorized to contact Sybase Technical Support. If you cannot resolve a problem using the manuals or online help, please have the designated person contact Sybase Technical Support or the Sybase subsidiary in your area.