Consultor Eletrônico



Kbase P76573: DOS SILENT QUOTER statement fails.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/04/2004
Status: Unverified

SYMPTOM(s):

DOS SILENT QUOTER statement fails.

The statement fails using the input file name 'InputFileName' in a variable with the VALUE option:

DOS SILENT QUOTER -C "1-60,61-120" VALUE(InputFileName) > OutPutFileName.

The statement succeeds using an explicit input file name:

DOS SILENT QUOTER -C "1-60,61-120" C:\WRK\MyInputFile > OutPutFileName.

Messaging the value of the variable InputFileName before the problem statement returns a blank:

MESSAGE InputFileName
VIEW-AS ALERT-BOX INFO BUTTONS OK.
DOS SILENT QUOTER -C "1-60,61-120" C:\WRK\MyInputFile > OutPutFileName.

CAUSE:

The variable InputFileName is not being resolved correctly into a valid file name due to a logic error in the code before the problem statement is executed.

FIX:

Correct the code logic that constructs the name of the input file to ensure that it results in a valid file name that is in the Progress session PROPATH.