Kbase P27111: Get error starting a progress session with -p <procedure-name> -param "parameter-value"
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Unverified
SYMPTOM(s):
Get error starting a progress session with -p -param "parameter-value"
Mismatched number of parameters passed to procedure test. (3234)
** Unable to run startup procedure test. (492)
The called procedure has defined the parameter as:
define input parameter MyParam as char no-undo.
CAUSE:
Within a 4GL procedure, you can access the string by reading the PARAMETER attribute of the SESSION system handle. (See progress on-line help)
FIX:
The called procedure should look like this:
DEFINE VARIABLE ipcx AS CHAR NO-UNDO.
ipcx = SESSION:PARAMETER.
MESSAGE ipcx
VIEW-AS ALERT-BOX INFO BUTTONS OK.