Environment: Win2K workstation with MQ Client connection to AS/400 running MQSeries V4R2. Two local queues defined on the AS/400 (request and reply). VB app running on workstation creates a message containing an account number and puts it into the request queue. Triggered COBOL program running on AS/400 gets the message, populates several fields and puts a message to the reply queue. The VB app gets the reply message and populates a simple form with the results.
Problem: When the account number is displayed on the AS/400, the account number looks like garbage. When the reply data is displayed in the VB app, it all looks like garbage except for the account number. I tried using MQGMO-CONVERT in the COBOL program but got an error – return code 2110 – MQRC-FORMAT-ERROR which seems to indicate that no conversion is necessary.
I’m at a loss. Does anyone have any idea on what’s wrong and how I can fix it??
Any help would be appreciated.
Problem: When the account number is displayed on the AS/400, the account number looks like garbage. When the reply data is displayed in the VB app, it all looks like garbage except for the account number. I tried using MQGMO-CONVERT in the COBOL program but got an error – return code 2110 – MQRC-FORMAT-ERROR which seems to indicate that no conversion is necessary.
I’m at a loss. Does anyone have any idea on what’s wrong and how I can fix it??
Any help would be appreciated.