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.
This book is written for:
Application Programmers, who develop organization-specific programs using the major features of Mainframe Connect DirectConnect for z/OS Option.
System Administrators, who install and test Mainframe Connect DirectConnect for z/OS Option. When Mainframe Connect DirectConnect for z/OS Option is running, System Administrators provide ongoing administration support, disaster recovery, and troubleshooting support.
System Programmers, who install and test Mainframe Connect DirectConnect for z/OS Option. System Programmers also provide product administration, troubleshooting, and disaster recovery.
Throughout this guide, “Mainframe Connect for DirectConnect for z/OS Option” is also referred to as “DirectConnect for z/OS Option.”
The following table shows how this book is organized.
See |
To |
---|---|
Learn about DirectConnect for z/OS Option and the access services. |
|
Configure the access service library and DB2 access service properties. |
|
Use global variables and set statements to query and set operating values for your client connections. |
|
Review datatype conversions between DB2 and Open Client™ and Open Server™. |
|
Begin the SQL request process. |
|
Review SQL transformation modes and cursor, dynamic, and language commands. |
|
Issue Adaptive Server® Enterprise (ASE) remote procedure calls (RPCs) that initiate events in remote databases. |
|
Review the transfer process, including transfer targets, datatype conversion for transfer processing, errors and error handling, and backward compatibility. |
|
Use bulk copy transfer to transfer data. |
|
Use destination-template transfer to transfer data. |
|
Obtain information about database objects that you need to access the DB2 database catalog. Catalog stored procedures (CSPs) provide this catalog access. |
|
Use system procedures. |
|
Create, execute, and delete remote stored procedures (RSPs) and host-resident requests. |
|
Access a synopsis of configuration properties and code set identifiers, and how they interact in transaction management. |
|
Issue structured query language (SQL) commands that an access service recognizes and acts upon when the SQL transformation mode is set to sybase mode. |
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:
Mainframe Connect DirectConnect for z/OS Option Installation and Administration Guide for Microsoft Windows and UNIX
Mainframe Connect Client Option Installation and Administration Guide for CICS
Mainframe Connect Client Option Installation and Administration Guide for IMS and MVS
Mainframe Connect Server Option Installation and Administration Guide for IMS and MVS
Mainframe Connect Server Option Installation and Administration Guide for IMS and MVS
Mainframe Connect DB2 UDB Option Installation and Administration Guide for CICS and IMS
Mainframe Connect Client Option Programmers Reference for Client Services Applications
Mainframe Connect Client Option Programmers Reference for C
Mainframe Connect Client Option Programmers Reference for COBOL
Mainframe Connect Client Option Programmers Reference for PL/1
Mainframe Connect Server Option Programmers Reference for C
Mainframe Connect Server Option Programmers Reference for COBOL
Mainframe Connect Server Option Programmers Reference for PL/1
Mainframe Connect Server and Server Options Messages and Codes
For additional references, use the following documents:
Open Client and Open Server Common Libraries Reference Manual
Open Client Client-Library/C Programmers Guide
Open Client Client-Library/C Reference Manual
Open Server Server-Library/C Reference Manual
Use the Sybase Getting Started CD, the SyBooks™ CD, and the Sybase Product Manuals Web site to learn more about your product:
The Getting Started CD contains release bulletins and installation guides in PDF format, and may also contain other documents or updated information not included on the SyBooks CD. It is included with your software. To read or print documents on the Getting Started CD, you need Adobe Acrobat Reader, which you can download at no charge from the Adobe Web site using a link provided on the CD.
The SyBooks CD contains product manuals and is included with your software. The Eclipse-based SyBooks browser allows you to access the manuals in an easy-to-use, HTML-based format.
Some documentation may be provided in PDF format, which you can access through the PDF directory on the SyBooks CD. To read or print the PDF files, you need Adobe Acrobat Reader.
Refer to the SyBooks Installation Guide on the Getting Started CD, or the README.txt file on the SyBooks CD for instructions on installing and starting SyBooks.
The Sybase Product Manuals Web site is an online version of the SyBooks CD that you can access using a standard Web browser. In addition to product manuals, you will find links to EBFs/Maintenance, Technical Documents, Case Management, Solved Cases, newsgroups, and the Sybase Developer Network.
To access the Sybase Product Manuals Web site, go to Product Manuals.
Finding the latest information on EBFs and software maintenance
Point your Web browser to the Sybase Support Page.
Select EBFs/Maintenance. If prompted, enter your MySybase user name and password.
Select a product.
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.
Click the Info icon to display the EBF/Maintenance report, or click the product description to download the software.
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 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. |
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.
You 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.
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.