Warum machst Du es überhaupt so kompliziert?
OMMITTED Parameter können direkt auf *NULL geprüft werden.
PHP-Code:
/Free
   
If %Addr(Parm1) = *NULL//Mit *OMMIT  übergeben
   
Else;      
   EndIf;
/
End-Free 
Birgitta