The following articles mainly describe how to correctly execute DB2 commands. If you encounter DB2 commands in actual operations, but you do not know how to solve them correctly, so the following articles must be good teachers and friends for you.
You can use the z/OS console or z/OS applications for environments that contain multiple execution 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.
Environment product: DB2 UDB
Platform: z/OS
Version: v8
How does one execute the DB2 command?
You can run the DB2 command in the following ways:
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. Run the DB2 command through the application of the apt-authorized. All the DB2 commands can be executed.
6. Use the IFI entation facility interface application. All DB2 commands can be executed.
The above content describes how to execute the DB2 command, hoping to help you in this regard.