Chapter 1: Introducing DirectConnect for z/OS


About this book

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

This guide also provides information about compatibility with MDI Database Gateway™.

Audience

This book is written for:

How to use this book

The following table shows how this book is organized.

See

To

Chapter 1, “Introducing DirectConnect for z/OS”

Learn about DirectConnect for OS/390 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 UDB 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 SQL Server® 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 UDB 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, “Compatibility with MDI Database Gateways and Net-Gateway”

Identify information regarding the compatibility between DirectConnect and both the MDI Database Gateway and Net-Gateway™.

Appendix C, “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 DirectConnect products and DirectConnect Manager, use the Mainframe Connect DirectConnect for z/OS Option Installation Guide.

To configure and administer the DirectConnect server, use the ECDA Mainframe Connect Server Administration Guide for DirectConnect.

To configure and administer the DirectConnect Transaction Router Service Library (TRS) and to administer Mainframe Client Connect, use the Mainframe Connect DirectConnect for z/OS Option User’s Guide for Transaction Router Services.

To install and administer the other Mainframe Connect Integrated Product Set (IPS) products, use the following documents:

For additional references, use the following documents:

Other sources of information

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

Sybase certifications on the Web

Technical documentation at the Sybase Web site is updated frequently.

StepsFinding the latest information on product certifications

  1. Point your Web browser to Technical Documents.

  2. Select Products from the navigation bar on the left.

  3. Select a product name from the product list and click Go.

  4. Select the Certification Report filter, specify a time frame, and click Go.

  5. Click a Certification Report title to display the report.

StepsCreating a personalized view of the Sybase Web site (including support pages)

Set up a MySybase profile. MySybase is a free service that allows you to create a personalized view of Sybase Web pages.

  1. Point your Web browser to Technical Documents.

  2. Click MySybase and create a MySybase profile.

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.

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.





Copyright © 2005. Sybase Inc. All rights reserved. Chapter 1: Introducing DirectConnect for z/OS

View this book as PDF