There is no LoadRunner API to convert an arbitrary buffer. However, if you received this UserID via socket connection, you could extract it in EBCDIC encoding into a parameter used for correlations with lrs_save_param_ex("some socket name", "received", 0, offset, length, "ebcdic", "UserID_param") call.
↧