The function GET_PUBLISHED_VALUE is passing a NULL as a space when the value of the variable (&VAR#) it is accessing has a null string.
As a consequence, the IF statement in the following script may evaluate &VAR# as True when comparing it to an empty string(''). :SET &RUNID# = ACTIVATE_UC_OBJECT(JOBS.R3.RSPARAM,WAIT)
:PRINT &RUNID#
:SET &VAR# = GET_PUBLISHED_VALUE(&RUNID#,VARIABLE1#)
:PRINT &VAR#
:IF &VAR# = ' '
: PRINT "The value is NULL"
:ELSE
: PRINT "The value is NOT null"
:ENDIF