Generate REXX with an XML to update the appl in use flag