getUUID

An utillity to get a random UUID
This is a procedure to use in Seeburger BIC Mapping Designer

/*  -----------------------------
    Peter Lykkegaard, 25 apr 2023
    -----------------------------
    procedure getUUID
  
    Parameters:
        None
    Output
        String
  
	Create random UUID
    ----------------------------- */
 
#importJavaStart
    import java.util.UUID;
#importJavaEnd

local output%;

#javastart
    _StrVar_OUTPUT.setString(UUID.randomUUID().toString());
#javaend

exitProc(output%);

 

 

Comments are closed