philippoommen1
Member
Hi,
I would like to pass the temp-table condionally to an external procedure. If SN is blank , no need to pass the temp-table tt-tm-log otherwise I need to pass it. I tried the below code I am getting pramenter mismach error at run time. Any solution for this.
Regards
Philip
IF Temp-Log.SN = '' THEN
RUN ErrorCodes.p ("ALL",
INPUT TABLE-HANDLE Temp-tmLog,
INPUT TABLE-HANDLE ?,
OUTPUT error-codes).
ELSE RUN ErrorCodes.p ("ALL",
INPUT TABLE-HANDLE Temp-tmLog,
INPUT TABLE-HANDLE h-tt-tm-log,
OUTPUT error-codes).
I would like to pass the temp-table condionally to an external procedure. If SN is blank , no need to pass the temp-table tt-tm-log otherwise I need to pass it. I tried the below code I am getting pramenter mismach error at run time. Any solution for this.
Regards
Philip
IF Temp-Log.SN = '' THEN
RUN ErrorCodes.p ("ALL",
INPUT TABLE-HANDLE Temp-tmLog,
INPUT TABLE-HANDLE ?,
OUTPUT error-codes).
ELSE RUN ErrorCodes.p ("ALL",
INPUT TABLE-HANDLE Temp-tmLog,
INPUT TABLE-HANDLE h-tt-tm-log,
OUTPUT error-codes).