Consultor Eletrônico



Kbase P117088: Error 1402 when using -ininame in a CONNECT statement
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   29/06/2006
Status: Unverified

SYMPTOM(s):

Using the CONNECT statement to connect to databases

Specific settings are required for the procedure so -ininame is specified in the CONNECT statement

Error 1402 is displayed when running the code

Warning: <ARG> is not a database parameter and was ignored. (1402)

Warning: -ininame is not a database parameter and was ignored. (1402)

CAUSE:

This is expected behaviour. The -ininame parameter is a Client Session parameter and not a Database Server parameter.

FIX:

To load and use settings from an INI file from within a procedure, use the 4GL statements LOAD, USE and UNLOAD.