Consultor Eletrônico



Kbase P97910: Is it possible to use multiple libraries with CHGPRODCT command?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/11/2004
Status: Unverified

GOAL:

Is it possible to use multiple libraries with CHGPRODCT command?

FACT(s) (Environment):

IBM AS/400 (RISC)
Progress/400 DataServer

FIX:

It is only possible to enter one library name at a time using the CHGPRODCT command form.
The only supported way to modify server schema according to the objects located in different libraries is to set "From Library" field of the FRMFILLST option to *ALL or at least *LIBL. The relevant command should look as follows:
CHGPRODCT PRODCT(DICT) FRMFILLST(((FILE1 FILE2 FILE3 FILE4) *ALL)) , or
CHGPRODCT PRODCT(DICT) FRMFILLST(((FILE1 FILE2 FILE3 FILE4) *LIBL))
FILE1-4 may reside in different libraries. This is important to make sure there's no other library on the list with a file of the same name (a copy, old version, etc).