Topic
  • 2 replies
  • Latest Post - ‏2016-12-16T18:01:22Z by klough
klough
klough
2 Posts

Pinned topic ascii to ebcdic conversion

‏2016-11-11T01:04:36Z |

I have a bit of a bug I cannot quite figure out.

I have an RPG program running on an Iseries. It performs an MQGET on messages from an Windows server. 

If the MQGET is  unsuccessful due to a buffer being too small the buffer is reallocated with enough memory and the MQGET is executed again.

It appears the the first MQGET translates the message from ascii to ebcdit. The second MQGET if executed does not do the transaction.

Is there a way to get the second MQGET to translate from ascii to ebcdic?

 

Thanks

Kevin

 

 

  • fjb_saper
    fjb_saper
    240 Posts
    ACCEPTED ANSWER

    Re: ascii to ebcdic conversion

    ‏2016-12-12T14:38:38Z  

    Did you specify get with Convert options on both gets or only on the first one?

  • fjb_saper
    fjb_saper
    240 Posts

    Re: ascii to ebcdic conversion

    ‏2016-12-12T14:38:38Z  

    Did you specify get with Convert options on both gets or only on the first one?

  • klough
    klough
    2 Posts

    Re: ascii to ebcdic conversion

    ‏2016-12-16T18:01:22Z  
    • fjb_saper
    • ‏2016-12-12T14:38:38Z

    Did you specify get with Convert options on both gets or only on the first one?

    Thank you fjb_saper. I need to save and restore my convert options on both gets.