ノーコードでクラウド上のデータとの連携を実現。
詳細はこちら →30日間の無償トライアル
無償トライアルはこちら製品の詳細
SASxpt ODBC Driver を使って、ODBC 接続をサポートするあらゆるアプリケーション・ツールからSAS xpt (XPORT) ファイルデータにデータ連携。
SAS xpt (XPORT) ファイルにデータベースと同感覚でアクセスして、使い慣れたODBC インターフェースで連携。
こんにちは!ドライバー周りのヘルプドキュメントを担当している古川です。
The CData ODBC Driver for SASXpt can be used from any platform or development technology that supports ODBC, including Sybase PowerBuilder. This article shows how to connect to SAS xpt データ and execute queries from the Database Painter and controls such as the DataWindow.
Follow the steps below to use the Database Painter tool to create a database profile based on an ODBC DSN (data source name) for SASXpt. In the Database Painter, you can use wizards and the UI to work with SAS xpt データ.
URI をSASXpt ファイルを格納しているフォルダに設定すると、ローカルのSASXpt ファイルに接続できます。
Amazon S3 ソースに接続してSASXpt ファイルを読み込むことができます。以下のプロパティを設定して接続します:
ADLS Gen2 に接続してSASXpt ファイルを読み込むことができます。以下のプロパティを設定して接続します:
You can use standard PowerBuilder objects to connect to ODBC data sources and execute queries. The following example shows how to retrieve SAS xpt データ into a DataWindow. You can add the following code to the open method:
SQLCA.DBMS = "ODBC"
SQLCA.DBParm = "ConnectString='DSN=CData SAS xpt Source'"
CONNECT USING SQLCA;
dw_sampletable_1.SetTransObject(SQLCA);
dw_sampletable_1.Retrieve();