Issuing commands from the z/OS console

You can issue commands to DB2® subsystem from the z/OS® console.

About this task

Begin general-use programming interface information.More than one DB2 subsystem can run under z/OS. From the console, you must add a prefix to a DB2 command with special characters that identify the subsystem that the command is directed to. The 1 - 8-character prefix is called the command prefix.

The command prefix of a DB2 subsystem is specified by the value of the COMMAND PREFIX field on the DSNTIPM installation panel. The default command prefix is a hyphen character concatenated with the subsystem name.

Procedure

To issue commands from a z/OS console:

Specify the command prefix for the DB2 subsystem before the command. For example, the following command starts the DB2 subsystem that is uses -DSN1 for the command prefix:
-DSN1 START DB2
End general-use programming interface information.