DB2 databaseIt is a distributed database solution of IBM. It has a high technical level and plays an important role in the database industry. This article outlines six methods to execute DB2 commands.
Environment product: DB2 UDB
Platform: z/OS
Version: v8
Q: How do I execute DB2 commands?
A: You can run the following DB2 command:
1. Use the z/OS console or z/OS applications for environments that contain multiple DB2 subsystems. If you want to execute DB2 commands in a specific DB2 system, you must use the command prefix, for example,-DSN1 dis group details. All DB2 commands can be executed.
2. Through the IMS console or application, you can run all DB2 commands except Start DB2. A specific command qualifier is also required.
3. On the CICS console, you can run all DB2 commands except Start DB2. Since CICS can only be connected to one DB2 system, the execution of DB2 commands does not require a specific prefix symbol.
4. On the TSO console or DB2I, you can use the following command to open the DB2 command console: tso dsn system (subsystem-name ). You can also run all DB2 commands except Start DB2.
5. You can run all DB2 commands by executing the DB2 command through the application of the apt-authorized.
6. Use the IFI entation facility interface application. All DB2 commands can be executed.