Consultor Eletrônico



Kbase P3141: Cannot connect to the Progress/400 DataServer (error 301)
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

FACT(s) (Environment):

IBM AS/400 (RISC)
Progress/400 DataServer

SYMPTOM(s):

Cannot connect to the Progress/400 DataServer

** Could not recognize argument: <string>. (301)

Unable to execute CONNECT statement. (325)

CAUSE:

The problem is related to the fact that there is an unnecessary space before DATALIB parameter, for example:
-Dsrv TRANSCTL=COMMIT,COMPRESS=1, DATALIB=VIF5_7.
It cannot be understood.

FIX:

It is sufficient to remove leading space from the -Dsrv DATALIB string in order to make it work.
The connection string should be as follows (in the mentioned example):
-Dsrv TRANSCTL=COMMIT,COMPRESS=1,DATALIB=VIF5_7