The CSAINDX sample CSA transfers data retrieved from an RSP executed through DirectConnect to Adaptive Server Enterprise. Transferring data between data sources is one of the most common uses of CSAs.
This program illustrates:
Specifying two attachment definition names, one for DirectConnect and one for Adaptive Server Enterprise
Using an SPAREA definition
Setting up a request buffer and executing requests
Using the RESCHECK and GETMSG commands to ensure that the DirectConnect requests are successful handling errors
If you transfer data between sources regularly, you can set up a job scheduler to invoke the CSA on the mainframe.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |