About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Troubleshooting
Problem
This document includes information on getting QMR0050 when running or changing a Query Management query.
Resolving The Problem
Query Management User Profiles have a list of every type of SQL statement allowed to be run. By default, the user only has SELECT. To correct the error QMR0050, you should do the following:
1. Issue the STRQM command.
2. Select Option 10.
3. Locate the profile.
4. Select Option 2 on the profile.
5. Page all the way down to Select allowed SQL statements . . . . N
6. Change N to Y, and press Enter.
You will get a list of all the types.
You may choose PF21 to select ALL, or you may select only the needed SQL statements:
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]
Historical Number
529658595
Was this topic helpful?
Document Information
Modified date:
11 November 2019
UID
nas8N1012846
Manage My Notification Subscriptions