Consultor Eletrônico



Kbase P13554: How to connect multiple databases with the Progres/400 Native 4GL client?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

GOAL:

How to connect multiple databases with the Progress/400 Native 4GL client?

FACT(s) (Environment):

Progress/400 DataServer

FIX:

The STRPROCLI command only allows one database name in its -db parameter. There are three possible ways to connect to multiple databases:

1. Connect additional databases in a .pf file
2. Use the PROPARMS option of STRPROCLI with -db
3. Connect the databases within a 4GL procedure using the CONNECT statement
before running your 4GL application.

For additional information on the STRPROCLI command see the Progress/400 Product Guide Chapter 10 "AS/400 Utilities", Section 10.7 "Progress/400 Native 4GL Client Commands".