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™.
This book is written for:
Application Programmers, who develop organization-specific programs using the major features of DirectConnect.
System Administrators, who install and test DirectConnect. When DirectConnect is running, System Administrators provide ongoing administration support, disaster recovery, and troubleshooting support.
System Programmers, who install and test DirectConnect. System Programmers also provide product administration, troubleshooting, and disaster recovery.
The following table shows how this book is organized.
See |
To |
---|---|
Learn about DirectConnect for OS/390 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 UDB and Open Client™ and Open Server™. |
|
Begin the SQL request process. |
|
Review SQL transformation modes and cursor, dynamic, and language commands. |
|
Issue SQL Server® 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 UDB 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. |
|
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™. |
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 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:
Mainframe Connect Client Option Installation and Administration Guide for CICS
Mainframe Connect Client Option Installation and Administration Guide for IMS and MVS
Mainframe Connect Client Options Programmer’s Reference for Remote Stored Procedures
Mainframe Connect Server Option Installation and Administration Guide for CICS
Mainframe Connect Client Option Installation and Administration Guide for IMS and MVS
Mainframe Connect Client Options Programmer’s Reference for Client Services Applications
Open Client and Open Server Common Libraries Reference Manual
Open Client Client-Library/C Programmer’s Guide
Open Client Client-Library/C Reference Manual
Open Server Server-Library/C Reference Manual
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:
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 Technical Library CD. It is included with your software. To read or print documents on the Getting Started CD, you need Adobe Acrobat Reader (downloadable at no charge from the Adobe Web site, using a link provided on the CD).
The Technical Library CD contains product manuals and is included with your software. The DynaText reader (included on the Technical Library CD) allows you to access technical information about your product in an easy-to-use format.
Refer to the Technical Library Installation Guide in your documentation package for instructions on installing and starting the Technical Library.
The Technical Library Product Manuals Web site is an HTML version of the Technical Library 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 Technical Library Product Manuals Web site, go to Product Manuals.
Technical documentation at the Sybase Web site is updated frequently.
Finding the latest information on product certifications
Point your Web browser to Technical Documents.
Select Products from the navigation bar on the left.
Select a product name from the product list and click Go.
Select the Certification Report filter, specify a time frame, and click Go.
Click a Certification Report title to display the report.
Creating 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.
Point your Web browser to Technical Documents.
Click MySybase and create a MySybase profile.
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. |
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. |