exitname (&ExitParms);
Declare the parameters as follows:
MQWXP ExitParms; /* Exit parameter block */