Question and answer commands

This table lists the specific authorities required for the question and answer commands.

Commands identified by (Q) are shipped with public authority *EXCLUDE. Commands shipped with public authority *EXCLUDE shows which IBM-supplied user profiles are authorized to the command. The security officer can grant *USE authority to others.

Command Referenced object Authority needed
For object For library
ANSQST (Q) Database file QAQAxxBQPY 1 *READ *READ
ASKQST Database file QAQAxxBBPY 1 or QAQAxxBQPY 1 *READ *READ
CHGQSTDB (Q) Database file QAQAxxBQPY 1 *READ *READ
CRTQSTDB 2 (Q) Database files   *READ, *ADD, *EXECUTE
CRTQSTLOD (Q) Database file QAQAxxBQPY 1 *READ *READ
DLTQST (Q) Database file QAQAxxBQPY 1 *READ *READ
DLTQSTDB (Q) Database file QAQAxxBQPY 1 *READ *READ
EDTQST (Q) Database file QAQAxxBQPY 1 *READ *READ
LODQSTDB 2 (Q) Database file QAQAxxBQPY 1,3 *READ *READ, *ADD, *EXECUTE
STRQST 4 Database file QAQAxxBBPY 1 or QAQAxxBQPY 1 *READ *READ
WRKQST Database file QAQAxxBBPY 1 QAQAxxBQPY 1 *READ *USE
WRKCNTINF     *EXECUTE
1
The xx portion of the file name is the index of the Question and Answer database being operated on by the command. The index is a two-digit number in the range 00 to 99. To obtain the index for a particular Question and Answer database, use the WRKCNTINF command.
2
The user profile running the command becomes the owner of newly created files, unless the OWNER parameter of the user's profile is *GRPPRF. Public authority for new files, except QAQAxxBBPY, is set to *EXCLUDE. Public authority for QAQAxxBBPY is set to *READ.
3
Authority to the file is required only if loading a previously existing Question and Answer database.
4
The command displays the Question and Answer menu. To use individual options, you must have the authority required by those options.