Highlighted
Super Contributor.
Super Contributor.
471 views

Winsock protocol failed to translate buffer to socket0 when buffer contains backslash

Hi,

I'm trying to send the below TCP buffer to our TIBCO interface (the buffer was provided by dev team). I have parameterized this data in the script. But I'm getting error 9013 Unable to transfer buffer. When I verified each special symbol in the buffer I found it is the backslash "\" between FNAME and LNAME which cannot be translated by LR. I have tried putting escape characters i.e. \\ but same error.

please can anyone guide what could be wrong here?

TMTMAL003012MTTMTRECEIPT00400221005019TEST@MAIL.COM006003USA007014FNAME\LNAME08/17/2016 100.00011011 25.00012011 125.00013011 0.00015003USD017011 100.00018003USD019015NAME1 NAME2MONTVALE007NJ, USA039008MTUSTOUS10:28:2904NAME1 NAME20308MONTVALEUNITED STATESTEST@MAIL.COMUS Dollar116016

Thanks

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Re: Winsock protocol failed to translate buffer to socket0 when buffer contains backslash

Did you use EBCDIC translation in your script and which one? Please specify full text of the error message: it should be something like "Error : Unable to translate buffer to .... Error code : ..."

0 Likes
Highlighted
Super Contributor.
Super Contributor.

Re: Winsock protocol failed to translate buffer to socket0 when buffer contains backslash

Hi,

Thanks for your reply.

In recording options, EBCDIC  translation is set as NONE.

The error I'm getting is - Unable to translate buffer to socket0. Error code : 9013

The thing is I have not recorded this script from any application. I have just created an empty Winsock script and trying to send the tcp buffer (supplied by the TIBCO team) in a socket. Before posting this, I tried all the translation methods but still got same error.

Thanks

J Jena

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.