Consultor Eletrônico



Kbase P18261: CHGPRODCT command is failing with mismatched parameters error
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

FACT(s) (Environment):

Progress/400 DataServer
IBM AS/400 (RISC)
IBM AS/400 (CISC)

SYMPTOM(s):

CHGPRODCT command is failing after submitting the job

Trying to add the DB2 logical file reference into the Dictionary library using CHGPRODCT

AS/400 error CPD0162 - Parameters do not match those in program CHGPRODCT in *LIBL

User has a CL program with a same name as CHGPRODCT which runs the actual Progress CHGPRODCT program after hours when users are not using the database.

The CL program mentioned above exists in the library that is listed before the Progress library in the user library list (*LIBL)

CAUSE:

The user library list is like a PROPATH or system environment path. When the CHGPRODCT command is executed, the AS/400 looks through the libraries in the user library list to find the CHGPRODCT program. When it finds the program it will execute it. A CL program named CHGPRODCT existed in a library listed before the Progress library. That CL program was executed instead of the Progress supplied one. Therefore the command failed with the above error message posted in the job log.

FIX:

Make sure that the user library list has the Progress Library listed before any library that contains CL programs of the same name as Progress supplied ones.