Create DB2 for iSeries databases for schedulers
Create DB2 for iSeries databases for scheduler using DDL or SQL files.
To create DB2 for iSeries databases for scheduler, using DDL or SQL files, use these steps.
- Run the following command to start an interactive SQL session:
STRSQL
- In interactive SQL, enter this command to create the collection with an example name, scheddb:
CREATE COLLECTION scheddb
- Exit the interactive SQL session.
- Change our owner for the new collection to QEJBSVR by executing the following command:
CHGOBJOWN OBJ(scheddb) OBJTYPE(*LIB) NEWOWN(QEJBSVR)
where scheddb is the name of the collection created in the previous step.
Results
The DB2 for iSeries database for the scheduler exists.
Related tasks
Create DB2 for iSeries tables for schedulers Create DB2 databases for schedulers Create DB2 tables for schedulers
Data source minimum required settings, by vendor