Contents
Start a terminal session, or type Alt + F2 to bring up the Linux “Run Command” dialog. Type db2cc to start the DB2 Control Center.
How do I run a db2 query in Linux?
Procedure
- Start the command line processor, and set command line processor options. …
- Run SQL statements to query and modify data. …
- Terminate the command line processor, and restart it with a different set of options. …
- Create and call a stored procedure.
How do I run a db2 command in Unix?
You can also invoke the command line processor in interactive input mode, by entering the following command at a command prompt:
- On OS/2 and UNIX, enter db2.
- On Windows 95 and Windows NT, enter db2cmd, then enter db2.