Create Q/A Database (CRTQSTDB)

Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The Create Question-and-Answer Database (CRTQSTDB) command allows you to create a new question-and-answer (Q & A) database. More information is available in the Basic System Operation information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.

Restrictions:

  1. This command is shipped with public *EXCLUDE authority.
  2. The user of this command must have *ADD authority to the library in which the database files are located.
Top

Parameters

Keyword Description Choices Notes
QSTDB Q/A database Name, *SELECT Optional, Positional 1
LIB Lib containing Q/A database Name, QUSRSYS Optional, Positional 2
Top

Q/A database (QSTDB)

Specifies the Q & A database to create. When selecting a Q & A database name, the name must be 10 characters or less and must begin with a letter.

The possible values are:

*SELECT
You are asked to specify a Q & A database. If only one Q & A database exists on the system, it is the default.
question-database
Specify the name of the Q & A database in which to create.
Top

Lib containing Q/A database (LIB)

Specifies the name of an existing library that will contain the new Q & A database.

The possible library values are:

QUSRSYS
The Q & A database is created in the QUSRSYS library.
library-name
Specify name of the library to be searched.

Note: The library must exist on the system.

Top

Examples

CRTQSTDB

This command shows the Create a Q & A Database display.

Top

Error messages

None

Top