WebSpeed
Installation and
Configuration Guide
Connecting Programmatically
You can also provide connection information programmatically with the SpeedScript CONNECT statement. You can specify a parameter file that includes connection information with the CONNECT statement. However, you cannot connect to a database in the same procedure that accesses that database. You cannot connect to a database within an embedded SpeedScript program that then accesses the database tables and fields. Instead, you should include the CONNECT statement in a separate procedure (.p) that the embedded SpeedScript calls. This ensures that all Agents receive the information they need to connect to the database.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |