Consultor Eletrônico



Kbase P104015: Proutil dbname -C truncate area "Old Default Area" produces error and will not complete.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   09/05/2005
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x
Progress 9.x
UNIX

SYMPTOM(s):

Proutil dbname -C truncate area "Old Default Area" produces error

Default not recognized following -C Default. (417)

Running a script setting the $DLC directory prior to running proutil utility

CAUSE:

Script being used to point to install directory was being incorrectly parsed due to its construction. It was not properly handling variable substitution.

FIX:

Modify the pointer script by adding double quotes to tell the shell to evaluate the string, but to recognize only certain characters as special.
#MYDLC - RUN FROM CURRENT DLC LIB
. LOCATION
echo "DLC=>" ${DLC}
${MYDLC}/${@}
New Script
# MYDLC - RUN FROM CURRENT DLC LIB
. LOCATION
echo "DLC=>" ${DLC}
${MYDLC}/"${@}"