Hi,
You can write the code for setting a flag in the driver program like below.
IF b1 AND 2.
l_flag = 'X'.
ELSEIF (b1 AND 2) AND (b2 AND 2).
l_flag = 'Y'.
ENDIF.
In the script you can write the logic as,
/: IF &flag& EQ 'X'.
/: INCLUDE SIGNATURE1.
/: ELSEIF &flag& EQ 'Y'.
/: INCLUDE SIGNATURE2.
/: ENIF.
Hope this helps,
~Athreya