Actually after the program was compiled and linked, I was executing it from the command line passing the queue as a parameter, this is where the 2058 occurs.
The queue manager is passed as a parameter from the command line. It is after the execution of the program with the queue manager name as a parameter when I received the 2058.
From the sample programs (imqsput.cpp & imqsget.cpp) with MQSeries, I can get both of them to compile and link with no errors, but at execution every program terminates at the connection to the qu ...